Re:Nova: A JavaScript and WebAssembly engine written in Rust
by eviks on Thursday May 29, 2025 @12:28PM
(#44127618)
Given the fact that you were so precise in your time estimate on interleaved garbage collection, how long do you think it would take to get to 99% of the tests?
[ Parent
| on HN ]
Re:Nova: A JavaScript and WebAssembly engine written in Rust
by aapoalas on Thursday May 29, 2025 @01:49PM
(#44128410)
Haha, I think that was a one time fluke! :D
I'm aiming for something like 75-85% this year; basically get iterators properly done (they're in the engine but not very complete yet), implement ECMAScript modules, and then mostly focus on correctness, builtins, and performance improvements after that. 99% would perhaps be possible by the end of next year, barring unforeseeable surprises.
Re:Nova: A JavaScript and WebAssembly engine written in Rust
by kumavis on Thursday May 29, 2025 @02:10PM
(#44128632)
have you considered using js polyfills to help you get closer to 100% coverage and then replacing with native implementations prioritized by performance impact?
Re:Nova: A JavaScript and WebAssembly engine written in Rust
by aapoalas on Thursday May 29, 2025 @05:33PM
(#44130605)
Not really, no. Its an interesting proposition, but for the most part I believe I'll be sticking it out the "hard way". The ECMAScript spec is fairly easy to read as well, after all. (Nevermind that I spent the single free hour I had today cursing at my incapability of understanding what is going wrong with my iterator code and what it even should do vis-à-vis the spec :D )