- 这个教程以
Jupyter Note
作为基础工具,弥补传统文档和代码的不足 - 使用
evcxr
让rust
可以运行在Jupyter
环境中。
前提条件:需要安装 Python3.x
和 Rust
- 安装 Jupyter
pip install jupyterlab
pip install notebook
在 Jupyter 中运行 Rust 代码
可以运行如下的命令安装 evcxr
cargo install evcxr_jupyter
执行
jupyter lib
# or
jupyter notebook
Note
项目参考了 CS101L,文档中的图片也来自于此课程
- 参见 ownership
- todo
- 参见 traits
- 参见 generics
- 参见 multiprocess