Earlier quoted context omitted.
What about something that doesn't even require WebAssembly and is faster? https://bellard.org/jslinux/
very unscientific benchmark of `clang hello.c`, after a few runs to make sure the code is downloaded/cached: jslinux: 4.7s wasmer: 1.3s webvm: 1.2s
Show HN: Compiling C in the browser using WebAssembly
71–74 of 74 posts
Re: Show HN: Compiling C in the browser using WebAssembly
#72Earlier quoted context omitted.
very unscientific benchmark of `clang hello.c`, after a few runs to make sure the code is downloaded/cached: jslinux: 4.7s wasmer: 1.3s webvm: 1.2s
Nice, thanks for the benchmark Yuri!
Re: Show HN: Compiling C in the browser using WebAssembly
#73Earlier quoted context omitted.
Thanks, I'm seeing but the documentation is so scarce and I'm not a proefficient C expert. What syntax can be used to run emception? Thank you.
It’s sadly a bit more of a proof of concept than a hackable project. The docker build in the readme did work last time I tried, and there is a demo site at https://jprendes.github.io/emception/ , but I’ve failed to modify it in the past to do other things There is a fork at https://github.com/emception/emception that is trying to make it more production ready, but it looks like that may have stalled
Re: Show HN: Compiling C in the browser using WebAssembly
#74Earlier quoted context omitted.
MB, right? Mb is megabit I only have to bring this up because network providers still insist on measuring bits
They insist on it because it is the proper way to measure data rates on serial bit streams where out-of-band encoding doesn't divide up on octet boundaries.
May as well count the 8/10 encoding in a CD-ROM as extra bits. Oh excuse me, extra megabytes