Skip to content

Pointer compression and Node modules #26756

Description

@hashseed

V8 is fairly close to reaching a state where we can enable pointer compression. It will be a build time flag for the embedder to enable. Implications are:

  • Significant memory savings. Some experiments show 30% smaller V8 heap size, in Chrome.
  • Slightly worse performance, at least for now. We are confident that it could actually perform better.
  • Upper limit of 4GB memory, at least for now.
  • Different ABI, so Node modules for non-pointer-compressed builds are incompatible with pointer-compressed builds.

Discuss!

Activity

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

    discussIssues opened for discussion and feedback.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions