News for hackers. Stuff that matters.
Re:Show HN: Lunatic – Actor System for Rust/WebAssembly by nahuel0x on Friday November 20, 2020 @09:39AM (#25160803)
This is the way forward. A wasm-instance-per-actor architecture enables:

- Actor prioritization

- Actor pausing

- Killing actors at arbitrary points

- Actor serialization / migration

- per Actor GC (internal to them)

- Multiple languages

- Inter-actor/host protected shared memory in addition to message passing

Has the potential to be better than Erlang and much, much better than Go.

Re:Show HN: Lunatic – Actor System for Rust/WebAssembly by dnautics on Friday November 20, 2020 @12:00PM (#25162317)
> Has the potential to be better than Erlang

what's the overhead of a wasm instance?

Re:Show HN: Lunatic – Actor System for Rust/WebAssembly by ReactiveJelly on Friday November 20, 2020 @03:20PM (#25164501)
Author claims 4 KB for a stack page here: https://news.ycombinator.com/item?id=25163677
Re:Show HN: Lunatic – Actor System for Rust/WebAssembly by cutemonster on Friday November 20, 2020 @04:40PM (#25165363)
What about Erlang?

4k sound like not that much to me? Imagine a server with 1M concurrent connections, could it need just 4G? (Plus lots of overheard. And without heap)

Re:Show HN: Lunatic – Actor System for Rust/WebAssembly by nahuel0x on Friday November 20, 2020 @04:46PM (#25165444)
Erlang minimum process memory (heap+stack) is about 2472 bytes in 64bit systems.
Re:Show HN: Lunatic – Actor System for Rust/WebAssembly by e12e on Friday November 20, 2020 @06:08PM (#25166217)
So 2.5k vs 4k?