Remix.run Logo
whatsakandr 2 hours ago

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.

brucehoult an hour ago | parent | next [-]

> built by one single dad

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

achierius 2 hours ago | parent | prev [-]

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.

gmueckl 27 minutes ago | parent [-]

20% to 30% slower would be amazing for all the extra runtime work that is required in my limited understanding. This would be good enough for a whole lot of serious applications.