Programmer’s Guide for Free Pascal, Version 3.2.2
2.2 Exporting variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 7.2.3 Compiling libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 7.2.4 Unit searching E.8.6 Informative rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 F Compiling the compiler 175 F.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before starting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 F.3 Compiling using make . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 F.3.1 Basic compilation0 码力 | 187 页 | 531.58 KB | 1 年前3User’s Guide for Free Pascal, Version 3.2.2
configuration steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.4 Before compiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 2.5 Testing the compiler . . . . . . . . . . . . . . . . . . . 21 3.2 Compiling a program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.3 Compiling a unit . . . . . . . . . . . . . . . . . . . . 5 Reducing the size of your program . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4 Compiling problems 23 4.1 General problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 217 页 | 756.57 KB | 1 年前3Rust 程序设计语言简体中文版
现在让我们看看通过 Cargo 构建和运行 “Hello, world!” 程序有什么不同!在 hello_cargo 目录 下,输入下面的命令来构建项目: $ cargo build Compiling hello_cargo v0.1.0 (file:///projects/hello_cargo) Finished dev [unoptimized + debuginfo] target(s) 的输出。Cargo 发现文件并没有被 改变,所以它并没有重新编译,而是直接运行了可执行文件。如果修改了源文件的话,Cargo 会在运行之前重新构建项目,并会出现像这样的输出: $ cargo run Compiling hello_cargo v0.1.0 (file:///projects/hello_cargo) Finished dev [unoptimized + debuginfo] target(s) } 现在使用 cargo run 命令,一步完成 “Hello, world!” 程序的编译和运行: 23/600 Rust 程序设计语言 简体中文版 $ cargo run Compiling guessing_game v0.1.0 (file:///projects/guessing_game) Finished dev [unoptimized + debuginfo]0 码力 | 600 页 | 12.99 MB | 1 年前3Rust 程序设计语言 简体中文版 1.85.0
现在让我们看看通过 Cargo 构建和运行 “Hello, world!” 程序有什么不同!在 hello_cargo 目录 下,输入下面的命令来构建项目: $ cargo build Compiling hello_cargo v0.1.0 (file:///projects/hello_cargo) Finished dev [unoptimized + debuginfo] target(s) 的输出。Cargo 发现文件并没有被 改变,所以它并没有重新构建,而是直接运行了二进制文件。如果修改了源文件的话,Cargo 会在运行之前重新构建项目,并会出现像这样的输出: $ cargo run Compiling hello_cargo v0.1.0 (file:///projects/hello_cargo) Finished dev [unoptimized + debuginfo] target(s) println!("Hello, world!"); } 现在使用 cargo run 命令,一步完成 “Hello, world!” 程序的编译和运行: $ cargo run Compiling guessing_game v0.1.0 (file:///projects/guessing_game) Finished `dev` profile [unoptimized +0 码力 | 562 页 | 3.23 MB | 9 天前3The Rust Programming Language,2nd Edition
ex- pression is over, and the next one is ready to begin. Most lines of Rust code end with a ;. Compiling and Running Are Separate Steps In “Writing and Running a Rust Program”, we showed you how to run you come from a C or C++ background, you’ll notice that this is similar to gcc or clang. After compiling successfully, Rust should output a binary executable, which you can see on Linux or OSX by entering terminal. If you come from a dynamic language like Ruby, Python, or JavaScript, you may not be used to compiling and running a program being sep- arate steps. Rust is an ahead-of-time compiled language, which0 码力 | 617 页 | 1.54 MB | 1 年前3Angular CLI Tutorial
\>Node\>TutorialsPoint> ng build Compiling @angular/animations : es2015 as esm2015 Compiling @angular/core : es2015 as esm2015 Compiling @angular/compiler/testing : es2015 as esm2015 Compiling @angular/animations/browser es2015 as esm2015 Compiling @angular/core/testing : es2015 as esm2015 Compiling @angular/common : es2015 as esm2015 Compiling @angular/platform-browser : es2015 as esm2015 Compiling @angular/common/http @angular/common/http : es2015 as esm2015 Compiling @angular/common/testing : es2015 as esm2015 Compiling @angular/platform-browser-dynamic : es2015 as esm2015 Compiling @angular/platform-browser/testing : es20150 码力 | 64 页 | 1.04 MB | 1 年前3从零蛋开始学 Rust
����� movies::english::comedy::play("Airplane!".to_string()); } [www.badu.com]$ cargo run Compiling guess-game-app v0.1.0 (/Users/Admin/Downloads/guess-game-app) Finished dev [unoptimized + debuginfo] �� Cargo.toml ������ �� Cargo.toml ���� [dependencies] ����� ���������� $ cargo build Compiling movie_lib v0.1.0 (/Users/Admin/Downloads/rust/movie_app/movie_lib) Finished dev [unoptimized �������������������������� ������ ������� $ cargo run Compiling movies_lib v0.1.0 (/Users/Admn/Downloads/rust/movie_app/movie_lib) Compiling movie_lib_test v0.1.0 (/Users/Admin/Downloads/rust/m0 码力 | 168 页 | 1.24 MB | 1 年前3Just-in-Time Compilation - J F Bastien - CppCon 2020
primitives than even what a CISC processor does. JiTs can benefit from this size saving by only compiling the code that matters, and leaving the rest in a compressed form.3. Interpreted programs tend to word…Java “Java” That’s right, I said it, at a C++ conference…Java At least I didn’t say “Rust”…Compiling Java just in time Avoiding unnecessary overhead is crucial for fast compilation. In many compilers compilers, constructing an intermediate representation (IR) of a method is a standard process. When compiling from Java bytecode, however, we can eliminate that overhead. The bytecodes themselves are an IR0 码力 | 111 页 | 3.98 MB | 5 月前3Coroutines in Kotlin
Motivation/Examples • Solutions in other languages • Kotlin’s Solution – Client code – Library code • Compiling Coroutines • Exception Handling • Appendix. Serializable Coroutines? “Legal” • All I’m saying suspend fun yield(value: T, c: Continuation) { setNext(value) setNextStep(c) } ... } Compiling to State Machines generate { var cur = 1 var next = 1 yield(1) while (true) { yield(next) next = 1 yield(1) while (true) { yield(next) val tmp = cur + next cur = next next = tmp } } Compiling Coroutines (I) class fibonacci$1 implements Function1, Continuation { private GeneratorController 0 码力 | 39 页 | 1.01 MB | 1 年前3The Go frontend for GCC
converted to GENERIC. I describe the structure of the frontend and the IR, issues that arise when compiling the Go language, and issues with hook- ing up any frontend to the gcc middle-end. 1 Introduction be static to this package. So gccgo must build all such tables here, in case it needs them when compiling some other package. 12. Gccgo walks the IR looking for all uses of && and || and converts them package name, the name of the initial- ization function, and the package priority. This is used when compiling the main package to call all required initialization routines. The list is inclu- sive, in that0 码力 | 14 页 | 122.25 KB | 1 年前3
共 931 条
- 1
- 2
- 3
- 4
- 5
- 6
- 94