Rust 程序设计语言简体中文版
现在让我们看看通过 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 | 8 天前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 年前3Swift for TensorFlow - 莲叔
Eager-style code, but run as graph. • With full optimization from Graph mode. • Generate graph in compiling stage, then intelligently coordinate it with program during execution. • Transparent graph Since there is no runtime shit in Swift Can directly deduct by AST traverse Generate graph in compiling stage • Compiler will generate TF graph based on static analysis result. • Static type system the approach rather than Python. Reference: Swift for TensorFlow white paper document After Compiling func linear(x : FloatTensor, w : FloatTensor, b : FloatTensor) -> FloatTensor { let tmp = w0 码力 | 56 页 | 3.03 MB | 1 年前3Rust 异步 Runtime 的兼容层 - 施继成
structures and associate functions • Raw functions Compatible layer Macro wrapper • Conditional compiling • Attribute proc macro Compatible layer Data structure wrapper • The same type name but different abstraction Compatible layer Function wrapper • Conditional compiling • Type conversion Compatible layer Limitations • Conditional compiling → global single runtime • External Libs (Http, S3, etc.)0 码力 | 22 页 | 957.41 KB | 1 年前3Kotlin 1.9.10 官方文档 中文版
Kotlin/Native. The compilation of klib artifacts into native code is now partially incremental. When compiling Kotlin source code into native binary in debug mode, the compilation goes through two stages: from 1.6.20, the JS IR compiler generates separate .js files for project modules by default. Compiling the project into a single .js file is now available with the following Gradle property: # gradle flag --parallel . Using this flag, Gradle executes tasks concurrently, increasing the speed of compiling tasks and utilizing the resources more efficiently. You no longer need to use the kotlin.parallel0 码力 | 3753 页 | 29.69 MB | 1 年前3httpd 2.2.29 中文文档
Documentation > Version 2.2 Compiling and Installing This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache HTTP Server. Requirements The following requirements exist for building several mirrors. Most users of Apache HTTPd on unix-like systems will be better off downloading and compiling a source version. The build process (described below) is easy, and it allows you to customize your0 码力 | 1854 页 | 1.48 MB | 1 年前3httpd 2.2.27 中文文档
Documentation > Version 2.2 Compiling and Installing This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache HTTP Server. Requirements The following requirements exist for building several mirrors. Most users of Apache HTTPd on unix-like systems will be better off downloading and compiling a source version. The build process (described below) is easy, and it allows you to customize your0 码力 | 1849 页 | 1.47 MB | 1 年前3httpd 2.2.31 中文文档
Documentation > Version 2.2 Compiling and Installing This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache HTTP Server. Requirements The following requirements exist for building several mirrors. Most users of Apache HTTPd on unix-like systems will be better off downloading and compiling a source version. The build process (described below) is easy, and it allows you to customize your0 码力 | 1860 页 | 1.48 MB | 1 年前3httpd 2.2.27.dev 中文文档
Documentation > Version 2.2 Compiling and Installing This document covers compilation and installation of the Apache HTTP Server on Unix and Unix-like systems only. For compiling and installation on Windows and installation process is described in more detail below, beginning with the requirements for compiling and installing Apache HTTP Server. Requirements The following requirements exist for building several mirrors. Most users of Apache HTTPd on unix-like systems will be better off downloading and compiling a source version. The build process (described below) is easy, and it allows you to customize your0 码力 | 1849 页 | 1.47 MB | 1 年前3
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8