-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration of core modules to primordials #30697
Comments
Is there somewhere I can find out about |
@aduh95 node/lib/internal/per_context/primordials.js Lines 5 to 7 in 141a6e3
|
PR-URL: #30936 Refs: #30697 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #30936 Refs: #30697 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
I would love to, but unfortunately that time conflicts with childcare duties. I could potentially call in towards the later part of that hour - after 11:40AM EDT or so - if the meeting goes that long. Is that an option? |
thanks @ljharb . Ideally the meeting runs for an hour, so it is technically possible to adjust the agenda to meet this need. Also I don't think the pitch needs all the three proponents to be available at the same time. I will work with the chair to accommodate this. thanks! |
Typically i'd have that whole hour free, but this particular Wednesday I also do childcare, so I'll be able to call in the last 20-15 minutes of that hour (any time between ~11:45AM ET - 12:30PM ET) |
This should be fine for me |
I can not guarantee to be able to participate tomorrow due to some work obligations. |
pls standby, I will let you know in few mins. |
just sent you the details over mail, pls check |
@gireeshpunathil: I’m the champion of the new bind-this operator proposal that is partially motivated by Node’s primordials use case, and which I will present to the next TC39 plenary. I’d like to listen in on the TSC meeting too, if that would be appropriate. |
It's being discussed right now, you can follow along on the public stream: https://www.youtube.com/c/nodejs+foundation/live |
Per discussion at the TSC meeting today, we need more @nodejs/tsc folks to get involved in identifying all viable options (and eliminating options that are not viable). |
In a previous TSC meeting there was a question regarding if it was possible to use primordials only in internal modules related to ESM implementation. Here's the list of all the dependencies of the
So it's a long list, you can also check the visual dependecy graph if that helps. |
In fairness, I think the API footprint is significantly lower and some of those modules are not strictly used but pulled for other APIs. |
Removed from TSC agenda as we tagged the issue in the TSC repo for the vote instead. That issue refers to this one. |
This is a tracking issue for the migration of core modules to use builtins from the
primordials
object.At the moment, for performance-sensitive code, only static methods and global functions should be migrated. V8 8.0 might have the optimization that we need to migrate prototype methods.
The text was updated successfully, but these errors were encountered: