Library Search
结果页

rust

在 元器件 / 技术栈 / 知识库 中找到 14 个匹配结果。

返回文档库
技术栈

技术栈

8 个
查看全部
Rust # Rust 系统编程入门教程 ## 第一章:Rust 为什么与众不同 ### 1.1 内存安全的三种路线对比 | 语言 | 策略 | 代价 | |------|------|------| | C/C++ | 手动管理 | 悬垂指针、内存泄漏、UB | | Java/Go/Python | GC 自动回收 | 运行时开销、暂停 | | Rust | 编译期所有权+借用检查 | 无运行时开销… 3% React Native <FlatList data={todos} keyExtractor={(item) => item.id} renderItem={renderItem} ListEmptyComponent={ <Text style={styles.empty}>暂无任务,添加一个吧 ✨</Text> }… 2% PyTorch 参考文献: [ { "type": "book", "year": 2020, "title": "Deep Learning with PyTorch", "authors": [ "Eli Stevens", "Luca Antiga", "Thomas Viehmann" ] }, { "type… 1% Spring Batch @Bean public Step importStep() { return new StepBuilder("importStep", jobRepository) .<Customer, Customer>chunk(100, transactionManager) .reader(reader)… 1% spaCy : [{"LOWER": {"IN": ["python", "java", "rust"]}}]}, ] ruler.add_patterns(patterns) doc = nlp("I use Python and Rust on my MacBook Pro.") print([(ent.text, ent.label_) for ent in doc.ents]) # [('Pytho… 1% CakePHP 参考文献: [ { "url": "https://book.cakephp.org", "type": "web", "year": 2024, "title": "CakePHP Cookbook", "authors": [ "CakePHP Team" ] }, { "url": "https://github… 1% Astro 参考文献: [ { "url": "https://docs.astro.build", "type": "web", "year": 2024, "title": "Astro Documentation", "authors": [ "Astro Team" ] }, { "type": "article",… 1% Go (Golang) 参考文献: [ { "type": "book", "year": 2015, "title": "The Go Programming Language", "authors": [ "Alan A. A. Donovan", "Brian W. Kernighan" ] }, { "type": "book",… 1%
知识库

知识库

6 个
Rust 系统编程入门 # Rust 系统编程入门教程 ## 第一章:Rust 为什么与众不同 ### 1.1 内存安全的三种路线对比 | 语言 | 策略 | 代价 | |------|------|------| | C/C++ | 手动管理 | 悬垂指针、内存泄漏、UB | | Java/Go/Python | GC 自动回收 | 运行时开销、暂停 | | Rust | 编译期所有权+借用检查 | 无运行时开销… 3% 所有权与借用——文件统计工具 # Rust 例程:所有权与借用初体验 ## 目标 通过一个命令行程序展示 Rust 核心概念:所有权、借用、模式匹配、Result 错误处理。 ## 完整代码 ```rust use std::fs; use std::io::{self, Write}; /// 统计文件中的单词数 fn count_words(text: &str) -> usize { text.split… 3% Todo List 应用——核心组件与 Hooks <FlatList data={todos} keyExtractor={(item) => item.id} renderItem={renderItem} ListEmptyComponent={ <Text style={styles.empty}>暂无任务,添加一个吧 ✨</Text> }… 1% CSV 文件批量导入 @Bean public Step importStep() { return new StepBuilder("importStep", jobRepository) .<Customer, Customer>chunk(100, transactionManager) .reader(reader)… 1% 从 Pipeline 组件到自定义 NER 训练 : [{"LOWER": {"IN": ["python", "java", "rust"]}}]}, ] ruler.add_patterns(patterns) doc = nlp("I use Python and Rust on my MacBook Pro.") print([(ent.text, ent.label_) for ent in doc.ents]) # [('Pytho… 1% 火焰传感器(4针) 双模式检测与中断触发代码例程 void loop() { int doState = digitalRead(FLAME_DO_PIN); Serial.print("DO状态: "); if (doState == LOW) { Serial.println("LOW ← 已触发(火焰/红外源太强或阈值太低)"); } else { Serial.printl… 1%