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

Register based bytecode #127

Open
playXE opened this issue Jul 27, 2021 · 1 comment
Open

Register based bytecode #127

playXE opened this issue Jul 27, 2021 · 1 comment

Comments

@playXE
Copy link
Collaborator

playXE commented Jul 27, 2021

Stack based bytecode is quite hard to maintain especially when you have to deal with iterators so I want to get register based bytecode in Starlight. We could write a DSL for generating one just like JSC:
https://github.com/WebKit/WebKit/blob/main/Source/JavaScriptCore/bytecode/BytecodeList.rb
https://github.com/WebKit/WebKit/tree/main/Source/JavaScriptCore/generator

@playXE
Copy link
Collaborator Author

playXE commented Jul 28, 2021

Such a change will require almost full execution pipeline rewrite and probably will take about a month or more to finish but I hope it is worth it.

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

No branches or pull requests

1 participant