Re:V Playground
by ilovecaching on Friday March 29, 2019 @11:09PM
(#19527425)
Well we have no idea what it can actually do or how it works because it’s not open source. Based on comments I found while researching him, the code is directly translated to the target language with no intermediary representation, so essentially the backends are hard coded and no optimazations take place.
Re:V Playground
by amedvednikov on Friday March 29, 2019 @11:26PM
(#19527509)
Detailed information about compilation, optimisation, etc is available on the home page and in the docs.
If you need optimization, for now you have to emit C. Like the website says, in the future V will be able to emit optimized machine code.
V will be open sourced this June.
Re:V Playground
by ilovecaching on Friday March 29, 2019 @11:31PM
(#19527533)
Care to point me to your detailed information on your compiler and what your optimizations are?
Re:V Playground
by amedvednikov on Friday March 29, 2019 @11:36PM
(#19527552)
Re:V Playground
by ilovecaching on Friday March 29, 2019 @11:42PM
(#19527584)
Where on your site? Where does it actually talk about how your compiler works in detail and the optimizations it’s running?
Re:V Playground
by amedvednikov on Friday March 29, 2019 @11:54PM
(#19527627)
Ctrl + F "optimiz"
Hmmm I'm not sure if this is true but he says that "V can compile to (human readable) C, so you get the great platform support and optimization of gcc and Clang."[0]
[0] https://github.com/vlang-io/V#run-everywhere