5 ms·
Node OS
- bsimpson 10y agoI'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/ http://blog.codinghorror.com/the-principle-of-least-power/
- tambourine_man 10y agoTHE BIRTH & DEATH OF JAVASCRIPT https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript https://www.destroyallsoftware.com/talks/the-birth-and-death...
- weitzj 10y agoGreat Talk to watch
- nickpsecurity 10y agoPeople 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.
- joesmo 10y agoI assume the whole thing goes down when left-pad or some other trivial dependency can't be resolved.
- AgentME 10y agonpm no longer allows packages to be unpublished after 24 hours.
- shruubi 10y agoOne 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.
- joshdickson 10y agoI'm going to have to assume it's using some form of Node's clustering support, which will let you run up to X instances where X is the maximum number of supported instances for the number of cores you have. Otherwise, you're right, bad combination.
- abritinthebay 10y agoWhy not? Many languages and Operating Systems used to be single threaded. Many still functionally are for a lot of things. Of course it's still challenging but it's built on top of the Linux kernel so it's also not a pure NodeOS (which would probably be impossible).
- gschrader 10y agoIt's still based on the linux kernel.
- pedalpete 10y agoWhat 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 https://github.com/voodooattack/nexusjs which is doing multi-threaded javascript. Maybe this or Node.js will support multiple threads in the future.
- spriggan3 10y agoNashorn 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 .
- adambrod 10y agoWhat would be really interesting is Elixir-OS/Erlang-OS where the entire OS can take advantage of a 50 core CPU.
- michaelmrose 10y agoThe entire os can in fact take advantage of a 50 core cpu and most of the things that would benefit the most can.
- nickpsecurity 10y agoI remember SGI adding code to Linux to to make it work on their NUMA machines with 256 sockets and 2,000-4,000 cores with single system image. They were my favorite but not only one. I'm sure some distro out there can handle 50 by now. :)
- adambrod 10y agoThanks, I was not aware of this :)
- davidw 10y agoI have no idea about the details, but this is kind of cool: http://erlangonxen.org/ http://erlangonxen.org/ http://zerg.erlangonxen.org/ http://zerg.erlangonxen.org/
- alecco 10y agoAre you saying current OSs dont?!
- shiftoutbox 10y agoI just puked !
- 58028641 10y agoBut the kernel needs to be in javascript. Since anything written in javascript becomes 2X better. </sarcasm>
- 58028641 10y agoI find it sad that before I added </sarcasm> people thought I was being serious and downvoted me. Once I added </sarcasm> I got upvoted.
- agumonkey 10y agoNot to forget your bootloader. grub.js
- 58028641 10y agoWhat about the firmware?
- montibbalt 10y agonsa_backdoor.bin.js
- wrong_variable 10y ago<< Die heart Node.js fan >> As much as I love Node.js, I have grown to dislike npm. Git + Github is a much nicer way to publish. Also the whole left-pad fiasco.
- sqren 10y agoNot going to defend npm here, but how is using Github as registry going to avoid left-pad-gate?
- wrong_variable 10y agoyou are right - its not possible to avoid left-pad-gate due to github being a similar company as npm ( in terms of law ). But using git means its theoretically possible to have multiple registries - etc.
- bitwize 10y agoTo be quite frank, the fact that the node community hasn't adopted vendoring as a standard practice speaks volumes about that community.
- int_handler 10y agoIt's happening: https://xkcd.com/1508/ https://xkcd.com/1508/
- cls59 10y agoAlso: https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript https://www.destroyallsoftware.com/talks/the-birth-and-death...
- jdubs 10y agoWow this looks lovely to support
- amelius 10y agoCooperative multitasking, as found in the Windows 3.1 era!
- nickpsecurity 10y agoI 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.
- notduncansmith 10y ago"Read More" link 404'd for me.
- cheez 10y agoWhen all you have is a hammer...
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- gberger 10y ago> 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.
- teen 10y agofiasco?
- guessmyname 10y agoLet me Google that for you: http://lmgtfy.com/?q=npm+fiasco http://lmgtfy.com/?q=npm+fiasco
- qu4z-2 10y agoMy favourite part is that I clicked it and got a 404. That seems really appropriate.
- shrugger 10y agoNow you can left-pad your entire environment instead of just your production build! Wow!
- brainflake 10y agoI love node, but a node REPL in lieu of a shell sounds like the worst thing ever.
- alishan-l 10y agoIt's a brave new world