-
Notifications
You must be signed in to change notification settings - Fork 257
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
feature: Use QuickJS instead of V8 #1690
Comments
/bounty 350$ |
💎 $350 bounty created by tailcallhq 🙏 Thank you for contributing to tailcallhq/tailcall!.
|
/attempt
|
/attempt #1690
|
@abhishek818 |
On the queue. As my main focus is Node, it'd be very fun to work on this 😄 |
@abhishek818 |
this might be helpful for console.log functionality in handlers. |
@tusharmath, why not use a node-compatible runtime? Having non-V8-based/backward compatibility can bring issues for users, as everyone is already used to V8 and knows how it works. If we move forward in getting something non-V8 compatible, we need extensive examples/docs from the users. If I were using JS with tailcall and suddenly my stuff stopped working because of a different runtime, I'd think deeply about dropping from tailcall. |
as the doc says |
I don't have any examples @webbdays, nor I'm sure it'll break 😅 Only adding this concern to the discussion 🚀 |
Node is an independent runtime, nothing is truly node compatible, not even deno or bunjs. Tailcall doesn't need to be a full-fledged JS runtime because JS is just used to write light weight logic to modify requests and responses.
V8 and QuickJS might not be all that different. Here is the feature comparison https://test262.fyi/#|v8,qjs
I don't think users even know if they are on v8 or not. QuickJS has a reasonable coverage of features, so I don't things will just stop working. Also checkout what AWS is doing in their LLRT https://github.com/awslabs/llrt/blob/main/Cargo.toml#L21 |
/attempt
|
Note The user @abhishek818 is already attempting to complete issue #1690 and claim the bounty. We recommend checking in on @abhishek818's progress, and potentially collaborating, before starting a new solution. |
@abhishek818: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
@mayant15: Reminder that in 1 days the bounty will become up for grabs, so please submit a pull request before then 🙏 |
💡 @mayant15 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
🎉🎈 @mayant15 has been awarded $350! 🎈🎊 |
Migrate from the current JS implementation to use QuickJS.
Technical Requirements
Additional Details
The text was updated successfully, but these errors were encountered: