Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IO in Erlang is faster than many other managed languages, thanks to stuff like IO Lists that are dealt with very efficiently through iovec syscalls (readv, writev).

Then add efficient pattern matching for binary data, and networked servers on the BEAM are the most ergonomic than any other language.

All this stuff that the BEAM offers you out of the box can be replicated in any native language with a lot of boilerplate and ceremony.

Your "Hello, <name>" webapp in Rust will probably need two allocations and a string concatenation, while on the BEAM, if constructed as an iolist, it's a single writev syscall, using a static "Hello, " string and a shared "<name>" reference from the parsed HTTP data.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: