3 ms·
> I'm certain that it is trivial for a C++ programmer to code in Java. as someone that knows both, I've made this assumption before too it has turned out to b
by blibble 2y ago
> I'm certain that it is trivial for a C++ programmer to code in Java.
as someone that knows both, I've made this assumption before too
it has turned out to be not true on almost all occasions
- joas_coder 2y agoThat's fair! I would assume that was due to your comfort zone and muscle memory. Not because you found Java to be harder than C++. Usually a higher level language is easier to grasp, handle and manage than a lower level one.
- blibble 2y agoI think their complexity is very different C++ the language is exceptionally complicated, but the ecosystem is relatively simple Java is the opposite, the language itself is simple enough but the ecosystem is humongous (spring/J2EE, maven/gradle, n^2 logging frameworks/adapters, application servers, anything involving classloaders/annotation processing/dynamic bytecode manipulation, ...) syntactically they look similar, but other than that there's not much in the way of transferable skills between the two
- joas_coder 2y agoTotally agree! Because of the zero-garbage and no-gc requirement we don't even use the JDK. We use Java as syntax language and write everything from scratch, even the data structures (java.util.HashMap produces garbage). So the bloated Java ecosystem does not affect us too much.
- blibble 2y agoyeah we're the same, our java looks very much like C unfortunately all the data from outside our strange world still needs to be brought in and cleaned up :)