Hacker News new | ask | show | jobs
by aleprok 4933 days ago
I know it's not always about the language choice, but it does matter too. Java for example requires easily 2 to 20 times more memory compared to c++? So why do we exchange we few fine lines of code for that memory consumption and easier cross-platform distribution?

Ugh.. Polling can seriously eat some resources for activity which really does not need to happen. :P

The worth of a programmer is completely another topic.

1 comments

I disagree. If you're using Java properly then your data structures should be similar to that of C++. I've programmed assembly language, byte level machine code, C, C++, Java, C#, etc. They're all fundamentally the same. You can always use various compilers to dump to native too to overcome interpreter problems. Technique is what matters.
Duh. Of course you can use compilers to dump to native, but then why no-one is doing it? They lose the power of the jre cross-platform support, which is pretty much all of the hype of Java and argument of pretty much every developer who I have asked why they are using Java for the project instead of C++.

Yeah. I have used asm, c, c++, java, php, python, etc too. Though C# is something I will never touch because of the monstrosity developer behind it.