logoalt Hacker News

whatsakandrtoday at 12:30 AM2 repliesview on HN

Yes it's slower, but it works. It's being built by one single dad who focused on compatibility before speed.

I'm not convinced that tying the lifetimes into the type system is the correct way to do memory management. I've read too many articles of people being forced into refactoring the entire codebase to implement a feature.


Replies

brucehoulttoday at 1:32 AM

> built by one single dad

Not some random dad, but a GC expert and former leader of the JavaScript VM team at Apple.

achieriustoday at 12:39 AM

I can tell you that it's not that he's setting aside speed -- the fact that it's as fast as it is is an achievement. But there is a degree of unavoidable overhead -- IIRC his goal is to get it down to 20-30% for most workloads, but beyond that you're running into the realities of runtime bounds checks, materializing the flight ptrs, etc.

show 1 reply