摘要: Cargo.toml [package] name = "rust-example5" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/carg 阅读全文
posted @ 2022-09-17 23:58 Nazorine 阅读(863) 评论(0) 推荐(0)
摘要: cargo.toml [package] name = "rust-example5" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/carg 阅读全文
posted @ 2022-09-17 23:55 Nazorine 阅读(152) 评论(0) 推荐(0)
摘要: Cargo.toml [package] name = "rust-example4" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/carg 阅读全文
posted @ 2022-09-17 23:52 Nazorine 阅读(125) 评论(0) 推荐(0)
摘要: Cargo.toml [package] name = "rust-example5" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/carg 阅读全文
posted @ 2022-09-17 23:24 Nazorine 阅读(431) 评论(0) 推荐(0)
摘要: Cargo.toml main.rs example.py 阅读全文
posted @ 2022-09-17 23:20 Nazorine 阅读(20) 评论(0) 推荐(0)
摘要: # -*- coding: utf-8 -*- """ Created on Fri Sep 2 13:36:56 2022 @author: Userss """ from xml.etree.ElementTree import indent from numpy import * # impo 阅读全文
posted @ 2022-09-17 23:05 Nazorine 阅读(28) 评论(0) 推荐(0)
摘要: 完整实例,已编译运行成功 参考: rust ffi数据之间相互转换 https://kaisawind.gitee.io/2020/05/25/2020-05-25-rust-ffi/ python使用rust编译的dll传递字符串 https://www.cnblogs.com/hardfood/ 阅读全文
posted @ 2022-09-17 22:31 Nazorine 阅读(208) 评论(0) 推荐(0)
摘要: 10.pow(10) 阅读全文
posted @ 2022-09-17 10:36 Nazorine 阅读(17) 评论(0) 推荐(0)
摘要: #![allow(non_snake_case)] #![allow(unused)] extern crate peroxide; use peroxide::fuga::*; let input1 = hex::decode(input0).unwrap(); let input2 = from 阅读全文
posted @ 2022-09-17 10:07 Nazorine 阅读(38) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/wowotuo/article/details/86251414 在处理一些计算密集型,或者系统交互较多的时候,使用编译后的程序,动态库效率会高不少,而且把相应功能封装成动态库可以便于复用,隐藏脚本语言的实现细节 一般制作DLL都是用C/C++等语言来写, 阅读全文
posted @ 2022-09-17 08:30 Nazorine 阅读(217) 评论(0) 推荐(0)