← Back to context

Comment by mike_hearn

1 year ago

Yes but from your web page about it, Fil-C does things like allocate all local variables on the heap and runs code 50x slower. Bounds checks+GC don't impose such a high level of overhead.

And my web page about it also says that I haven’t optimized it yet.

It’s not necessary to allocate all locals in the heap and have 50x overhead. It’s that way now because I’m only just getting started.

Bounds checks + an unsound conservative GC isn’t worth the overhead it imposes since it still leaves your code memory unsafe.