In their words, io.js is "A spork of Node.js with an open governance model".
Hmm. Lets hope the spork gets spooned so that no projects get knifed. If not then I guess we have to hope for a knork so we don't get stuck with a couple of chopsticks.
Glossary
Forking : Creating a fork to intentionally diverge from main-line development.
Spooning : Merging a fork back into the main line of a project
Sporking : Creating a fork that you would really like to become the next main-line version but you kinda have to prove its awesome first (sporks are pretty awesome)
Knifing : Action killing a project, abandon hope :(
Knorking : A fork replaces the original project which dies off i.e. a fork knifes the original
Chopsticking : Two forks vie for popularity splitting the community and becoming lone chopsticks. Chopsticks need to work together to make stuff happen!
Don't get me wrong, thanks for the information. But seriously. It's like when you come up with a whimsical naming scheme for your home network devices and you get trapped in that naming scheme and have to come up with more and more obscure Lithuanian folk demons that fit into your conventions and it becomes a parody of itself and you're not sure if you're serious or joking anymore.
...Okay, normally I roll my eyes at people asking "What does this do" but Christ this is ridiculous.
From the FAQ:
> What is io.js?
> io.js is a JavaScript platform that is compatable with Node.js & npm.
What does that even mean?
Edit: Thanks for those answering. I started figuring out what it was, but sometimes folks really need to learn that "A correct definition" is not the same as "a useful definition". However, if it's as cool as described, definitely might give it a shot.
Edit2: Is this expected to be as stable as Node.js consistently? And how solid is the upgrade path- is it going to be a pain upgrading between versions the way Node used to be, or is there a smoother upgrade process? I guess what I'm wondering is, do I get any benefit from using this right now, or would it be smart to still wait for whatever version they consider release quality?
It's a fork of node.js with ES6 support. The goal is a faster release cycle and an updated V8 engine, plus an "open governance model" as opposed to Joyent's domination of node.js prime.
Current Project Team Members
============================
Isaac Z. Schlueter
Ben Noordhuis
Bert Belder
Fedor Indutny
Trevor Norris
Chris Dickinson
Colin Ihrig
Mikeal Rogers
Rod Vagg
io.js is a fork/continuation of Node.js "unstable" 0.11.x branch. Node.js stable, under Joyent's stewardship, has been stuck in 0.10.x land for over a year.
io.js has many of the top core Node.js contributors. They're trying to move server-side JavaScript forward with open governance, faster release cycles, ES6, etc.
Agree...couldn't find a clear explanation anywhere within several clicks of the home page. If it's a fork of node.js with ES6 support, as people are saying, they should put that on the front page or at the top of the FAQ section or on the front page of the documentation.
Tip to anyone rolling out a library and wanting others to start using it: It'd be helpful if the home page or the FAQ explained what io.js actually does and why a developer might want to explore it further. "Bringing ES6" is only helpful if you know what ES6 is and have already decided it's something you need. Likewise, the FAQ simply says io.js is compatible with Node.js and npm, but that doesn't give you much to work with. Can someone who knows the project explain the benefits?
Basically anything you can do in Node.js you can do in Io.js. It's nothing that really breaks backwards compatibility. The benefits of Io.js over Node.js is that it'll have a faster release cycle bringing in newer versions of V8 JavaScript Engine, allowing you to use newer features of that in your code.
In Node.js to use ES6 you would have to use the --harmony flag to enable them because the version of V8 that is used is so old. Whereas in Io.js anything V8 deems stable is available in Io.js without having to use the --harmony flag.
I suspect there will be a split in the npm ecosystem now, not so much along node/iojs lines but along es5/es6 lines. There's already been lots of discussion about whether module builders should publish es6 code, or should everything be transpiled down to es5 code in order to keep the ecosystem unified (the unspoken caveat being, around es5).
I think es5 is a dinosaur as of today, so I say go ahead and publish es6 code, and if you want to be nice to es5 people then add a prepublish transpiler that makes something like this possible:
// es6 people can do
var foo = require('foo');
// es5 people can do
var foo = require('foo/es5');
Important to note: because JavaScript itself is always backwards-compatible (1JS), any code that runs on Node will run on iojs, but not necessarily vice versa.
That means there need not be a split in the ecosystem: people who want maximal coverage can target ES5, while people who want the latest features can target ES6. Unlike the browser, however, where people can't control their runtimes, I suspect there will be much less tolerance for sticking with older versions of JavaScript.
Indeed, the pain and suffering people have felt with IE6 will likely make everyone much more willing to reject an unnecessary lowest-common-denominator approach on the server. We're liberated on the server. Let's act like it.
I'm not sure it's worth publishing both ES6 and ES5 transpiled versions when you could just glue the transpiler into Node's "require": http://6to5.org/docs/setup/#require-hook
I don't think so. People publishing libraries in ES6 are asking for trouble. There are far too many half-complete ES6 implementations out there and compiling to ES5 definitely is the way to go (for libraries) unless there's a really compelling reason not to.
As someone who tries as hard as they can to avoid project politics and the like: is this the new Node.js? By which I mean I know it isn't the Node project, but where is most of the mindshare these days? Is io.js a small offshoot or has it taken most of the Node devs with it? Or is it the same code just with a more aggressive release schedule?
Also, when do we go back to one executable already?
If we're lucky this will turn into the 'unstable branch' with new features and things which is periodically folded back into the 'stable' node.js platform.
...but if node wont play ball, it'll become 'the new node', yes.
Since there are features in Io that are neither in the current version nor planned for the future versions of Node, I guess Io.js should be explicitly specified as an engine in the package.json file of Io-specific modules. Tracking those modules will be a good metric of how well Io is received by the community.
I understand that Node was lagging behind on merging newer versions of V8, but holy hell: how did they have so many patches to the standard library that weren't properly released?
They're sticking the strict semver with no tags, and explicitly wanted to abandon the 0.x version numbers, so the TC decided to do 1.0.0 as the first release but make it clear that it's not production ready.
Node got forked because it got corped. When a corporation sinks their hooks into an active open source project, it's only a matter of time. Mysql, Maria, Hudson, Jenkins... same story. io.js is the way forward, and congrats to the core team.
HN auto-capitalizes the first letter when submitting, sadly. EDIT: Turns out it doesn't do it a second time if I edit, so, fixed :) EDIT2: Aaaand it reverted itself to Io.js, somehow.
It's a playful way to say they don't really want to fork the Node.js ecosystem. io.js will evolve alongside Node.js and the core team is open to merging back with Node.js if possible.
From what I can understand, io.js is now node with the latest version of v8 and ES6(+ES7) features enabled by default (as opposed to behind a flag).
I'm wondering, what technical reasons are there for Node not using the latest version of v8 for each release? I can understand Node keeping some new ES6/7 features behind a flag (just as some are behind a flag in Chrome).
V8 updates bring incompatible changes to the V8 API, and many node extensions written in C++ need to be updated. Hence the decision to stick with an old V8, even though it's no longer maintained by Google.
There is a compatibility layer to assist with making these modules work across different V8 versions: https://github.com/rvagg/nan
"This package will install io.js v1.0.0 and npm v2.1.18 into /usr/local/. The binary /usr/local/bin/iojs will also be symlinked as /usr/local/bin/node."
Because Io.js is a Node.js replacement, but most of the time you're probably going to instinctively type `node script.js` and not `iojs script.js` so the symlink is just a helper.
Homebrew asked me to overwrite my node symlink with the iojs symlink. I decided to link iojs to iojs on my own. I hope I'm not spinning myself into some technical debt here, but for now, I'd like to maintain both.
[+] [-] duncanawoods|11 years ago|reply
Hmm. Lets hope the spork gets spooned so that no projects get knifed. If not then I guess we have to hope for a knork so we don't get stuck with a couple of chopsticks.
Glossary
Forking : Creating a fork to intentionally diverge from main-line development.
Spooning : Merging a fork back into the main line of a project
Sporking : Creating a fork that you would really like to become the next main-line version but you kinda have to prove its awesome first (sporks are pretty awesome)
Knifing : Action killing a project, abandon hope :(
Knorking : A fork replaces the original project which dies off i.e. a fork knifes the original
Chopsticking : Two forks vie for popularity splitting the community and becoming lone chopsticks. Chopsticks need to work together to make stuff happen!
[+] [-] qooleot|11 years ago|reply
[+] [-] Fishrock123|11 years ago|reply
I do website and irc stuff for io.js and I had trouble describing what the project was in relation to node.js.
So I called it a spork, because "sporks are friendlier". Whatever that means. Aside from being friendly.
Proof is somewhere in the io.js irc logs back near when the project sporked.
http://logs.libuv.org/io.js
[+] [-] benihana|11 years ago|reply
Don't get me wrong, thanks for the information. But seriously. It's like when you come up with a whimsical naming scheme for your home network devices and you get trapped in that naming scheme and have to come up with more and more obscure Lithuanian folk demons that fit into your conventions and it becomes a parody of itself and you're not sure if you're serious or joking anymore.
[+] [-] quaunaut|11 years ago|reply
From the FAQ:
> What is io.js?
> io.js is a JavaScript platform that is compatable with Node.js & npm.
What does that even mean?
Edit: Thanks for those answering. I started figuring out what it was, but sometimes folks really need to learn that "A correct definition" is not the same as "a useful definition". However, if it's as cool as described, definitely might give it a shot.
Edit2: Is this expected to be as stable as Node.js consistently? And how solid is the upgrade path- is it going to be a pain upgrading between versions the way Node used to be, or is there a smoother upgrade process? I guess what I'm wondering is, do I get any benefit from using this right now, or would it be smart to still wait for whatever version they consider release quality?
[+] [-] mintplant|11 years ago|reply
https://github.com/iojs/io.js
[+] [-] elisee|11 years ago|reply
io.js has many of the top core Node.js contributors. They're trying to move server-side JavaScript forward with open governance, faster release cycles, ES6, etc.
[+] [-] davesque|11 years ago|reply
[+] [-] Killswitch|11 years ago|reply
[+] [-] fergie|11 years ago|reply
io.js is a fork of node.js but is "better" because:
1) io.js always uses the latest JavaScript engine.
2) io.js is not controlled by private interests.
[+] [-] monkey_slap|11 years ago|reply
[+] [-] elisee|11 years ago|reply
Also of interest, the state of ES6 in io.js: https://github.com/seegno/io.js/wiki/The-state-of-ES6-on-io..... Highlights: 'let', generators, promises, template literals, symbols are all enabled by default. EDIT: just realized this wiki page has been updated and integrated into the website at https://iojs.org/es6.html
[+] [-] aasarava|11 years ago|reply
[+] [-] tach4n|11 years ago|reply
> io.js is an npm compatible platform originally based on node.js
It's not a library, it's a platform that's based on node.js. It's more or less a fork of node or "spork" as they call it.
The github repo is a bit more clear: https://github.com/iojs/io.js
The main point seems to be that it's run on an open governance model: https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md
[+] [-] Killswitch|11 years ago|reply
In Node.js to use ES6 you would have to use the --harmony flag to enable them because the version of V8 that is used is so old. Whereas in Io.js anything V8 deems stable is available in Io.js without having to use the --harmony flag.
[+] [-] _greim_|11 years ago|reply
I think es5 is a dinosaur as of today, so I say go ahead and publish es6 code, and if you want to be nice to es5 people then add a prepublish transpiler that makes something like this possible:
[+] [-] wycats|11 years ago|reply
That means there need not be a split in the ecosystem: people who want maximal coverage can target ES5, while people who want the latest features can target ES6. Unlike the browser, however, where people can't control their runtimes, I suspect there will be much less tolerance for sticking with older versions of JavaScript.
Indeed, the pain and suffering people have felt with IE6 will likely make everyone much more willing to reject an unnecessary lowest-common-denominator approach on the server. We're liberated on the server. Let's act like it.
[+] [-] tlrobinson|11 years ago|reply
[+] [-] jkrems|11 years ago|reply
I don't think so. People publishing libraries in ES6 are asking for trouble. There are far too many half-complete ES6 implementations out there and compiling to ES5 definitely is the way to go (for libraries) unless there's a really compelling reason not to.
[+] [-] bshimmin|11 years ago|reply
[+] [-] namuol|11 years ago|reply
[+] [-] untog|11 years ago|reply
Also, when do we go back to one executable already?
[+] [-] shadowmint|11 years ago|reply
...but if node wont play ball, it'll become 'the new node', yes.
(there's a lot of backstory to this, which you can read about here: http://blog.izs.me/post/104685388058/io-js)
[+] [-] james33|11 years ago|reply
[+] [-] maga|11 years ago|reply
[+] [-] gobengo|11 years ago|reply
[+] [-] bsimpson|11 years ago|reply
[+] [-] dsissitka|11 years ago|reply
The hell? Seems it's intentional:
https://github.com/iojs/io.js/issues/251#issuecomment-694177...
[+] [-] ChiperSoft|11 years ago|reply
[+] [-] k__|11 years ago|reply
[+] [-] _urga|11 years ago|reply
[+] [-] drderidder|11 years ago|reply
[+] [-] silverwind|11 years ago|reply
[+] [-] elisee|11 years ago|reply
[+] [-] ulisesrmzroche|11 years ago|reply
[+] [-] sambeau|11 years ago|reply
[+] [-] nickfargo|11 years ago|reply
[+] [-] ykl|11 years ago|reply
[+] [-] elisee|11 years ago|reply
[+] [-] Gys|11 years ago|reply
[+] [-] thomasfoster96|11 years ago|reply
I'm wondering, what technical reasons are there for Node not using the latest version of v8 for each release? I can understand Node keeping some new ES6/7 features behind a flag (just as some are behind a flag in Chrome).
[+] [-] ivank|11 years ago|reply
There is a compatibility layer to assist with making these modules work across different V8 versions: https://github.com/rvagg/nan
[+] [-] chadpaulson|11 years ago|reply
[+] [-] misterdai|11 years ago|reply
https://github.com/joyent/nodejs-advisory-board/blob/master/...
[+] [-] acdanger|11 years ago|reply
Why the symlinking as node?
[+] [-] Killswitch|11 years ago|reply
[+] [-] adregan|11 years ago|reply