Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
maple3142
on May 21, 2021
|
parent
|
context
|
favorite
| on:
WebContainers: Run Node.js natively in the browser
I think it is more complicated to emulate those api in normal browser environment compared to emulating some OS api for running node.js.
kllrnohj
on May 21, 2021
[–]
Why? It's literally JavaScript on both sides - what's complicated here?
maple3142
on May 21, 2021
|
parent
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: