by amedvednikov · 4y ago · 0 comments
We're really excited about this release.
This is a big one. 5769 commits pushed to master, 1697 bugs closed. The highlights of this release are C2V, a fully automatic C => V source code translator, closures, and no more memory leaks by default.
There's a really cool C2V demo:
https://www.youtube.com/watch?v=6oXrz3oRoEg
Translating DOOM from C to V, building it in under a second and running it!
Or maybe 100% of it isn't translated but compiled to object files with a compiler with V generating wrapper functions. I have no idea what to expect
I just never heard of anyone using V and it actually working as they expect
Rather than assume, you can use V and find out for yourself what works and what doesn’t.
Why would I bother? It's been shown the author says one thing while reality shows another
> Translating DOOM from C to V
Like, you can literally translate a C project to V without any manual intervention?
Migrating older projects from C to a nicer newer language.
By moving from C to V you get rid of complex makefiles, headers (you get nice clean modules instead), you get a modern stdlib with strings etc (although C strings aren't converted to V strings by C2V yet), much easier cross compilation, etc.