Rust 程序设计语言 简体中文版 1.85.0Issue 和 PR :) 10/562Rust 程序设计语言 简体中文版 入门指南 让我们开始 Rust 之旅!有很多内容需要学习,但每次旅程总有起点。在本章中,我们会讨论: • 在 Linux、macOS 和 Windows 上安装 Rust • 编写一个打印 Hello, world! 的程序 • 使用 Rust 的包管理器和构建系统 cargo 11/562Rust 程序设计语言 字符表示命令行提示符,仅用于提示每 行命令的起点。不以 $ 起始的行通常展示前一个命令的输出。另外,PowerShell 专 用的示例会采用 > 而不是 $。 在 Linux 或 macOS 上安装 rustup 如果你使用 Linux 或 macOS,打开终端并输入如下命令: $ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf Rust 包依赖于 C 代码,因此需要安装一 个 C 编译器。 在 macOS 上,你可以通过运行以下命令获得 C 语言编译器: $ xcode-select --install Linux 用户通常需要根据发行版(distribution)文档安装 GCC 或 Clang。比如,如果你使用 Ubuntu,可以安装 build-essential 包。 12/562Rust 程序设计语言 简体中文版0 码力 | 562 页 | 3.23 MB | 24 天前3
julia 1.13.0 DEVWindows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2013 108.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2021 108.3 macOS . . . . . . . . . . . . . . 2028 108.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2028 108.7 RISC-V (Linux) . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2009 108.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2018 108.3 macOS . . . . . . . . . . . . . . 2024 108.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2024 108.7 RISC-V (Linux) . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2009 108.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2018 108.3 macOS . . . . . . . . . . . . . . 2024 108.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2024 108.7 RISC-V (Linux) . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2009 108.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2018 108.3 macOS . . . . . . . . . . . . . . 2024 108.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2024 108.7 RISC-V (Linux) . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2000 107.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2009 107.3 macOS . . . . . . . . . . . . . . 2015 107.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2015 107.7 RISC-V (Linux) . . . . . . . . . . . . . . . . . . . . . .0 码力 | 2047 页 | 7.41 MB | 3 月前3
Julia 1.11.4Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1960 107.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1969 107.3 macOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975CONTENTS xiv 107.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975 107.7 Binary0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationWindows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1960 107.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1969 107.3 macOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975CONTENTS xiv 107.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975 107.7 Binary0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release NotesWindows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Mac and Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Alternative installation Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1960 107.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1969 107.3 macOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975CONTENTS xiv 107.6 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1975 107.7 Binary0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.10.10Building Julia (Detailed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1650 103.2 Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1658 103.3 macOS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1664 103.9 ARM (Linux) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1665 103.10 Binary prefer to use the environment variable you can set it as follows in Bash (Linux/macOS): export JULIA_NUM_THREADS=4 C shell on Linux/macOS, CMD on Windows: set JULIA_NUM_THREADS=4 Powershell on Windows:0 码力 | 1692 页 | 6.34 MB | 3 月前3
共 20 条
- 1
- 2













