< 返回版块

Jancd 发表于 2019-12-12 21:01

Tags:rust,news

用 Rust 实现一个 RISC-V OS 系列博客更新

这是 《The Adventures of OS》 系列的 3.2 章节,主要讲述内存管理单元。

原文地址:http://osblog.stephenmarz.com/ch3.2.html,读者可以查看整个系列博文。

系列博文中不仅详细讲述代码实现,并且附带视频。

turtle 1.0.0-rc.3 版本发布

这个库是学习和教授 Rust 编程语言的优秀工具。任何年龄或技能水平的人都可以学习如何用代码创建艺术!

使用示例,画个圆:

use turtle::Turtle;

fn main() {
    let mut turtle = Turtle::new();

    for _ in 0..360 {
        // Move forward three steps
        turtle.forward(3.0);
        // Rotate to the right (clockwise) by 1 degree
        turtle.right(1.0);
    }
}

这个 Rust logo 是不是很酷!

GitHub 仓库地址:https://github.com/sunjay/turtle

Lemmy v0.5.0发布

主要更新有:RSS 源,自定义语言,url 存档,以及很多错误修复。

Lemmy 类似于 Reddit、Lobste.rs、Raddle 或 Hacker News,你可以订阅你感兴趣的论坛,发布链接和讨论,然后投票,并评论它们。

前端页面展示:

发布主题:

Github 仓库地址:https://github.com/dessalines/lemmy

如果你想做一个类似的网站,你可以直接在此基础上开发:

git clone https://github.com/dessalines/lemmy
cd lemmy/docker/dev
./docker_update.sh # This builds and runs it, updating for your changes

然后访问 http://localhost:8536 就能看到成果了。

reddit 上参与讨论:https://www.reddit.com/r/opensource/comments/e8x9rg/lemmy_federated_alternative_to_reddit_v050/


From 日报小组 @Jancd

日报订阅地址:

独立日报订阅地址:

社区学习交流平台订阅:

评论区

写评论

还没有评论

1 共 0 条评论, 1 页