Erlang ARM32 JIT is born

(grisp.org)

158 points | by plainOldText 20 hours ago

3 comments

  • davidw 17 hours 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.

    • 5- 16 hours ago
      and 32-bit arm (nothing wrong with it; just like tcl and erlang, it's alive and well)
    • felixgallo 17 hours ago
      For a certain definitions of faster
    • bmitc 10 hours ago
      Don't Erlang and Elixir have a lot of effort being put into them?
  • IsTom 20 hours 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 20 hours 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-...

      • snvzz 9 hours ago
        For their real motivation[0], click on hardware at the top of the page.

        Their existing hardware is aarch32. It really is that simple.

        0. https://www.grisp.org/hardware

    • crote 18 hours 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 15 hours 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 17 hours 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 18 hours 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 20 hours 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 20 hours 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 19 hours ago
        Take a look at their products. Seems like they run bare metal Erlang on embedded devices.
    • 15155 14 hours ago
      Cortex-M chips will still be made for decades.
  • alexisread 19 hours ago
    Gah, misread that as esp32 JIT, which would be eye opening!