Settings

Theme

Erlang ARM32 JIT is born

grisp.org

170 points by plainOldText 3 months ago · 19 comments

Reader

davidw 3 months ago

A Tcl article and an Erlang article - good morning!

I miss working with Erlang especially, but it's also certainly kind of a niche thing. Other languages are faster and have more effort being put into them.

IsTom 3 months ago

I don't have any experience with ARM, but from what I've seen people write, isn't 32-bit ARM discontinued after v7?

  • ferriswil 3 months ago

    Their motivation is explained in the first post of the series[1]

    [1] https://www.grisp.org/blog/posts/2025-06-23-jit-arm32.1#why-...

  • crote 3 months ago

    There's still a huge embedded market!

    Plenty of microcontrollers have a single-digit number of Cortex-M cores and memory/flash counted in the megabytes. It'll be decades until that market reaches the multi-gigabyte point, so why bother wasting a whole bunch of memory on 64-bit pointers?

    I'm not quite sure why you'd want to run Erlang on it, but the hardware exists.

    • derefr 3 months ago

      > I'm not quite sure why you'd want to run Erlang on it, but the hardware exists.

      https://nerves-project.org/#features has a decent pitch for why. (Most of the features listed here aren't features of Nerves-the-Elixir-IoT-runtime-codebase per se, but rather benefits of Nerves-the-toolchain enabling you to easily build lean, embedded Erlang [on Linux] firmware images.)

    • diegoperini 3 months ago

      > I'm not quite sure why you'd want to run Erlang on it, but the hardware exists.

      Erlang is invented before IoT was a thing to facilitate distributed computing for telecommunication in a highly reliable manner. It makes perfect sense to adapt it for driving fleets of cheap IoT devices.

  • bobmcnamara 3 months ago

    No, it's a supported ISA on most v8-a and I believe all v8-m implementations.

    It's the only ISA on Cortex-A32, but not sure if any mainstream chips were ever produced with that core.

    (Depending on course if you want to get specific about Arm/Thumb/Thumb2, I lumped them all together above).

  • masklinn 3 months ago

    That does not mean ARM32 implementations and uses are stopping any time soon. Afaik arm hasn’t even obsoleted armv6, although Linux distributions are starting to drop it.

  • whizzter 3 months ago

    Doesn't mean that machines won't be built with other chips for a considerable time.

    That said, if you're putting something like Erlang on a chip, aren't one likely to want the extra memory (and performance) of a slightly newer SoC.

    • LtdJorge 3 months ago

      Take a look at their products. Seems like they run bare metal Erlang on embedded devices.

  • 15155 3 months ago

    Cortex-M chips will still be made for decades.

alexisread 3 months ago

Gah, misread that as esp32 JIT, which would be eye opening!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection