I think the issue was by ths following , New languages come into existence for a number of reasons: as an exercise for the inventor; because of perceived shortcomings in existing solutions; to introduce new ideas that are awkward or impractical to transplant into existing languages.
Best web-programming language for math-problems generator
this one helps. Ruby is a powerful language and could certainly be used to solve your problem. While I'm a fan of it that doesn't necessarily make it a great fit The Rails framework is an excellent guide to writing well structured web apps based around a REST model, typically backed by some form of SQL database. To my uninformed understanding of your problem this sounds like a good match for what you want to do. There's nothing I consider particularly "view oriented" about a Rails app compared to any other web application. For example I would still suggest Rails for a project which only intends to expose a RESTfull API and does not serve any html pages.
seems to work fine I have watched an interview with Bjarne Stroustrup where he claims C++ has contributed against global warming, since the language is so efficient and fast compared to some others I won't name, since I really hate language wars anyway. I don't know if that answers your question. Nice one, though.
Problems with usually short solutions to test in a programming language