Re:Emscripten gains experimental pthreads support
by bobajeff on Thursday August 13, 2015 @10:36AM
(#10054506)
>And any computer can run just about any kind of code now.
Not if it's compiled (C, C++ etc.), uses compiled libraries (many Lua, Java and .Net apps) or any system calls/libraries (.Net)
Re:Emscripten gains experimental pthreads support
by ergothus on Thursday August 13, 2015 @11:35AM
(#10054974)
...Did you miss that this article is about Emscriptem, which allows you to run C on JS? (this resolving your first issue)
Re:Emscripten gains experimental pthreads support
by HNcow on Thursday August 13, 2015 @10:17AM
(#10054359)
What you're talking about is Desktop OS exclusive though - it doesn't take in to account mobile OSs.
Re:Emscripten gains experimental pthreads support
by striking on Thursday August 13, 2015 @10:31AM
(#10054476)
No, it really isn't.
Enter Android+Lua: https://play.google.com/store/apps/details?id=com.nvreformat...
And any computer can run just about any kind of code now. Ask someone to download Python or LuaJIT and they can run your code.
Security models? In Lua, you can empty the environment and start fresh. You have a perfect sandbox with the flip of a switch.
I don't think the grandparent comment is sneering. I think he has an opinion that disagrees with yours.