Questions tagged [iojs]

iojs is an npm compatible platform originally based on Node.js

iojs or io.js is a JavaScript platform built on Chrome's V8 runtime. This project began as a fork of Joyent's Node.js™ and is compatible with the npm ecosystem.

iojs aims to provide faster and predictable release cycles. It currently merges in the latest language, API and performance improvements to V8 while also updating libuv and other base libraries.

24 questions
0
votes
1 answer

How do node.js and libuv use the different threads?

While doing some research on Node.js and libuv I started a simple node server with UV_THREADPOOL_SIZE=1 and looked at pstree to see how much threads it really uses. for Node.js 0.10 pstree -p | grep node produces node(5157)-+-{node}(5158) …
DanielKhan
  • 1,190
  • 1
  • 9
  • 18
0
votes
1 answer

nvm install fails on curl request

When running: nvm install iojs-v2 I get the following error: ######################################################################## 100.0% curl: (7) Failed to connect to localhost port 80: Connection refused grep: /Volumes/Macintosh…
Evan Johnson
  • 1,444
  • 1
  • 14
  • 31
0
votes
1 answer

Using large memory with NodeJS / IO.JS

I'm looking at using NodeJS or IO.JS for a server app that requires a lot of RAM, 4-8GB, possibly more. Considering the most up-to-date version of V8 and IO.JS (current is 3.3.0): is it realistic to implement using the latest IO.JS? is the platform…
vitaly-t
  • 24,279
  • 15
  • 116
  • 138
0
votes
1 answer

Pulling and building io.js from source using a specific version

I'm building a Dockerfile for an io.js project I've been working on, and I'd love to be able to do something similar to the following, but with io.js. ## Install Nodejs RUN wget http://nodejs.org/dist/v0.12.7/node-v0.12.7.tar.gz RUN tar -xvzf…
David K.
  • 679
  • 2
  • 10
  • 23
0
votes
2 answers

Using ES6 on Electron app with io.js

I am writing cross-platform application with electron. I want to be enable ES6 arrow-function feature in main process using like iojs --harmony_arrow_functions. Electron already installed successfully on io.js 3.1.0 . How I can do it with io.js?
KiYugadgeter
  • 3,796
  • 7
  • 34
  • 74
0
votes
2 answers

Dockerfile not finding one of my includes

New to Docker and been checking through the docs, but seems as though this is a reasonable first go at a Dockerfile. I'm running the following Dockerfile, but am encountering a bit of an issue: FROM iojs:onbuild COPY…
David K.
  • 679
  • 2
  • 10
  • 23
0
votes
1 answer

How to export and import ES6 class in iojs?

In foo.js class Foo { run(){ console.log("test"); } } In index.js 'use strict' var test = require('./foo.js'), Test = new test(); Test.run(); How to export the Foo class in iojs 3? I tryed this way and worked, but i dont…
Undefined Behavior
  • 2,128
  • 4
  • 24
  • 34
-1
votes
1 answer

How to deal with returns in async javascript when callbacks are not an option?

Of course, there are many async questions and answers. But my question is about an async situation in which I need to return something. I have this in node express: app.use('/', FalcorServer.dataSourceRoute(function(req, res) { return new…
Bob van Luijt
  • 7,153
  • 12
  • 58
  • 101
-4
votes
1 answer

Now that Node.js has added io.js, is it more async than it was before? What's with the version?

I see that Node.js has added i/o to its capabilities, does that mean that it's more async now, or it is using the same concurrency model as before? Also, I thought Node was on v8, why have they rolled back to v4?
1
2