News for hackers. Stuff that matters.
Re:About V, the language Volt is written in by dom96 on Wednesday February 06, 2019 @06:26PM (#19101243)
Very interesting. What I'm curious about is how this language is compiled, the implication seems to be that it gets translated to C/C++ which seems to overlap a lot with what we are doing with Nim :)
Re:About V, the language Volt is written in by strmpnk on Wednesday February 06, 2019 @07:22PM (#19101718)
It seems to be an option to compile to C for platform support, but the page also says:

> V is compiled directly to x86_64 machine code (ARM support is coming later) with no overhead, so the performance is on par with C.

Which is interesting. There is a lot more information required still but direct may also imply that it's doing the actual instruction scheduling too rather than relying on LLVM. I'm looking forward to hearing more.

Re:About V, the language Volt is written in by amedvednikov on Wednesday February 06, 2019 @09:37PM (#19102459)
LLVM is not used.
Re:About V, the language Volt is written in by amedvednikov on Wednesday February 06, 2019 @08:54PM (#19102224)
Originally it was compiled to C, now there's also an option to generate machine code directly which improved compilation time by a factor of 10.
Re:About V, the language Volt is written in by calebwin on Tuesday February 12, 2019 @06:22PM (#19148748)
Would you mind explaining why compiling to machine code was faster than to C?