Re:You can now run WebAssembly on Cloudflare Workers
by tyingq on Monday October 01, 2018 @08:36PM
(#18117944)
True enough, but if you follow the link in GP, it's not really a libc replacement. For example, free() is a no-op. It's a drastically small subset of libc.
Re:You can now run WebAssembly on Cloudflare Workers
by weberc2 on Monday October 01, 2018 @09:39PM
(#18118184)
> libc is battle tested
I'm confused; isn't libc an interface and not an implementation?
Re:You can now run WebAssembly on Cloudflare Workers
by tejasmanohar on Monday October 01, 2018 @11:51PM
(#18118685)
OP probably means glibc
http://cs241.cs.illinois.edu/malloc.html
There is (or at least was) a score board you can compare against. By the end of the MP, there are usually handful beating libc.
The thing is.. libc is battle tested, so I'd always trust it over a hand rolled solution. It's always interesting to see improvements though (usually at a cost).