1. 首页
  2. 数据库
  3. 其它
  4. rustdef:Jupyter扩展防锈 源码

rustdef:Jupyter扩展防锈 源码

上传者: 2021-02-27 09:19:13上传 ZIP文件 23.72KB 热度 7次
锈菌 Jupyter笔记本和防锈用户的Jupyter扩展。 您可以在rust中定义函数并将其作为python函数运行。 该扩展基于和 。 例子 先决条件 Python> = 3.6和pip> = 19.3 安装 $ pip install rustdef 魔术命令 添加依赖项 %rustdef depends CRATE... 定义防锈功能 %% rustdef #[pyfunction] fn my_func (x: i64 , y: & str ) -> i64 { println! ( "{}" , y); x + y. len () as i64 } 开发 这个怎么
下载地址
用户评论