====== Rust ====== * https://rinthel.github.io/rust-lang-book-ko/ * https://doc.rust-lang.org/rust-by-example/index.html * https://rust-lang-nursery.github.io/rust-cookbook/intro.html * https://docs.rs/ * https://play.rust-lang.org/ ===== 설치 ===== sudo apt install curl build-essential gcc make curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ===== REPL ===== * https://github.com/google/evcxr cargo install evcxr_repl evcxr ===== PyO3 ===== * 관련 도구 * https://github.com/PyO3/pyo3 * https://github.com/PyO3/maturin * 튜토리얼 * https://depth-first.com/articles/2020/08/10/python-extensions-in-pure-rust-with-pyo3/ * https://docs.rs/ndarray/0.15.3/ndarray/doc/ndarray_for_numpy_users/index.html ==== 설치 ==== conda create -n test python=3.7 rust conda activate test pip install maturin cargo new test maturin develop ... maturin build --release {{tag>rust python}}