Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Sunday June 21 2015, @08:17AM   Printer-friendly
from the two-nodes-back-into-one dept.

Node.js is the software that allows you to run Javascript to create powerful server-side applications by using Google's V8 Javascript Engine. As a Node developer myself, I have always felt frustrated by seeing that Joyent, the company behind Node.s, was extremely conservative in terms of upgrading node to use the latest V8 version; the project was also struggling to get developers to actually contribute to code. This is why Fedor Indutny did the unthinkable: forked node and created IO.js. Today, the two projects are uniting possibly offering developers the best of both worlds


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by mtrycz on Sunday June 21 2015, @12:21PM

    by mtrycz (60) on Sunday June 21 2015, @12:21PM (#199045)

    ECMAScript6 - the attempt to repay the technological dept of JavaScript - is due to come out this year. I don't expect it to "fix" Javascript, but thet's the best people are able to come up with, other than WebAssembly (precompiled blobs that run in your browser).

    node is good for i/o intensive work, because of its asynchronous i/o model, but since it's singlethreaded, cpu-intesnive loads will hog up all interactions.

    It's good for some quick web-related stuff, it's easy to pickup and fast to prototype in - for small projects where a bigger language or framework would be overkill. For bigger projects: with js it's way to easy to shoot yourself in the foot.

    --
    In capitalist America, ads view YOU!
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by mtrycz on Sunday June 21 2015, @12:24PM

    by mtrycz (60) on Sunday June 21 2015, @12:24PM (#199046)

    Oh, and the hate node.js is getting, is because of it's userbase - fervent hipsters that just can't understand that people have other use-cases than their webdev stuff.

    --
    In capitalist America, ads view YOU!
    • (Score: 2) by mtrycz on Sunday June 21 2015, @12:28PM

      by mtrycz (60) on Sunday June 21 2015, @12:28PM (#199047)

      Also, "cloud" companies tend to offer bandwidth for much cheaper than storage, cpu and ram. A small 1 core / 512 ram vps instance goes for as little as 5$ a month. If the application is actually i/o bound with small cpu overhead, then with asynchronous io you'll get better performance than with traditional (threaded) webservers.

      Sorry, I just can't think clearly right now.

      --
      In capitalist America, ads view YOU!
      • (Score: 1) by Pino P on Sunday June 21 2015, @03:41PM

        by Pino P (4721) on Sunday June 21 2015, @03:41PM (#199100) Journal

        A small 1 core / 512 ram vps instance goes for as little as 5$ a month.

        Is that with its own IPv4 address, or is it behind a NAT?

        • (Score: 2) by mtrycz on Sunday June 21 2015, @04:15PM

          by mtrycz (60) on Sunday June 21 2015, @04:15PM (#199107)

          Digitalocean, which I am not affiliated with, but ofen use, gives you a public ipv4 (or ipv6 in some regions), and optional "private networking". Also, it's the most flexible I know (haven't tried most of the new ones like Heroku, tho), giving you the option to create and destroy "droplets" on the fly, and even programmatically with an API. The cheapest "doplet" is 5$ a month with hourly billing, and you can dispose of your "droplet" when you're done.

          I think it wasn't actually invented for stable hosting, but dynamic prototyping and such, but the prices are good even as hosting goes, for the small instances. For VPS at least. I don't know how does it compare for big instances, since I have never used those... all my projects are small/low traffic.

          --
          In capitalist America, ads view YOU!
  • (Score: 1) by Pino P on Sunday June 21 2015, @02:54PM

    by Pino P (4721) on Sunday June 21 2015, @02:54PM (#199083) Journal

    ECMAScript6 - the attempt to repay the technological dept of JavaScript - is due to come out this year.

    ECMAScript 6 is already "out" in the sense that it's been approved by Ecma [sdtimes.com].