News for hackers. Stuff that matters.
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.
Re:Why is Apple's M1 chip so fast? by grey-area on Monday November 30, 2020 @03:54PM (#25258844)
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.
Re:Why is Apple's M1 chip so fast? by my123 on Monday November 30, 2020 @03:14PM (#25258374)
There's a need to use a native Java runtime instead of one running on Rosetta (like what IntelliJ ships).

Azul Zulu is one.

Re:Why is Apple's M1 chip so fast? by seek3r on Monday November 30, 2020 @03:18PM (#25258417)
It really depends on your workflow. Also see: https://news.ycombinator.com/item?id=25238608
Re:Why is Apple's M1 chip so fast? by olliej on Monday November 30, 2020 @03:14PM (#25258373)
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.

https://www.azul.com/downloads/zulu-community/?package=jdk

Re:Why is Apple's M1 chip so fast? by vmchale on Monday November 30, 2020 @03:08PM (#25258300)
I'm also curious. Phoronix added clash/GHC compiler benchmarks which is relevant to my interests.