Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Squeezy Farm
Jun 16, 2009
Cool. Looking forward to checking out the new version of Node.js now that it's out of beta! Think I'll work on a few of my personal projects during lunch today. :shobon:

quote:

Seven months since its first stable release, version 6.0 of the Node.js framework is now available.

The Node.js Foundation says that the update brings a number of performance enhancements, including significantly faster module loading, better tests and documentation, as well as improved usability of its Buffer and File System APIs.

So. Much. Tech.
Some of the biggest names in tech are coming to TNW Conference in Amsterdam this May.
LEARN MORE
This release ships with the version 5 of the V8 JavaScript engine, which allows Node.js 6 to support 93 percent of all ES6 language features. However, if you have any native addons previously installed, you’ll need to recompile them in order to avoid runtime errors when loading them.

It’s worth noting that v6 is labeled as a ‘Current’ release, which means it’s intended for developers who want to try the latest features immediately and can upgrade to subsequent versions quickly.

For those who are still using Node.js v4, you can expect continued support until April 2017, as it’s a stable release with long-term support. Version 5 will be supported for another two months before users will have to transition to v6.

You can grab Node.js v6 here and find the release notes on this page.

Source: http://thenextweb.com/dd/2016/04/27/node-js-version-6-now-available-2/

Adbot
ADBOT LOVES YOU

akadajet
Sep 14, 2003

http://node.green/

nice, more es6 support

PleasureKevin
Jan 2, 2011

does it have import support

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
wait i thought node was like a first term obama joke

akadajet
Sep 14, 2003

Jonny 290 posted:

wait i thought node was like a first term obama joke

no, it's really good js environment that lives outside the browser.

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
why would you use js outside of the browser

akadajet
Sep 14, 2003

Jonny 290 posted:

why would you use js outside of the browser

bc it's a good language now

akadajet
Sep 14, 2003

it's no longer 1998. js doesn't suck any more.

Jonny 290
May 5, 2005



[ASK] me about OS/2 Warp
just do it in go or perl or whatever jesus

Share Bear
Apr 27, 2004

ever closer to the metal, closer still

Shaggar
Apr 26, 2006

akadajet posted:

it's no longer 1998. js doesn't suck any more.

lol

GameCube
Nov 21, 2006

they're using javascript to teach programming to children and that is extremely hosed up

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
akadajet source your quotes

PleasureKevin
Jan 2, 2011

javascript seems good to me

jony ive aces
Jun 14, 2012

designer of the lomarf car


Buglord
PleasureKevin

akadajet
Sep 14, 2003

javascript is good for people who haven't been brain damaged by java style oop

Shaggar
Apr 26, 2006
lol

jony ive aces posted:

akadajet source your quotes

Baxate
Feb 1, 2011

didn't version 5 come out like 2 weeks ago

akadajet
Sep 14, 2003

PleasureKevin posted:

does it have import support

u mean modules? node has had modules like forever

Symbolic Butt
Mar 22, 2009

(_!_)
Buglord

Jonny 290 posted:

wait i thought node was like a first term obama joke

THANKS OBAMA hehehehehe

akadajet
Sep 14, 2003

Ludwig van Halen posted:

didn't version 5 come out like 2 weeks ago

5 and 6.0.x are current branches while 4 is long term support. At some 6.x it will be the new LTS.

Point releases are now happening more frequently as are V8 upgrades which is good bc node was stagnating for awhile.

treasure bear
Dec 10, 2012

this compelling new paradigm is going from strength to strength

i hope to begin porting my php code to it shortly

Baxate
Feb 1, 2011

akadajet posted:

u mean modules? node has had modules like forever

afaik you still need Babel for import support

in node 4 or 5 at least

PleasureKevin
Jan 2, 2011

is microsoft still adding their JS compiler to node as a V8-replacement

akadajet
Sep 14, 2003

Ludwig van Halen posted:

afaik you still need Babel for import support

in node 4 or 5 at least

node has commonjs so not having es6 modules hasn't really bothered me

burning swine
May 26, 2004



akadajet posted:

it's no longer 1998. js doesn't suck any more.

this is incorrect

it actually still is 1998

Doc Block
Apr 15, 2003
Fun Shoe
But does it have native leftpad support?

angry_keebler
Jul 16, 2006

In His presence the mountains quake and the hills melt away; the earth trembles and its people are destroyed. Who can stand before His fierce anger?

GameCube posted:

they're using javascript to teach programming to children and that is extremely hosed up

actually they're teaching kids python in minecraft because they are cruel

The Management
Jan 2, 2010

sup, bitch?
best thing about node is when I see it on a résumé I know I can just hit delete

crap nerd
May 24, 2008

akadajet posted:

javascript is good for people who haven't been brain damaged by java style oop

true but js is still bad, gently caress if i know what you should be using instead tho

Maximum Leader
Dec 5, 2014
i hate javascript

akadajet
Sep 14, 2003

GameCube posted:

they're using javascript to teach programming to children and that is extremely hosed up

ya, really hosed up for kids to learn real-world development skills.

Silver Alicorn
Mar 30, 2008

𝓪 𝓻𝓮𝓭 𝓹𝓪𝓷𝓭𝓪 𝓲𝓼 𝓪 𝓬𝓾𝓻𝓲𝓸𝓾𝓼 𝓼𝓸𝓻𝓽 𝓸𝓯 𝓬𝓻𝓮𝓪𝓽𝓾𝓻𝓮
I'm holding out for version 7

obstipator
Nov 8, 2009

by FactsAreUseless
I have been coding in nodejs unironically for several years now

its not annoying garbage once u understand how to do things right and swap to coffeescript so u dont have to type a million things

PleasureKevin
Jan 2, 2011

is there any reason to use coffee script now, though?

like with ES6 and all that.

PleasureKevin
Jan 2, 2011

i hardly even use lodash/underscore now

akadajet
Sep 14, 2003

PleasureKevin posted:

is there any reason to use coffee script now, though?

like with ES6 and all that.

no, you really should avoid coffeescript these days. especially with node bc you can debug native es6 w/o sourcemaps and transpilation madness.

if u get dependent on coffeescript nobody is going to want to hire you.

obstipator
Nov 8, 2009

by FactsAreUseless
someone needs to make a coffeescript-like that compiles back and forth w/ js just bc i want to shortcut things instead of typing a bunch. does babel let u do custom lex parsing yet or is that something it would never allow

PleasureKevin
Jan 2, 2011

obstipator posted:

someone needs to make a coffeescript-like that compiles back and forth w/ js just bc i want to shortcut things instead of typing a bunch. does babel let u do custom lex parsing yet or is that something it would never allow

well it's completely pluggable so yes you could make your own plugin and poo poo.

also i'm pretty sure you can use web pack to replace arbitrary strings somehow

but you really gotta ask yourself if hosed up code that no one else will be able to easily understand is what you want

Adbot
ADBOT LOVES YOU

obstipator
Nov 8, 2009

by FactsAreUseless
im not a ruby dev. when i shortcut something its going to be readable and understandable

the best of anything would be a customizable lex that dumps diff sourcemaps and goes back and forth between js and ur lang automatically, so u code in ur lang and everyone just sees the js version of ur stuff. theres a thing called jsw thats trying to do this but the dude making it said whitespace was a pain in the oval office

  • Locked thread