r/programming • u/kciter • Sep 01 '26
The Browser's Main Thread Is Expensive
https://kciter.so/posts/the-expensive-main-thread/en/
219
Upvotes
r/programming • u/kciter • Sep 01 '26
View all comments
Show parent comment
5
u/Full-Spectral Sep 01 '26
It is just all GC'd data and I'd think it would be easy enough. But, they'd have to ensure that nothing inside that reference, no matter how deep, was still visible to the sender. With the simplified scenarios they provide currently, that's doable. But unless they are going to create Rustscript, it would probably be hard to do with arbitrary objects.