首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
Rust&Go
fliter
创建于2021-07-14
订阅专栏
Rustacean & Gopher
等 47 人订阅
共403篇文章
创建于2021-07-14
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
Rust vs Go:常用语法对比(12)
221. Remove all non-digits characters 删除所有非数字字符 168 [src/main.rs:7] t = "14" 222. Find first index o
Rust vs Go:常用语法对比(10)
182. Quine program 输出程序的源代码 输出: 输出: or 输出: fn main(){print!("{},{0:?})}}","fn main(){print!(\"{},{0:
Rust vs Go:常用语法对比(9)
161. Multiply all the elements of a list 将list中的每个元素都乘以一个数 [4.0, 7.0, 8.0] 162. Execute procedures d
Rust vs Go:常用语法对比(8)
141. Iterate in sequence over two lists 依次迭代两个列表 依次迭代列表项1和项2的元素。每次迭代打印元素。 1 2 3 a b c 142. Hexadecim
Rust vs Go:常用语法对比(7)
121. UDP listen and read 听端口p上的UDP流量,并将1024字节读入缓冲区b。 122. Declare enumeration 声明枚举值 Hearts has type
Rust vs Go:常用语法对比(6)
101. Load from HTTP GET request into a string 发起http请求 res has type *http.Response. buffer has type
Rust vs Go:常用语法对比(5)
81. Round floating point number to integer Ties (when the fractional part of x is exactly .5) must b
Rust vs Go:常用语法对比(4)
61. Get current date 获取当前时间 Now is 2009-11-10 23:00:00 +0000 UTC m=+0.000000001 or SystemTime { tv_s
Rust vs Go:常用语法对比(2)
21. Swap values 交换变量a和b的值 输出 a: 10, b: 3 or 输出 22. Convert string to integer 将字符串转换为整型 or or 输出 or 输
Rust vs Go:常用语法对比(1)
1. Print Hello World 打印Hello World 2. Print Hello 10 times 打印10次Hello World or 3. Create a procedure