Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


And you can also do C++ => V => C :)


Do 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)


It 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.


From 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: