Fork me on GitHub
#off-topic
<
2020-06-23
>
orestis08:06:25

OK, now with ARM Macs on the way — what’s the state of JDK on ARM? It seems that there are builds out there for Linux.

Mno11:06:43

I’m not so knowledgeable on the subject, but ARM Macs are going to suffer for “normal” development in most regards, right? Because they’ll have to emulate stuff to be compatible?

orestis12:06:27

I wouldn’t jump on it on day 1, for sure — the hope is that Homebrew and the like would start cross-compiling and produce “fat” binaries with both x86 and ARM support (Apple calls those “Universal” binaries).

orestis12:06:11

It all depends on what kind of apps you use. Normal web development: I’d expect JVM and Node to produce Mac ARM binaries quite soon. iOS stuff, obviously there’s going to be support. It’s the long-tail of niche tools that are going to end up being emulated until devs or their CI starts supporting ARM.

Conor12:06:42

Apple's track record for hardware type stuff is 'not brilliant', and making a performant ARM solution seems difficult (AWS fell on their face with Graviton AFAICT)

Conor12:06:01

I do hope they manage it though because it would make Intel less complacent

orestis12:06:27

They do have their whole iOS stuff on custom silicon so I think their track record is decent 🙂 — interesting about Graviton: I never thought about it but if ARM is gaining ground we’ll start seeing better compilers too. I’m clueless about the modern ISAs so no idea really 🙂

Conor13:06:45

Ah yes, I forgot about iPhones, etc.! 😄 Maybe they will manage it in the more general case, it will be interesting to see

borkdude13:06:58

Would this also open up the possibility to compile GraalVM apps on macOS ARM and then run on Raspberry Pi? Or would these binaries look different, due to a different OS?

orestis13:06:29

@borkdude probably different OS: different binary. Much as I would like to see Darwin on raspberry pis, I don’t think anyone is doing the necessary driver work…

dharrigan16:06:26

(╯°□°)╯︵ ┻━┻

dominicm14:06:56

Void Linux, and other distros, maintain a great many patches to make projects work on arm.

dominicm14:06:09

Hopefully this will ease their burden.

dpsutton14:06:25

luckily being largely jvm based we don't have much to worry?

dpsutton14:06:38

there are already battle tested ARM jvms i believe?

andy.fingerhut18:06:19

I do not know the status of JVM on ARM, but I wouldn't be surprised if JVM on Intel has had a lot more development hours for JIT compilers put into it, so far.

borkdude14:06:05

GraalVM native-image should also work for ARM. People already compiled babashka for ARM a couple of times

Cory14:06:38

i had the chance to test out the M6g instances in preview and had no issues with either JVM or Graal builds

borkdude14:06:23

@goedelsoup Btw, you are the guy who made the clj-kondo PR for github/super-linter right? Thanks!

Cory15:06:37

yup! i'm really looking forward to using it and it was our only blocker.

seancorfield17:06:06

When I started with Macs, they were based on 68000 chips, then Apple switched to RISC, and then they switched to Intel. Each switchover was relatively painless, considering how fundamental each shift was.