Hacker News new | ask | show | jobs
by kevingadd 2305 days ago
A few examples of things it adds that are not widely available in JS (if at all, or requiring awkward hacks/hints in JS), off the top of my head:

int64

uint32

popcnt

copysign

reinterpret_cast equivalent (the js hack for this is abysmal)

pthreads

SIMD

AOT compilation

To be fair, it's been a while since I was last one of the authors of the webassembly spec, so I could be missing some things.

1 comments

Could ads be served with web assembly?
Yes, though I don't know if it makes sense to do it for any reason other than hiding from ad blockers.
Well, for some it is the only reason needed...