-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Temporal support (TC39 stage 3 proposal) #15853
Comments
This comment has been minimized.
This comment has been minimized.
Not the same temporal |
This is embarrassing. Sorry. 😊 |
This would be great. It looks as though in Safari whose JavaScript engine, JavaScriptCore, Bun is using, has preview support with the |
The patches contain just a stub, only 2 empty objects. |
It would be great to have it |
Looking upstream in JSC, despite the issue showing no movement in years, I see they've got an experimental implementation of Temporal: https://github.com/search?q=repo%3AWebKit%2FWebKit%20Temporal&type=code I wonder if Bun could enable this experimentally like Deno did with the V8 Temporal implementation 👀 |
@Jarred-Sumner, isn't it only for the empty stub |
@notramo I would recommend running the Temporal Test262 Suite against it (if I find time this weekend I might run it and report back) but from the C++ it looks at least vaguely implemented-ish? |
NodeJS wants to unflag it |
Yes, we'd like to unflag it in node.js but still keep it marked as experimental, at least until v8's test coverage numbers are close to 100 and v8 chooses to expose it by default without the flag. |
The current thinking is that we likely will not actually merge the PR until after 24.0.0 is cut in April and keep it as experimental until v8's test coverage finally catches up. |
What is the problem this feature would solve?
The Temporal API is already supported by Deno and the Boa JS engine.
https://github.com/tc39/proposal-temporal
What is the feature you are proposing to solve the problem?
Implement Temporal in Bun.
What alternatives have you considered?
Slow and heavy polyfills.
The text was updated successfully, but these errors were encountered: