5 ms·
Nice condesending tone you have there. Where Java will never be seen: - equipment in hospital operating rooms - aircraft flight control systems - anywhere wher
by thaanpaa 4y ago
Nice condesending tone you have there.
Where Java will never be seen:
- equipment in hospital operating rooms
- aircraft flight control systems
- anywhere where you need clock cycle level precision (e.g. scientific measurement)
- any system where there can be inopportune moments when garbage collection absolutely can't start
You mentioned speed of dynamic allocation.
First of all, there are standards which prohibit any kind of dynamic memory allocation. Car computers are a popular example.
Second of all, what do you think JVM uses under the hood? Magic?
That last paragraph kind of suggests to me that you have never needed to develop any kind of large Java EE project. For any team that I've worked with, it has usually taken from weeks to months to first research and then configure an acceptable stack that actually plays well together. Think Apache Web Server, JBoss (that shipped with some version of Hibernate), DB connection pooling, all kind of caching, dependency injection, interfacing with the outside world, web frontend tech, socket connections; and whatever build tools happened to be in fashion at that time (mvn, gradle and there plugin ecosystems). And then the truckload of XML that goes with getting it all to work together.
And then you have to sort out all the "The server JVM has run out of PermGen space", and "totally getting crushed under CPU load when the garbage collector decided to fire away at the worst possible instant", and the "weird exceptions under the hood that give you absolutely no clue why they are happening", and the "JNDI DB pool isn't releasing connections", and the "requests aren't getting distributed to workers correctly" and all the other fun stuff to work out. Usually when there are 10000 users hitting your service all at once, and after 3 hours of googling you find out that you needed to put ncvd:if="cfrog" instead of ncvd:fi="frogc" in mfnbooblah.xml, which by the way since version 47 or gobbldygook needs to be put in the app folder instead of the resources folder. Because that's obviously more betterer and enterprisier.
Do you even talk about Java?