Rust doesn’t have the kind of high performance garbage collection you’d want for this, so starting with unsafe makes perfect sense to me. Hopefully they keep the unsafe layer small to minimise mistakes, but it seems reasonable to me.
For some use cases, that means that "user code" can have no `unsafe`. But implementing a GC is very much not one of those.
Rust is not garbage collected unless you explicitly opt into using Rc/Arc
maxloh•2h ago
https://github.com/boa-dev/boa
ivankra•1h ago
It's impressively compliant, considering it's just a one man project! Almost as fully featured as Boa, plus or minus a few things. And generally faster too, almost double the speed of Boa on some benchmarks.
mrec•50m ago
nicoburns•8m ago