Yeah. JS is not the right choice in many many many cases.
We happen to be in a place in history where JS is super convenient (or the only option) for a lot of user-facing stuff, but its value only goes so far.
The statement was can't build an os, not a kernel while an os needs a kernel, not everything in the os has to be a kernel to work, just as in user space we use python, C++, C, java, and a ton of languages that underlying end up using 0's and 1's, node os builds it's os user space consuming side with javascript, just as that.
If you don't want to buy the idea it's fine, the project will still exist there and that OS wouldn't be usable without javascript so it fits the statement for me
The thing is, programming is programming, you can do almost anything with almost any language.
Writing a complex system-level app in JS is like building a website with C. Is it possible? Yes. Is it a good idea? That's another debate (spoiler: no).
Top comments (19)
Yeah. JS is not the right choice in many many many cases.
We happen to be in a place in history where JS is super convenient (or the only option) for a lot of user-facing stuff, but its value only goes so far.
Nevertheless, the OP asked whether there is anything that can't be written in JS, not whether there is anything that shouldn't be written in JS :P
yeah, like most OSes do, the rest of the os interaction (user facing stuff) is made with node/javascript
If you had said Kernels, yeah I would have bought it, but the res of the os is prominently
javascript
The statement was
can't build an os
, not a kernel while an os needs a kernel, not everything in the os has to be a kernel to work, just as in user space we use python, C++, C, java, and a ton of languages that underlying end up using 0's and 1's, node os builds it's os user space consuming side with javascript, just as that.If you don't want to buy the idea it's fine, the project will still exist there and that OS wouldn't be usable without javascript so it fits the statement for me
I came to see that comment.
I was not disappointed.
The thing is, programming is programming, you can do almost anything with almost any language.
Writing a complex system-level app in JS is like building a website with C. Is it possible? Yes. Is it a good idea? That's another debate (spoiler: no).
making Arduino blink :P
think twice hahaha johnny-five.io
and here a small tutorial
makeuseof.com/tag/control-arduino-...
damn! π
Create a stable library that stays cool for longer than 120 days. Seems like we in JS land keep moving to the next best thing so quickly.
But what a great interpreter that one is!
In order of increasing performance and decreasing legacy compatibility:
github.com/MikeMcl/bignumber.js
github.com/justmoon/node-bignum
github.com/tc39/proposal-bigint