finally someone doing something in cpp thats not a game!
@HelloworldXY32
23 сағат бұрын
I always wondered; are compilers typically written in C/C++? For some reason I expected it to be done in Assembly. Also, have you thought about trying it out in Rust?
@louisb0-yt
17 сағат бұрын
It really depends. The biggest compiler backend, LLVM, is written in C++. The v8 engine which runs a lot of the worlds JavaScript (while not a compiler, but an interpreter) is also written in C++. A lot of big languages, e.g. Go, write their compiler first in C/C++, then re-write it in their own language. I'm not too sure the trade-offs made or why the creators chose these. Assembly would take forever to write :)
@sikepoop430
Күн бұрын
What are you doing? What kind of project are you working on?
@louisb0-yt
Күн бұрын
A compiler - it's the piece of software that translates your code in text into instructions for the CPU
Пікірлер: 6