I would like to know what goes on in the compilers, like gcc and rustc
For further actions, you may consider blocking this person and/or reporting abuse
I would like to know what goes on in the compilers, like gcc and rustc
For further actions, you may consider blocking this person and/or reporting abuse
Osagie Anolu -
seo2 -
Abhishek Vajarekar -
Adebayo Ebofin -
Top comments (6)
A compiler converts your written code into native machine code that is definitely using 0s and 1s and finally the code executes after your machine understands it. A interpreter also works similarly but it converts one line at a time!, and yeah these also picks you up at your syntax errors.
Hope this helped you!
Yeah but how does it convert the code into binary?
machine code and binary are same things
i know, but how does
println!("Hello");
get converted to binarythen you should research more 'bout terminals and consoles
But how are terminals and compilers related?