Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
Option to have a shared V8 library? | GoodFirstPicks

Option to have a shared V8 library?

nodejs/node 14 comments 1mo ago
View on GitHub
highopenScope: somewhat clearSkill match: maybeNode.jsJavaScript

Why this is a good first issue

This requires significant expertise in V8 and Node.js build systems.

AI Summary

The issue proposes making V8 a shared library to reduce build times and enable caching in functional package managers. This requires modifying the build system to link Node.js with `v8_monolith.a` and potentially creating a shared library. The task involves wrestling with gyp configs and understanding V8 internals, with no clear blockers but significant complexity.

Issue Description

What is the problem this feature will solve?

In distros like NixOS and GuixSD, building NodeJS from scratch is a heavy computation. Building V8 seperately for NodeJS is not only computationally heavy, but it also makes caching the good parts of the library impossible for a simple failed test. It is painful having to wait for a day to have a package build, only for the tests to fail for the package maintainer to disable or patch them one by one per build.

What is the feature you are proposing to solve the problem?

With V8 as a shared library, it would be possible to not only cache the dependency in a functional package manager, but also use it with other packages that require them.

What alternatives have you considered?

None, as I've read somewhere than v8 dependencies are patched, which would make it impossible to use vanilla v8 alongside.

GitHub Labels

help wantedv8 enginefeature request

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 10 points when you complete it!

Risk Flags

  • requires deep V8 knowledge
  • potential architectural changes
  • gyp config complexity
Loading labels...

Details

Points10 pts
Difficultyhigh
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno