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.
No plans to support C compilation for now, translation works well enough.
So not yet.
But we are planning to translate SQLite soon and yes the Linux kernel at some point.
I was just wondering to which scale it would stretch properly.
Thanks for your replies.
It will never be as optimized as cc -O2 though, and it will never be as portable as C, so C will always stay an option.
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!