Hacker News new | past | comments | ask | show | jobs | submit login

One of the small things that may impact speed greatly, is that WASM has a real integer type, it isn't a float like JS has.

Some benchmarking has been talked about before [0], the upshot being C->WASM has a slowdown around 16-25ms. That's a hell of a lot faster than JS in a lot of places.

Unfortunately, as soon as you hook into the HTML APIs, like giving JS a result, you're back to JS speeds.

[0] https://news.ycombinator.com/item?id=13604537




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

Search: