Skip to content
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

Update to QuickJS-ng #124

Closed
wants to merge 2 commits into from
Closed

Update to QuickJS-ng #124

wants to merge 2 commits into from

Conversation

saghul
Copy link

@saghul saghul commented Nov 30, 2023

@justjake
Copy link
Owner

If we don’t need any build system changes here though, I’d consider switching over. What is the advantage of quickjs-ng over the original? I see BigFloat/BigDecimal was removed and BigInt made unconditional (seems good) and a switch to CMake (it’s fine as long as it doesn’t affect me). I also see some discussion of moving source files around, which I seems like needless breakage.

@justjake
Copy link
Owner

Is there discussion of quickjs-ng on the quickjs-devel mailing list?

@saghul
Copy link
Author

saghul commented Nov 30, 2023

Hey there! We've added many new ES features like top level await, multiple array and object methods, weakref, etc.

So far we have tried to keep this "as they were" for the most part :-)

I have personally reached out to the original authors and got a positive reply, looks like there won't be further development in the original project.

@saghul
Copy link
Author

saghul commented Nov 30, 2023

Interesting the stack check tests fail. In the original project it's if-defd out on emscripten but I now realize you were overrridin that. Does it work? If so I guess we could just remove the gating in NG.

@justjake
Copy link
Owner

justjake commented Dec 9, 2023

I think the gating may be due to a desire to limit size of emscripten build by default, but I'm not sure. It seems to work in my tests. I did notice today when publishing the new version that the DEBUG_ASYNCIFY variant now fails with some stack issue, i reduced the number of frames we need to support there (DEBUG_ASYNCIFY is quite inefficient...)

@justjake
Copy link
Owner

justjake commented Jan 1, 2024

Closing in favor of #135

@justjake justjake closed this Jan 1, 2024
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.

2 participants