Y
Hacker News
new
|
ask
|
show
|
jobs
by
kllrnohj
1854 days ago
But you can do that same API emulation in regular browser JavaScript, too. What's the WASM intermediate buying here?
1 comments
maple3142
1854 days ago
I think it is more complicated to emulate those api in normal browser environment compared to emulating some OS api for running node.js.
link
kllrnohj
1854 days ago
Why? It's literally JavaScript on both sides - what's complicated here?
link
maple3142
1854 days ago
Because many node.js api are written in C/C++, it might be easier to implements OS features instead of rewriting in JS. This is just my assumption.
link