wanton7
Trending in Discussions
Hey there,
It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
Hey folks,
I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
Hi there! :wave:
@frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
Hi everyone,
I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New
Other Trending Topics
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
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
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
(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
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #elixirconf-us
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #hex










Showing Posts 1 to 6- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
michaelvigor
This has an updated website now: https://lunatic.solutions/
Similar to Lumen, but instead of Erlang compiling to WebAssembly, this is just inspired by Erlang, and written in Rust.
bkolobara
Hi! I’m the author of Lunatic and a huge Elixir fan
.
I started working on Lunatic when I moved to Rust and missed the features from the BEAM world. Especially being able to just spawn a lightweight process that is self isolated. It’s impossible to do this in Rust using just libraries because all the code shares the same memory space.
I came up with the idea to use WebAssembly instances as process replacements. Contrary to Lumen, LAM and other implementations, Lunatic doesn’t run inside one WebAssembly instance, but runs thousands of instances as lightweight processes.
This gives Lunatic also a bit more powerful per process isolation than you get on the BEAM. E.g:
The project is still in its early stage and not all features are implemented yet, but we got initial funding from YC and are working full time on it.
Brainiac
Would it be feasible to use this runtime for, say, writing client side applications? So long as the target can run the executable? For example, writing the core of an app in rust, compiling to wasm and distributing it with the executable with platform specific wrappers like electron ?
bkolobara
At the moment we don’t provide any APIs for GUIs (or wrappers) and solely focus on backend applications, but it could be an addition in the future.
The runtime works on Windows, MacOs and Linux (x64 & arm64).
gaolaowai
My heart is exploding with happiness to see Lunatic.
I’ve been trying to find a reason compelling enough for me to learn Rust, and this just might be it.
At my company, I’ve written a distributed framework in Python that uses MQTT as a message-passing mechanism between python nodes… we do datascience/AI stuff, but I’ve been looking for something that has the model of BEAM and speed of C, and have several times started architecting what it is you’re doing with Lunatic. My take on it would have been writing a microruntime to execute FreeRTOS code (I have a background in writing microcontroller firmware for some medical stuff). I’d recently been looking at the Cosmopolitan C library to compile to bare-metal code, then executing that inside of microVMs.
Lunatic seems like a better direction to go for easier deployment in different cloud environments.
Thanks for putting Lunatic together, and I look forward to contributing in the near future.
Rich_Morin
This seems like an interesting notion. They write code in Rust, compile it into WebAssembly, and then call on some infrastructure that emulates the Erlang/OTP environment.
Functional Futures: Lunatic with Bernard Kolobara
-r