starlight
starlight copied to clipboard
JS engine in Rust
Snapshots are cool but they tend to consume some heap memory and require a fully initialized heap. When we will switch to [Comet](https://github.com/starlight-js/comet) as our GC we should replace snapshots...
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...
We need faster and easier to use calling convention. For this purpose we have to know function stack size ahead of time (done in 0f5d078e1399c7ef41e45ecb298fcffd57d4571c) and allocate memory on the...
```js let x = 0; function f() { let x = 1; g(); print(x); } function g() { print(x); x = 2; } ``` ``` Code block 'f' at 0x7f4e715d3718:...
We could expose an API, for example, `register_class` to register a custom class in the global object.
This issue was used to track all problems about the `try-catch finally` statement problem. Known Issues: #7 Pr: #60 Known Problems: - throw in catch clause ``` try { }...
Starlight needs support for code like this: ```js function foo() { try { return 1; } finally { return 2; } } ``` Right now it returns `1` but should...
right now, we have a bunch of warnings in Clippy. We could fix them gradually. And set up Clippy in Ci at last.
It would be nice if using CI we could provide daily builds of starlight. We might build them per commit or once a day (if it is possible).
currently, the `spacebit_map` and `block_allocator` are not compatible with `wasm`. We could implement a `wasm` feature, with specific `spacebit_map` and `block_allocator` enabled for it.