It really depends on the task/job at hand...
If you're in need of heavy computational loops, compiled code will work best...
If you need a simple set of services that do generalized work, a bytecode/jit language will work better..
I/O constrained, usually it's not the language but the structure, an async event loop is better. Regardless of language.
Speed of development, or one off, rarely used, reach for scripting languages...
For the most part, if you don't need to service many thousands of simultaneous users... Use what you're comfortable with.