Live data from Hacker News

Negotiations Failed: How Oracle Killed Java EE

headcrashing.wordpress.com

471–480 of 526 posts

Re: Negotiations Failed: How Oracle Killed Java EE

#471
post #64

Earlier quoted context omitted.

I bet that in 5 years Kotlin will have as much market as other alternative JVMs languages have today. And regarding Google, Kotlin is not among the beloved ChromeOS and Fuchsia languages. So it depends very much on their internal politics.

Is there any official language for ChromeOS? I believe it supports Most Android and Linux apps now.

Yes, it is called JavaScript.

Android and Linux apps support is made via containers, aka they are not native to the OS, and isn't supported across all Chromebooks models being sold.

And even then, there are support issues.

Re: Negotiations Failed: How Oracle Killed Java EE

#472
post #52

Earlier quoted context omitted.

Too little too late, and I highly doubt that (5-year-old) Valhalla will deliver even one of the promised features (value types) in the next 3 years. Remember that the original plan was to have all Valhalla features in Java 10. Java/JVM was in the ideal position to dominate the software world for the whole 21th century 15 years ago. Instead they did an IE6 and stagnated for so long that their competitors became plain…

> webassembly [is] eating JVM's cake It's hard for me to take all the "Java is dying" threads seriously when they don't even seem to understand where Java plays. Webassembly ? Really? That's a client-side tech, and 99.999% of Java devs ceded the browser battleground pre-9/11. Java's bread and butter is EAI, ETL, and server-side business application development. Particularly with pieces requiring heavily distributed d…

I'm one of those Node devs who've mostly worked for companies who have never made a profit, and I've recently been exploring Go, Java and C# (.NET Core) given I'm starting to work on more "serious" (or difficult) backends (distributed systems) and am hitting the limits of the language and ecosystem I know. Genuinely curious - why do you think I should give Java my attention over C# or Go?

Re: Negotiations Failed: How Oracle Killed Java EE

#473
post #175
post #46

Earlier quoted context omitted.

Reality is subjective and local. At any given time most developers will neither have much real choice when it comes to technology nor have a longer term perspective. Hence most developers will stick to what they know and what organizational inertia seems the path of least resistance. The comparison to COBOL is good for several reasons.

My first bit of production Java code was an applet that used cobra to talk with COBOL in the Java 1.0 days. When I'm bridging new languages to Java codebases, I always wonder if this is the 'new hotness' I'll be driving next.

CORBA?

Re: Negotiations Failed: How Oracle Killed Java EE

#474
post #158

Dumb question... Wouldn't it be possible to fork the namespace to something like javax -> jawax (or java->borneo as someone suggested) and then patch the JVM to alias the javax package to the would-be jawax package (or borneox or whatever) ?

You would probably rather write a JVM agent that changes the class references. Eclipse will almost surely fork the namespace to something jakarta related.

Which turns to to be quite easy:

https://twitter.com/rafaelcodes/status/1125032183167688706

Re: Negotiations Failed: How Oracle Killed Java EE

#475
post #262

Earlier quoted context omitted.

Do you mean with Excelsior JET? I tried to compile an application totaling 157MB in jars to native with it just now. After compiling for 2 hours it was still only 15% done. I had aggressive optimizations disabled.

Excelsior JET is only one among many. As for your problem, it looks very strange to me, only similar to compiling C and C++ on underpowered hardware.

Which are the other ones? I know of GCJ, which is dead, and Graal, which from what I hear takes hours to compile small programs.

Re: Negotiations Failed: How Oracle Killed Java EE

#476

Earlier quoted context omitted.

Go uses tri-color mark-and-sweep gc that runs concurrently and its latency is extremely short compared to .net and java (probably still not short enough to be put in the critical path of hft order processor tho). Edit: I'm also confident you can ensure Go’s gc doesn’t run when you don’t want it to so there’s that.

This may be true but conventional wisdom against using anything GC'ed for real-time applications (like HFT or aerospace stuff) is going to mean even if go's gc is good enough, using any gc'ed language for these apps is going to be extremely rare for years if not decades. Seems far more likely that rust will chisel away at that market than golang or any other gc'ed language.

Many HFT firms have used Java for ages. If you know what you’re doing you can avoid GC. Also, not everything needs to be realtime.

Re: Negotiations Failed: How Oracle Killed Java EE

#477

Earlier quoted context omitted.

Spring is built on the good parts of JEE; servlet api, jdbc, etc.. so it's not immune to churn in this area.

A lot of the good parts of the JEE were inspired by Spring, which can go ahead with ideas without needing to go through the JCP. There's a cyclical relationship between them. Disclosure: I work for Pivotal, we sponsor Spring.

In the early 2000s I did a lot of work with ATG Dynamo which was a proprietary Java app server. It was light years ahead of the top competitors (WebLogic or WebSphere back then). It had dependency injection, clear separation of logic and UI, a handy runtime inspector GUI that let you inspect the state of all your container-managed objects including user sessions i an real-time and modify them. The original J2EE borrowed heavily from it and ruined it.

Re: Negotiations Failed: How Oracle Killed Java EE

#478

Earlier quoted context omitted.

The contention was that other languages had a “lot to catch up” with Java because it’s been around for 25 years. So how haven’t other statically typed languages “caught up”? In fact, Java is so far behind C# with true Generics, LINQ - not the syntax the entire linq expressions -> expression trees -> runtime providers that can parse the trees and translate it to a destination syntax, etc. it’s laughable. Can anyone sa…

afaik c#'s "true generics" as you call it imposes a runtime cost due to code generation because the compiler doesn't necessarily know all specializations aot. haven't looked into it in a long time though. as far as ides go, i vastly prefer intellij to visual studio.

It’s a one time cost the first time you instantiate the type

https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...

Re: Negotiations Failed: How Oracle Killed Java EE

#480
post #463

Earlier quoted context omitted.

So you have forgotten about the threads that you responded to where I was advocating for native desktop apps over cross platform apps, where I spent years doing C++/MFC, Like this quote: But seeing that I like the optionality of working for any of the dozens of companies that have job openings continuously for JavaScript, C#, C, C++, and even Python, I think I’ll stick with those....

It is hard to keep track of all answers, just complains about being stuck in tech X and how .NET has saved your life from whatever. Which yeah, might have been the point, but hardly a picture of the global job market.

You mean it’s hard to keep track, even though you’ve responded to the posts?

But if the post is concerning Java wouldn’t it be kinda of silly to bring up C++, C, Python, and JavaScript/TypeScript?

What I did say that it was foolish from a long term career perspective not to see where the market is going and stick with a platform that even the vendor said is maintenance mode as far as .Net Framework and Windows Forms - or even Windows only development period. If I did that, I would still be writing C++/MFC apps and VB6.

My animus toward Java is more that Oracle is a horrible steward of the platform and before that Sun was.

Post reply on HN