starlight icon indicating copy to clipboard operation
starlight copied to clipboard

Register based bytecode

Open playXE opened this issue 4 years ago • 1 comments

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 avatar Jul 27 '21 06:07 playXE

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.

playXE avatar Jul 28 '21 05:07 playXE