4 ms·
This is a helpful approach for embedded platforms: Write in a nice language (V), spit out C code that the usually-old embedded toolchain can compile.
by chubs 8y ago
This is a helpful approach for embedded platforms: Write in a nice language (V), spit out C code that the usually-old embedded toolchain can compile.
- amedvednikov 8y agoAnd you can also do C++ => V => C :)
- bogdanoff_2 8y agoDo you have anything to say about C++ => V translation? From what I know C++ is an extremely complex language. How do you deal with the complexity? (Especially considering V is meant to be simple)
- amedvednikov 8y agoIt is ridiculously complex. Right now the size of the C++ translator is 10 times bigger than C and it'll get even bigger. I'll post a detailed article about it soon.
- magicalhippo 8y agoFrom what I could see V does not have templates, so that means you instantiate the templates as part of the conversion to V? How does the resulting V code look like for non-trivial templated code, say something you'd find in one of the more complex Boost libraries?