4 ms·
I guess the real reason for a scripting language programmer to go Java is that you want to use the JVM? Otherwise, wouldn't it be simpler to just profile to fi
by berntb 10y ago
I guess the real reason for a scripting language programmer to go Java is that you want to use the JVM?
Otherwise, wouldn't it be simpler to just profile to find the slow places in your existing code -- then rewrite those in C? You can use the scripting language for most code, where it shines -- speed of development. And still get a good speed of execution.
If you need even more speed (you wouldn't really get less memory usage!), then sure... Java is one way to go for a Python/Ruby/Perl/PHP guy. But... when is it the best choice?
- tyingq 10y agoThe reason could be for employment opportunities. Java is pretty pervasive in non-tech Fortune 500 companies. It's easy to find Java openings, with decent compensation, in cities with a low cost of living.
- berntb 10y agoI had to think about this, which is a bit weird in itself. My attitude is that I hope to choose at least one thing -- the stack or the problem area. If I can do that, I should be quite happy. To not want to leave a geographic location is of course valid choice -- probably often a healthier one than mine, but in this phase of my life, I prioritize doing things I enjoy quite highly. (I would do Windows anyway, if the money was right or I could do it from e.g. Japan. :-) )