Skip to content

Sync from bellard/ #984

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

Merged
merged 5 commits into from
Mar 23, 2025
Merged

Sync from bellard/ #984

merged 5 commits into from
Mar 23, 2025

Conversation

saghul
Copy link
Contributor

@saghul saghul commented Mar 17, 2025

Currently missing:

The former doesn't apply cleanly so I'll have to massage it. The latter seems to rely on some changes on how var args are kept that we currenly differ on. Thoughts on that @bnoordhuis ?

@bnoordhuis
Copy link
Contributor

That second commit likely applies better if you revert 0b0b794 first.

@saghul
Copy link
Contributor Author

saghul commented Mar 17, 2025

That second commit likely applies better if you revert 0b0b794 first.

Ah, thanks for the pointer! Do we want to go with the approach on bellard/ or are we ok as is?

@bnoordhuis
Copy link
Contributor

I'm okay with using the bellard/master commit. It doesn't really matter from a functional change perspective, it's mostly cosmetic.

@saghul
Copy link
Contributor Author

saghul commented Mar 18, 2025

New BigInt implementation: bellard/quickjs@61e8b94

@past-due
Copy link
Contributor

New dtoa (Tiny float64 printing and parsing library) implementation: bellard/quickjs@9936606

@saghul
Copy link
Contributor Author

saghul commented Mar 21, 2025

There is a couple of large ones, I'll have to break this down into a few PRs I think.

@saghul
Copy link
Contributor Author

saghul commented Mar 21, 2025

@bnoordhuis PTAL. I'll make separate PRs for the BigInt and dtoa changes, since they are quite large.

Copy link
Contributor

@bnoordhuis bnoordhuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSLGTM but can you explain in the commit log of the revert it's reverted to make room for a patch from elsewhere? Commit logs should explain what and why.

@saghul
Copy link
Contributor Author

saghul commented Mar 23, 2025

Can do!

saghul and others added 3 commits March 23, 2025 16:44
This reverts commit 0b0b794.

This makes our code closer to bellard/quickjs, which makes applying the
commit right after this one simpler.
@saghul saghul merged commit 81806be into master Mar 23, 2025
128 checks passed
@saghul saghul deleted the sync-17-03 branch March 23, 2025 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants