News for hackers. Stuff that matters.
Re:WebContainers: Run Node.js natively in the browser by oolonthegreat on Thursday May 20, 2021 @02:41PM (#27225318)
yeah that's what I gathered: javascript already runs on the browser, then we got node.js because people liked javascript and wanted to run it natively, and then finally we got this which allows us to run node.js on the browser again? it looks to me like we've gone full circle with extra overhead :D but I guess people have reasons to run node.js on the browser and not javascript so idk
Re:WebContainers: Run Node.js natively in the browser by mindblock on Thursday May 20, 2021 @02:59PM (#27225562)
I guess the idea is to access some Apis that are not present in the browser, like fs. This was mentioned in a question to StackBlitzs CEO, but he seems to be an AI that just pastes the same text over and over again.
Re:WebContainers: Run Node.js natively in the browser by kllrnohj on Thursday May 20, 2021 @08:10PM (#27229045)
> I guess the idea is to access some Apis that are not present in the browser, like fs.

That's why electron exists. But this can't do that, it's still limited by the APIs that are present in the browser. It's seemingly just full-overhead for... some... reason?