GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Any plan to support multi-thread in io.js? · Issue #241 · nodejs/node

Any plan to support multi-thread in io.js? #241

New issue
Copy link
New issue
Copy link
Closed
Closed
Any plan to support multi-thread in io.js?#241
Copy link

Description

@yejingfu
yejingfu
opened on Jan 7, 2015
Issue body actions

I am not sure if it's good idea to bring multi-threading into io.js. However I feel it would be beneficial to CPU-consuming computation. The JXcore is based on node.js, aiming to provide multi-thread supports.
So I am wondering if there is any official plan to have multi-thread in io.js.

Activity

  1. algesten commented on Jan 7, 2015

    @algesten
    algesten
    on Jan 7, 2015
    More actions

    I sincerely hope not.

  2. brendanashworth commented on Jan 7, 2015

    @brendanashworth
    brendanashworth
    on Jan 7, 2015
    Contributor
    More actions

    Well, it already supports multithreading with the cluster module. As far as I'm aware changing it to be multithreaded for everything would mean modifying V8 - unless V8 supports multithreading as it is.

  3. feross commented on Jan 7, 2015

    @feross
    feross
    on Jan 7, 2015
    Contributor
    More actions

    Spawn multiple node processes if you need this.

  4. YurySolovyov commented on Jan 7, 2015

    @YurySolovyov
    YurySolovyov
    on Jan 7, 2015
    More actions

    io.js name kind of suggests what it is for

  5. quantizor commented on Jan 7, 2015

    @quantizor
    quantizor
    on Jan 7, 2015
    More actions

    @brendanashworth +1, exactly what that module is meant to do

  6. tjconcept commented on Jan 7, 2015

    @tjconcept
    tjconcept
    on Jan 7, 2015
    Contributor
    More actions

    Please don't.

  7. bnoordhuis commented on Jan 7, 2015

    @bnoordhuis
    bnoordhuis
    on Jan 7, 2015
    Member
    More actions

    I'll close this, there isn't anything directly actionable. io.js may someday add multi-isolate support (what JX does too, I think) but that won't be hugely different from what you can do today with the child_process and cluster modules; it's still going to be share-nothing with explicit message passing.

  8. bnoordhuis
    closed this as completedon Jan 7, 2015
  9. basarat commented on May 28, 2015

    @basarat
    basarat
    on May 28, 2015
    More actions

    add multi-isolate support (what JX does too, I think)

    Yes. Docs : http://jxcore.com/docs/jxcore-feature-multitasking.html The sub-instance is completely separated from the main instance and from the other sub-instances, because they all run in different V8′s contexts/isolates

  10. mikeal commented on May 28, 2015

    @mikeal
    mikeal
    on May 28, 2015
    Contributor
    More actions

    #1159

  11. yejingfu commented on May 30, 2015

    @yejingfu
    yejingfu
    on May 30, 2015
    Author
    More actions

    Glad to see the work module is now offically implemented in io.js. Thank you!

  12. bakkot
    added a commit that references this issue on May 11, 2026

    Add type tags to uses of v8::External (nodejs#241)

    a7de2a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.