Re:Why is Apple's M1 chip so fast?
by burnthrow on Monday November 30, 2020 @03:01PM
(#25258213)
Is anybody here using one of these for serious development, and can comment on performance? On reddit there are some comments about anything Java-related being rather slow for instance.
[ Parent
| on HN ]
Depending on your definition of serious (I'd say it's serious when people pay money for it), I'm doing that and am quite happy with it. I haven't tried building any Java code though, only Go and Swift.
I'm seeing about 2x performance (eyeballing build times) of a recent Intel MBP for compiling a medium size Go codebase, running natively on arm64. The machine is noticeably faster than previous iterations for most tasks.
I've made an effort to avoid emulated code though so am running a patched version of Go 1.16 and tools. Not all tools have officially supported native versions yet, but the performance is definitely there.
Re:Why is Apple's M1 chip so fast?
by thoughtsimple on Monday November 30, 2020 @10:37PM
(#25262025)
I have the Azul JDK working but I haven't really done much with it. Been side-tracked by ffmpeg, QEmu and SimpleVM. But I plan to do some testing soon.
There's a need to use a native Java runtime instead of one running on Rosetta (like what IntelliJ ships).
Azul Zulu is one.
It really depends on your workflow. Also see: https://news.ycombinator.com/item?id=25238608
If they're still not using a native JVM Java devs will be running Java under Rosetta. While rosetta can run code with JITs the performance is nowhere near AOT perf (for many reasons)
Re:Why is Apple's M1 chip so fast?
by thoughtsimple on Monday November 30, 2020 @10:38PM
(#25262034)
You can get M1 native Java JDK from Azul.