by coderat » Mon May 14, 2018 2:05 pm
Java was mean to free programmer from garbage collection. It works may be for some applications, but not for all.
According to Oracle paper Java7 can't utilize more than 3GB on 64-bit. I tried and didn't get more.
Discovered Emulator problems by me are related to disassembler in first place. Sequential algo disassembling 16MB ARM firmware hits 1GB memory usage and (after hard attempts) no way to fix without giving up OOP or reducing performance by >100x.
And firmware grows and disassembler badly need more features.
=> Java is bad choice for such jobs.
P.S. Seems functional language elements like local variables, lambdas, etc is a big challenge for GC-based Java language.