|
- How do I create my own programming language and a compiler for it
A "compiler" is any device that translates from one programming language to another One of the nice things about having a C# compiler that turns C# into IL, and an IL compiler (the "jitter") that turns IL into machine code, is that you get to write the C# compiler to IL (easy!), and put the processor-specific optimizations in the jitter
- history - Why was the first compiler written before the first . . .
The first compiler was written by Grace Hopper in 1952 while the Lisp interpreter was written in 1958 by John McCarthy's student Steve Russell Writing a compiler seems like a much harder problem t
- compiler - Does an interpreter produce machine code? - Software . . .
A Java compiler produces code for the JVM So the target machine of a compiler can be a virtual machine that is not executed directly by the hardware The main difference between interpreter and compiler is that a compiler first checks and translates the whole source code into a target machine language This compiled code is then executed by the machine it was meant for On the other hand, an
- How Does A Compiler Work? - Software Engineering Stack Exchange
A compiler is a program that translates the source code for another program from a programing language into executable code The source code is typically in a high-level programming language (e g Pascal, C, C++, Java, Perl, C#, etc )
- Is Ken Thompsons compiler hack still a threat?
Ken Thompson Hack (1984) Ken Thompson outlined a method for corrupting a compiler binary (and other compiled software, like a login script on a *nix system) in 1984 I was curious to know if modern
- Why doesnt Python need a compiler? - Software Engineering Stack Exchange
Just wondering (now that I've started with C++ which needs a compiler) why Python doesn't need a compiler? I just enter the code, save it as an exec, and run it In C++ I have to make builds and a
- c++ - Is it bad practice to write code that relies on compiler . . .
Fortunately, you don't seem to be doing this When it comes to performance, you have to rely on compiler-specific behavior in general, and compiler optimizations in particular A standard-compliant compiler is free to compile your code in any way it wants to, as long as the compiled code behaves according to the language specification
- What is the history of the C compiler? - Software Engineering Stack . . .
The first C compiler written by Dennis Ritchie used a recursive descent parser, incorporated specific knowledge about the PDP-11, and relied on an optional machine-specific optimizer to improve the assembly language code it generated The first C compiler was also written by him, in assembly This page from bell-labs answers most of your questions
|
|
|