Hacker News new | ask | show | jobs
by seanmcdirmid 2877 days ago
It isn’t clear how they will allow safe access to the DOM without GC. Maybe they’ll take an approach like Microsoft did with UWP and use reference counting?
1 comments

Would be interesting if it would be possible to take the Rust approach and guarantee at parse/compilation time that the DOM interactions are safe without runtime overhead. Probably a terrible idea for mobile devices though...
That would only work if it isn’t shared with unsafe code.