Hacker News new | ask | show | jobs
by mister_hn 1988 days ago
In Java, the "write once, run everywhere" is true only if you are in some boundaries.

Java Preferences API are a classic example of this false myth, since e.g. on MacOS it behaves differently than in Windows/Linux.

And ever heard of Native Runtime? If you want to create a native runtime, you just need to do this on the target platform.

So this is very odd to me. GoLang went much further, doing true cross compilation