is the problem real UI vs API, or is it more about language choice. That is, was JavaScript the pain point?
For you could write the UI in your backend language, would you have made a different decision? I ask, bc, this is a big reason why I'm excited by webassembly.