Bernard Kolobara – Lunatic - Erlang-inspired runtime for WebAssembly - Rust Vienna May 2023

Discover Lunatic, an Erlang-inspired runtime for WebAssembly and Rust, featuring lightweight processes, faster development, and scalability, perfect for building concurrent and fault-tolerant applications.

Key takeaways
  • Lunatic is an Erlang-inspired runtime for Rust that allows for lightweight processes and faster development.
  • Lunatic processes are comparable to threads, but with better performance and separation.
  • The runtime provides a virtual machine that allows for separate heaps, stack, and state for each process.
  • Processes communicate with each other through message passing, which allows for easier maintenance and fault tolerance.
  • Lunatic is designed with concurrency in mind, allowing for thousands of requests to be handled simultaneously.
  • The runtime provides a supervisor that manages processes and handles errors, making it easy to build scalable and fault-tolerant applications.
  • Lunatic allows for memory limitation and allocation, making it suitable for resource-constrained environments.
  • The runtime provides a WebAssembly-based implementation, making it compatible with modern browsers.
  • Lunatic is designed to work with the Rust ecosystem, making it easy to integrate with existing projects.
  • The runtime provides a simple way to write asynchronous code using closures, making it easy to write concurrent code.