mat-hek

mat-hek

Membrane Core Team

Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn:

This is possible because it now builds on a very stable foundation: the BEAM itself. Until now, Popcorn was based on AtomVM, a tiny Erlang VM designed for limited environments such as microcontrollers or WASM.
It turns out WASM is not as limited as we thought, and it can run the BEAM just fine! That means Popcorn is now compatible with the BEAM and can run the latest Elixir/OTP versions.
The switch also gave us better stability and performance, while the VM fits in 1 MB gzipped and has the potential to shrink even further.

More in the blog post: Popcorn 1.0: Moving from AtomVM to OTP/BEAM

Also, there’s a new website :wink:

Happy hacking!

Showing Posts 1 to 10

arcanemachine

arcanemachine

:exploding_head:

This seems like it could open up a lot of interesting possibilities!

c4lliope

c4lliope

Are there any other Nix users here who are blocked at the point of getting the precise patch version of OTP?

This has happened again and again.
popcorn machine is out of order.

Through the nix-beam-flakes package:

   error: attribute '"29.0.6"' missing
   Did you mean one of 24.0.6, 29.0.1, 29.0.2, 29.0.3 or 29.0.4?

Through normal nixpkgs BEAM:

** (Mix) Packaging failed: %{code: "unsupported_otp", runtime: "29.0.6", host: "29.1.2"}
** (Mix) Initial Popcorn cook failed
mat-hek

mat-hek OP

Membrane Core Team

Can you try 29.0.4?

lpil

lpil

Creator of Gleam

Hello! The “the ten-second boot was an easily resolved issue[2]” hyperlink doesn’t work.

jgonet

jgonet

Popcorn Core Team

Seems like our CRM doesn’t like footnotes. They’re all at the bottom.

sntran

sntran

This is cool! I looked at Popcorn when it was on AtomVM and that did not fit my need, so I started building BEAM.com. Glad that WASM is now a good candidate to make the BEAM more accessible.

liamtsuyoshi

liamtsuyoshi

I’m using NixOS and I’ve got the same issue as yours.

i-n-g-m-a-r

i-n-g-m-a-r

Very cool :slight_smile:
Do you have a list of excuses we can use to play with Popcorn?

mat-hek

mat-hek OP

Membrane Core Team

Thanks for reporting! The VM version in the error (29.0.6) is the version that Popcorn runs. As long as you have OTP 29.0.* on the host, it should work as expected. The fix to make this more clear is underway. Support for more OTP versions will come with the next release.

mat-hek

mat-hek OP

Membrane Core Team

Not really, but if you figure something out we can put it in the docs :sweat_smile:

Where Next? Top

Trending in News & Updates Top

mat-hek
Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn: This is possible because it now builds on a very stab...
New
bartblast
Hologram UI is in the works - the official component library for Hologram - and the waiting list is now open. A common reaction when I m...
New
bartblast
This thread is for updates on the Hologram website (docs, new pages, roadmap, feature status, etc.). You can watch this thread to get no...
New
mandar1045
Stampede 1.2 is out, and I finally got to try it at a bigger scale. What’s new --find-limit: instead of a fixed number of users, it add...
New
uzaydurdu
Hey Elixir folks, I’ve been working on Xenia 0.2.0, and it’s nearly ready. This release focuses on performance, easier integration, and...
New
rodloboz
Hi all, I’ve just released Sake 0.5.0, and I want to explain better what it’s for, because I think many Phoenix apps can use it now. Wh...
New
Potions
I’m working to make Potions the easiest way to deploy Elixir applications, and the next step in that journey is live: you can now bring y...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews