Live data from Hacker News

Node OS

node-os.com

21–30 of 53 posts

Re: Node OS

#23
post #8

What would be really interesting is Elixir-OS/Erlang-OS where the entire OS can take advantage of a 50 core CPU.

Are you saying current OSs dont?!

Re: Node OS

#27
> node-os is the first operating system powered by npm Read More

That's not a very nice tagline to have after the recent left-pad fiasco.

Re: Node OS

#28
post #5

One thing I can't seem to find is, is this a true nodejs-based operating system in that it's all single threaded? single-threaded event loop stuff works well for network servers but an OS? To me it seems like a terrible idea.

What about something like ChromeOS? Does it need multi-threading? If each app is running it's own thread, and can spawn new threads, maybe that would work. Also, though Node.js is currently single-threaded, there is the Nexus project https://github.com/voodooattack/nexusjs which is doing multi-threaded javascript. Maybe this or Node.js will support multiple threads in the future.

Nashorn on the JVM supports threads. So the problem is definitely not a JS issue but a JS engine issue. NodeJS is single threaded because NodeJS V8 is. There was a talk about implementing workers that communicate view text messages though, I don't know the state of workers in NodeJS .

Re: Node OS

#29
post #2

I'm astonished that this has been up for an hour and no one's mentioned Atwood's Law: "Any application that can be written in JavaScript, will eventually be written in JavaScript." http://blog.codinghorror.com/the-principle-of-least-power/

People are even doing hardware design in the browser now. That may or may not directly involve JavaScript on HW part as I don't know how much those apps rely on servers. It's conceivable a basic, EDA tool could be built with Javascript, though.

Re: Node OS

#30
post #19

Cooperative multitasking, as found in the Windows 3.1 era!

I have a two-finger salute I typically give to cooperative multitasking especially thanks to the Windows 3.1 era. ;) I still investigate it with better type systems, languages, hardware monitors, whatever. I just think "NOOOOO!!!" is a good default when I see it.
Post reply on HN