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

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


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.


LLVM is not used.


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.


Would you mind explaining why compiling to machine code was faster than to C?




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

Search: