2021-10

Python

PyO3でPythonからRustを使う(2: 並列処理)

cargo new --lib word-countCargo.toml[package]name = "word-count"version = "0.1.0"edition = "2018"# See more keys and the...
プログラミング

PyO3でPythonからRustを使う(1.1)

前回の続きというかやり直しライブラリを作るcargo new --lib pyo3testCarto.toml に以下を追加[lib]name = "libname"crate-type = ["cdylib"][dependencies....
Python

PyO3でPythonからRustを使う

PyO3を試したversionPython: 3.8.10Rust: 1.55.0OS は Windowsライブラリを作るcargo new --lib addarrayCarto.toml に と を追加[package]name = "...