I’m looking for a language that, while being flexible and very light on memory usage, is still easy to use (if not PHP, JavaScript or Python, I know those already). I have to write a command shell, so that users who log in by SSH are limited to this app. What language should I choose?
Share
Since you want to "sandbox" users after they are logged in, an important aspect is security: You have to make sure there is no way for a user to "break out" of the sandbox. As a consequence I would vote against using a language where you have to manage memory by yourself, as it is very easy to make mistakes which have security implications. So no C or C++. I also would not use PHP for security reasons.
Python sounds most appropriate.