Questions tagged [compilation]

62 questions
38
votes
6 answers

Are long compiles a thing of the past?

There are countless war stories about how long a compile can take. Even xkcd made a mention of it. Now, I haven't been programming for a long time and have mostly just been exposed to Java and Python (and Python is an interpreted language, not a…
Thunderforge
  • 2,708
  • 3
  • 24
  • 30
1
vote
5 answers

Where is the boundary between a programming language and the operating system itself

When a program is compiled, the code eventually ends up as instructions that can be executed by the processor. When for example a C program that writes data to a file is compiled, what code is in the executable file, is it just the code to call the…
iArnold
  • 119
0
votes
2 answers

How to translate from a programming language to another?

I want to write a small DSL that will need to compile to another high level programming language (similar to C, but a lot more limited). What is the high level overview of what the compiler should do? To clarify, I'm especially interested into a…
m fran
  • 131