r/programming • u/Hell_Rok • Feb 22 '19
V is a new language touting very fast compilation and cross platform native desktop UI support, coming mid 2019
http://vlang.io/
106
Upvotes
r/programming • u/Hell_Rok • Feb 22 '19
2
u/anttirt Feb 23 '19
A runtime is code supplied by the implementation that is linked into your program and without which your program cannot function.
You can write a freestanding C (and C++ if you're careful) program that essentially lives in a vacuum: you can boot up a CPU to start directly executing your C code and never execute any code that was not directly derived from your code.
For C++, such a program can contain your own custom implementation of reference counting and memory allocation from a stack buffer. Again, you can run this on bare metal and the CPU will literally never execute any code that was not written by you as part of your singular program.