https://vlang.io
Fast compilation
V compiles 1.5 million lines of code per second per CPU corecd doom3/ wc -l doom3.v # 458 713 time v doom3.v # 0.5s
Safety
No globals
No null
Option types
Immutability by default
Partially pure functions
C/C++ translation
V can translate your entire C/C++ project and offer you the safety, simplicity, and up to 200x compilation speed up.
std::vector s; s.push_back("V is "); s.push_back("awesome"); std::cout << s.size(); s := [] s << 'V is ' s << 'awesome' println(s.len)Read about translating Doom & Doom 3, LevelDB, SQLite.
400 KB compiler with zero dependencies *
The entire V language and its standard library is less than 400 KB. You can build V in 0.3 seconds.
For comparison:
Space requiredBuild timeGo525 MB1m 33sRust30 GB18mgcc8 GB50mClang15-20 GB25mSwift70 GB *90mV0.4 MB0.3s
Performance
As fast as C
Minimal amount of allocations
Built-in serialization without reflection
Hot code reloading
Get your changes instantly without recompiling!
Since you also don't have to waste time to get to the state you are working on after every compilation, this can save a lot of precious minutes of your development time.
Native cross platform UI library
Build native apps that look native. You no longer need to embed a browser to develop cross platform apps quickly.
Run everywhere
V can compile to (human readable) C, so you get the great platform support and optimization of gcc and Clang.
Fast compilation
V compiles 1.5 million lines of code per second per CPU corecd doom3/ wc -l doom3.v # 458 713 time v doom3.v # 0.5s
Safety
No globals
No null
Option types
Immutability by default
Partially pure functions
C/C++ translation
V can translate your entire C/C++ project and offer you the safety, simplicity, and up to 200x compilation speed up.
std::vector s; s.push_back("V is "); s.push_back("awesome"); std::cout << s.size(); s := [] s << 'V is ' s << 'awesome' println(s.len)Read about translating Doom & Doom 3, LevelDB, SQLite.
400 KB compiler with zero dependencies *
The entire V language and its standard library is less than 400 KB. You can build V in 0.3 seconds.
For comparison:
Space requiredBuild timeGo525 MB1m 33sRust30 GB18mgcc8 GB50mClang15-20 GB25mSwift70 GB *90mV0.4 MB0.3s
Performance
As fast as C
Minimal amount of allocations
Built-in serialization without reflection
Hot code reloading
Get your changes instantly without recompiling!
Since you also don't have to waste time to get to the state you are working on after every compilation, this can save a lot of precious minutes of your development time.
Native cross platform UI library
Build native apps that look native. You no longer need to embed a browser to develop cross platform apps quickly.
Run everywhere
V can compile to (human readable) C, so you get the great platform support and optimization of gcc and Clang.
요즘 여러 언어 막 짬뽕한 느낌인데 재미난게 그냥 기계어로도 컴파일하고(llvm 안 쓰고), 휴먼 리더블 C로도 컴파일 해준다고 함
러스트갤에 쓰는이유는
코드보니 gc나 shared_ptr 무조건 필요할거같은데 어떻게 그냥 vector로 변환되는거지
제네릭은 있는거같은데 클로저는 어찌되나
상세 스펙은 다음 달 공개인 듯 나오기도 전에 빨아야 힙.스.터 ㅋㅋ
C++보단 Go에 많이 가까운것같다 추상화 인터페이스로하면 ㅈㅈ칠것