Re:Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssem...
by withtypes on Saturday March 06, 2021 @12:52PM
(#26369133)
Fly.io is doing cool stuff! We will try out their platform to deploy Lunatic to the edge.
Re:Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssem...
by amelius on Saturday March 06, 2021 @11:16AM
(#26368378)
> lightweight isolated computation
Sounds good, as long as we can have structural sharing between processes on the same CPU, for performance.
Re:Launch HN: Lunatic (YC W21) – An Erlang Inspired WebAssem...
by otabdeveloper4 on Sunday March 07, 2021 @01:09AM
(#26373586)
No offence, but points 1-4 are the year 2000's solutions to 1990's problems.
Programming is an infuriatingly obtuse and, well, stupid discipline.
1) lightweight isolated computation - VMs, containers and the lot.
2) asynchronous io - user space green threads, epoll, event loops and the likes to have single OS process handle 1000s of connections
3) distributed - scale up compute + have it run close to user. Cloudflare workers, edge@lambda, fly.io. They’re all moving to this direction.
4) polyglot micro services - rather than one big thing written in a single language, many small things that talk to each other via HTTP & grpc. They can be independently changed and scaled up without having to restart the whole system.
Erlang + webassembly are a great fit for this paradigm.
Seeing the success of fly.io, Cloudflare workers and other cloud providers, this definitely has legs and I would love to try it out.