TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Firefly – A new compiler and runtime for BEAM languages

245 pointsby mmcclureabout 2 years ago

7 comments

bcardarellaabout 2 years ago
This is a project formerly known as Lumen, which myself and the other core devs presented on at ElixirConf a few years ago: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=uMgTIlgYB-U">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=uMgTIlgYB-U</a><p>A lot has changed since then.<p>The name change came about because we found too many projects named &quot;Lumen&quot; also were launched around the same time or shortly thereafter.<p>Originally I envisioned a path towards creating a new WASM framework to build web applications using Elixir. Since then LiveView has come out and has made this less of a concern for us. While WASM compilation will be possible and we hope to backfill the runtime needs for web development the real focus and interest in this project for me is...<p>WASI compilation. With Firefly we will be able build self-contained binaries that will have all (many) of the benefits building applications with the BEAM and distributed systems. If WASI can run on something you should be able to compile your Elixir applications with Firefly and target your desired chipset.<p>We recently reached a milestone that we are hoping to release a blog post about it in the near future.
评论 #35627093 未加载
评论 #35625444 未加载
katspaughabout 2 years ago
For those who don&#x27;t know (I didn&#x27;t) – BEAM is the Erlang virtual machine.<p>It supports many programming languages.<p>This new compiler&#x2F;runtime targets WebAssembly.
评论 #35628920 未加载
rahimnathwaniabout 2 years ago
Previous discussion (7 months ago, 45 comments):<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32703414" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32703414</a>
rkangelabout 2 years ago
Forget WASI, I&#x27;m interested in this project as a way to efficiently run Elixir on microcontrollers. It&#x27;s a great model for embedded programming (not surprising given that was what it was designed).
评论 #35628561 未加载
评论 #35627437 未加载
rektideabout 2 years ago
Apologies, what is the sell here? Lots of usage instructions &amp; details but why use this vs Beam actual?
评论 #35623170 未加载
评论 #35623156 未加载
martin_aabout 2 years ago
Adobe also released a project called &quot;Firefly&quot;. Not sure if this will be searchable after that.<p><a href="https:&#x2F;&#x2F;www.adobe.com&#x2F;sensei&#x2F;generative-ai&#x2F;firefly.html" rel="nofollow">https:&#x2F;&#x2F;www.adobe.com&#x2F;sensei&#x2F;generative-ai&#x2F;firefly.html</a>
greyboxabout 2 years ago
While I appreciate this is cool project, and I enjoy writing Erlang &amp; Elixir. What benefit is there to being able to run BEAM&#x2F;OTP in the browser?
评论 #35629742 未加载