安裝中文字典英文字典辭典工具!
安裝中文字典英文字典辭典工具!
|
- c - How to write a very basic compiler - Software Engineering Stack . . .
Go with an existing educational language instead, and focus on learning about compilers The following two are specifically designed for classroom use in compiler courses and by extension are great for a hobby compiler project ChocoPy ChocoPy is a concise Python subset, which can be implemented in a time-frame reasonable for a hobby compiler
- programming languages - Why doesnt Python need a compiler? - Software . . .
The majority of modern high-performance language implementations combine both an interpreter and a compiler (or even several compilers) for maximum performance Actually, it is impossible to run any program without an interpreter After all, a compiler is just a program which translates a program from one language to another language
- testing - How come compilers are so reliable? - Software Engineering . . .
I've seen several compiler bugs, reported a few myself (specifically, in F#) That said, I think compiler bugs are rare because people who write compilers are generally very comfortable with the rigorous concepts of computer science that make them really conscious about the mathematical implications of code
- Compiler Warnings - Software Engineering Stack Exchange
The compiler has been written by total experts in the language If they are reporting that something is a bit wiffy (think code smell) then the code should be reviewed It is entirely possible to write code that compiles without errors and without warnings
- compiler - How do binary numbers interact with the CPU and cause some . . .
A compiler operates at a logical level, not concerning itself with physical storage, but rather with groupings of 1's and 0's — several different kinds of groupings The first grouping is text files aka source code, and the second grouping is machine code
- Is Ken Thompsons compiler hack still a threat?
There's a theoretical chance for this to happen There is, however, a way of checking if a specific compiler (with available source code) has been compromised, through David A Wheeler's Diverse double-compiling Basically, use both the suspected compiler and another independently developed compiler to compile the source of the suspect compiler
- compiler - Why might it be difficult to make a 64 bit version of a . . .
The moral of the story is to write clean code and do not try to second-guess the compiler or add clever optimizations that are not needed, can break the software, and probably do not help anyway This article goes into far more detail than I could hope to include in this answer: 20 issues of porting C++ code on the 64-bit platform
- Why are there so few C compilers?
The question is based upon a false premise Analog Devices, armcc, Bruce's C Compiler, the Bare-C Cross Compiler, the Borland compiler, the clang compiler, the Cosmic C compiler, the CodeWarrior compiler, the dokto compiler, the Ericsson compiler, and I'm not even out of the first five letters of the alphabet yet
|
|
|