Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.
This repository was archived by the owner on Mar 25, 2018. It is now read-only.

First Steps #15

Open
Open

Description

@mikeal

It's time to start thinking about things we can implement today that set us up for some of the bigger ideas we've been talking about in this repo. After a nice lunch with @piscisaureus and @jasnell these two materialized as obvious requirements.

  • Support and implement localized installs of node.
  • Implement import w/o any stdlib.

Localized installations of node are going to help us move faster in general and make it much easier for people to build applications that use new experiments without overwriting their global install.

Supporting the import syntax is obviously going to be part of a future platform. We should probably put this behind a flag at first. import should not expose any of the current stdlib, that should only be accessible through require() but having native import w/o a stdlib opens up the possibility of people experimenting with and writing new possible stdlib modules in the ecosystem.

Thoughts?

Activity

  1. domenic commented on May 12, 2015

    @domenic

    Import isn't implemented in V8, so, unsure how you anticipate that experiment working.

  2. mikeal commented on May 12, 2015

    @mikeal
    ContributorAuthor

    @domenic how is that gonna work btw. Obviously it needs to be in the vm but what it gets connected to will be totally different in node.js than the browser.

  3. domenic commented on May 12, 2015

    @domenic

    @ajklein can probably say more but my understanding is that parsing will be implemented in V8 but loading etc. will be implemented by the embedder. Not sure of the exact hooks in terms of the V8 API.

  4. chrisdickinson commented on May 12, 2015

    @chrisdickinson

    Support and implement localized installs of node.

    To be clear: "localized" as in i18n, or "localized" as in "node's virtualenv"?

  5. mikeal commented on May 12, 2015

    @mikeal
    ContributorAuthor

    I wouldn't use the term "virtualenv" but yet :)

  6. chrisdickinson commented on May 12, 2015

    @chrisdickinson

    Ah – are we talking about devoting time to getting this issue rolled into npm?

  7. mikeal commented on May 12, 2015

    @mikeal
    ContributorAuthor

    @chrisdickinson that's one option, or maybe it's as simple as this https://github.com/mikeal/nstall I whipped up a quick proof-of-concept installer.

  8. jasnell commented on May 12, 2015

    @jasnell
    Member

    The i18n localization stuff will come soon enough ;-) I've already implemented a good portion of it, just holding a bit to work on landing.

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