vlang / ved

1 MB text editor written in V with hardware accelerated text rendering. Compiles in <1s.
GNU General Public License v3.0
1.34k stars 78 forks source link

Garbage collector. #146

Closed saumil-ventura closed 1 year ago

saumil-ventura commented 1 year ago

why do you use boehm garbage collector ? doesn't vlang work with autofree engine ? will vlang continue to use boehm gc ?

ylluminate commented 1 year ago

Autofree largely works at this point, but there's something like a 10% remainder/edgecase issue at this point that's requiring a significant amount of additional effort to resolve. The short answer is that yes, autofree will work fully at some point, but for now the GC implementation is surprisingly very effective and performant - far more so than anyone had initially expected and so it's more than satisfactory for the time being to facilitate focus on the more important elements of the language that are necessary for wider adoption.