Most active commenters
  • pjmlp(3)
  • Joel_Mckay(3)

←back to thread

56 points mghackerlady | 12 comments | | HN request time: 0s | source | bottom
Show context
larsbrinkhoff ◴[] No.45989967[source]
What happened to

1. Sun's JavaStation, 2. ARM's Jazelle, ??? 3. Profit!

replies(4): >>45990000 #>>45990288 #>>45990667 #>>45993727 #
dehrmann ◴[] No.45990000[source]
It's more like JITs got good.
replies(1): >>45990334 #
ck45 ◴[] No.45990334[source]
I never understood why AOT never took off for Java. The write once run anywhere quickly faded as an argument, the number of platforms that a software package needs to support is rather small.
replies(5): >>45990420 #>>45990438 #>>45990583 #>>45990837 #>>45994530 #
1. pjmlp ◴[] No.45990438{3}[source]
Because developers don't like to pay for tools.

https://en.wikipedia.org/wiki/Excelsior_JET

https://www.ptc.com/en/products/developer-tools/perc

https://www.aicas.com/products-services/jamaicavm/

It is now getting adopted because GraalVM and OpenJ9 are available for free.

Also while not being proper Java, Android does AOT since version 5, mixed JIT/AOT since version 7.

EDIT: Fixed the sentence regarding Android versions.

replies(3): >>45990522 #>>45991201 #>>45992006 #
2. nikanj ◴[] No.45990522[source]
Developers pay for tools gladly when the pricing model isn’t based on how much money you’re making.

I’m happy to drop a fixed 200e/mo on Claude but I’d never sign paperwork that required us to track user installs and deliver $0.02 per install to someone

replies(3): >>45990755 #>>45992082 #>>45992332 #
3. jacquesm ◴[] No.45990755[source]
Especially not if those kind of contracts don't survive an acquisition because then your acquisition is most likely dead in the water. The acquirer would have to re-negotiate the license and with a little luck they'd be screwed over because they have nowhere else to go.
replies(1): >>45992379 #
4. pjc50 ◴[] No.45991201[source]
You don't have to pay for dotnet AOT.
replies(1): >>45992941 #
5. rjsw ◴[] No.45992006[source]
You could do AOT Java using gcj, it didn't need commercial tools.
replies(1): >>45992907 #
6. fithisux ◴[] No.45992082[source]
I think what they do is correct. We also need to get paid this way.
7. Joel_Mckay ◴[] No.45992332[source]
Depends on the use-case, anyone that has seen the commercial host scaling cost of options like MATLAB usually ported to another language. lesson learned...

Commercial licensing is simply a variable cost, and if there is another FOSS option most people will make the right call. Some commercial licenses are just Faustian bargains, that can cost serious money to escape. =3

8. Joel_Mckay ◴[] No.45992379{3}[source]
I have seen worse, where people updated the EULA 6 months after being paid $14k/seat.

Now it is FOSS all the way... lesson learned... =3

https://www.youtube.com/watch?v=WpE_xMRiCLE

replies(1): >>45994061 #
9. pjmlp ◴[] No.45992907[source]
If we ignore gcj was never production ready, and basically the only good case that Red-Hat sponsored was to compile Eclipse, which was usually slower than using the JIT anyway.

And that around 2009, most of the team left the project, some went to OpenJDK, others elsewhere, while GCC kept it around because gcj unit tests stressed parts of the GCC that weren't tested by other frontends, until the decision came to remove it completly.

As side note, I expect a similar outcome to gccgo, abandoned since Go added generics support.

10. pjmlp ◴[] No.45992941[source]
Actually you do indirectly, via Windows licenses, Office, Azure, Visual Studio Professional and Ultimate licenses, C# DevKit.

Also you are forgetting AOT first came with NGEN, .NET Native, commercial, and on Mono side, Xamarin had some price points for AOT optimiztions, if I recall correctly.

However this is a moot point, you also don't pay for GraalVM, OpenJ9, or Android.

11. jacquesm ◴[] No.45994061{4}[source]
That is something that I never understood, that that's even legal. You enter into an agreement (let's call it a contract, because that's how the other side treats it) and then, retroactively they get to pull the rug right out from under you.

I made the 'FOSS all the way' decision somewhere in '96 or so but unfortunately our bookkeeping system and our own software package only worked on Windows (this was an end-user thing) so we had to keep one windows machine around. I was pretty happy when we finally switched it off.

The funny thing is that I wouldn't even know where to start to develop on/for mac or windows, Linux just feels so much more powerful in that sense. Yes, it has some sharp edges but for the most part it is the best thing that could have happened to the world of software development.

replies(1): >>45994442 #
12. Joel_Mckay ◴[] No.45994442{5}[source]
I have done native cross-platform projects in https://wxwidgets.org/ and https://quasar.dev/ . Fine for basic interfaces, but static linking on Win64 gets dicey with lgpl libraries etc. YMMV For iOS targets, one must use a MacOS environment with a non-free Apple developer account.

Personally, I like Apache 2.0, and standard quality of life *nix build tools. Everything Windows runs off a frozen VM backing image KVM COW file now, as even Microsoft can no longer resist the urge to break things. =3