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 — Tracking Issue: process.binding to internalBinding · Issue #22160 · nodejs/node

Tracking Issue: process.binding to internalBinding #22160

New issue
Copy link
New issue
Copy link
Closed
Closed
Tracking Issue: process.binding to internalBinding#22160
Copy link
Labels
c++Issues and PRs that require attention from people who are familiar with C++.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.

Description

@jasnell
jasnell
opened on Aug 6, 2018
Issue body actions

Moving from process.binding() to internalBinding() will be a significant effort. There are hundreds of process.binding() uses inside core and many many userland references. It's going to take a while to convert everything.

TODO

  • inspector (this one is quite non-trivial... will require additional thought)

Done

  • async_wrap src: move process.binding('async_wrap') internal #22469
  • buffer buffer: move process.binding('buffer') to internalBinding #22370
  • cares_wrap dns: make process.binding('cares_wrap') internal #22474
  • crypto crypto: move process.binding('crypto') to internal #22426
  • config src,lib: make process.binding('config') internal #23400
  • constants src,lib: move natives and constants to internalBinding() #23663
  • contextify vm: move process.binding('contextify') to internalBinding #22419
  • fs fs: make process.binding('fs') internal #22478
  • fs_event_wrap fs: make fs_event_wrap binding internal #22480
  • http2http2: move process.binding('http2') to internalBinding #22328
  • http_parser http_parser: move process.binding('http_parser') to internalBinding #22329
  • icu icu: make process.binding('icu') internal #23234
  • js_stream js_stream: move process.binding('js_stream') to internalBinding #22239
  • natives src,lib: move natives and constants to internalBinding() #23663
  • os os: move process.binding('os') to internalBinding #25087
  • performance src: move process.binding('performance') to internalBinding #22029
  • pipe_wrap lib: make pipe_wrap binding internal #22482
  • process_wrap child_process: make process_wrap binding internal #22479
  • serdes v8: move serdes to internalBinding #22161
  • signal_wrap src: move process.binding('signal_wrap') to internalBinding #22290
  • spawn_sync spawn_sync: move process.binding('spawn_sync') to internalBinding #22260
  • stream_wrap
  • tcp_wrap src: move process.binding('tcp_wrap') to internal #22432
  • tls_wrap crypto: move process.binding('tls_wrap') internal #22429
  • trace_events trace_events: move trace_events to internalBinding #22159
  • tty_wrap tty: make process.binding('tty_wrap') internal #22477
  • udp_wrap dgram: make process.binding('udp_wrap') internal #22475
  • url url: move process.binding('url') to internalBinding #22204
  • util util: make util binding internal #22675
  • uv uv: move process.binding('uv') to internalBinding #22163
  • v8 v8: move process.binding('v8') to internalBinding #22288
  • zlib (removing process.binding('zlib') breaks npm) zlib: move process.binding('zlib') to internalBinding #23307
Reacted by Nikita Skovoroda, snek, Ruben Bridgewater, Jon Moss, antsmartian, Weijia Wang, John Roman, Yahor Siarheyenka, Anthony Nandaa, Masashi Hirano and 4 more
Reacted by Yahor Siarheyenka and Benjamin Chen
Reacted by snek, antsmartian, Trivikram Kamat, Yahor Siarheyenka and Benjamin Chen

Activity

Next
  1. devsnek commented on Aug 6, 2018

    @devsnek
    devsnek
    on Aug 6, 2018
    Member
    More actions

    updated to include all usage of NODE_BUILTIN_MODULE_CONTEXT_AWARE

  2. devsnek
    added
    help wantedIssues that need assistance from volunteers or PRs that need help to proceed.
    c++Issues and PRs that require attention from people who are familiar with C++.
    on Aug 6, 2018
  3. jasnell commented on Aug 6, 2018

    @jasnell
    jasnell
    on Aug 6, 2018
    MemberAuthor
    More actions

    I've got uv in progress now

    Reacted by snek
  4. devsnek
    added
    ecosystem-lookup-requested
    on Aug 6, 2018
  5. devsnek commented on Aug 6, 2018

    @devsnek
    devsnek
    on Aug 6, 2018
    Member
    More actions

    @ChALkeR would it be possible to get info about the relative usage of all of these? i'm assuming there are some like serdes we can kill right away and others like util that will take longer.

  6. jasnell commented on Aug 6, 2018

    @jasnell
    jasnell
    on Aug 6, 2018
    MemberAuthor
    More actions

    I tried doing zlib but it broke npm.
    I tried doing config but there's a buffer test that isn't feasible if config is moved. Planning to refactor

  7. maclover7 commented on Aug 6, 2018

    @maclover7
    maclover7
    on Aug 6, 2018
    Contributor
    More actions

    Just double checking, should all migration PRs should be marked as semver-major?

  8. jasnell commented on Aug 6, 2018

    @jasnell
    jasnell
    on Aug 6, 2018
    MemberAuthor
    More actions

    Unfortunately that's likely the best thing.

    Reacted by Jon Moss
    Reacted by Anna Henningsen
  9. jasnell commented on Aug 6, 2018

    @jasnell
    jasnell
    on Aug 6, 2018
    MemberAuthor
    More actions

    For some of this it's likely going to be quite tricky to have a proper migration strategy in place given that moving something over to internalBinding() means that the process.binding() version just stops working. We're going to have to take it very slow and work on migrating the bits with the smallest immediate impact and working up from there.

  10. devsnek
    added a commit that references this issue on Aug 8, 2018

    v8: move serdes to internalBinding

    cf3bb59
  11. pratik0509 commented on Aug 12, 2018

    @pratik0509
    pratik0509
    on Aug 12, 2018
    Contributor
    More actions

    I would also like to contribute here. Can you please give me some heads up?

  12. 82 remaining items

  13. joyeecheung
    added 2 commits that reference this issue on Jan 11, 2019

    src,lib: make process.binding('config') internal

    b6afa46

    inspector: move process.binding to internalBinding

    e05e5b3
  14. addaleax
    added 4 commits that reference this issue on Jan 14, 2019

    inspector: move process.binding to internalBinding

    4794cf6

    fs: make process.binding('fs') internal

    dd0381f

    src,lib: make process.binding('config') internal

    7480864

    inspector: move process.binding to internalBinding

    445ba9f
  15. refack
    added 2 commits that reference this issue on Jan 14, 2019

    src,lib: make process.binding('config') internal

    837bfaa

    inspector: move process.binding to internalBinding

    d7eb1a5
  16. BridgeAR
    added 4 commits that reference this issue on Jan 16, 2019

    inspector: move process.binding to internalBinding

    de9b56d

    fs: make process.binding('fs') internal

    43c743d

    src,lib: make process.binding('config') internal

    dc7c05d

    inspector: move process.binding to internalBinding

    03e31ff
  17. BridgeAR
    added 3 commits that reference this issue on Mar 6, 2019

    lib: migrate process.binding to internalBinding

    53d4e04

    lib: migrate process.binding to internalBinding

    ff1958d

    lib: migrate process.binding to internalBinding

    fe6c419
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

    c++Issues and PRs that require attention from people who are familiar with C++.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.

    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.