ITPub博客

首页 > 数据库 > 数据库开发技术 > 【Rust日报】2022-07-28 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件

【Rust日报】2022-07-28 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件

原创 数据库开发技术 作者:Rust语言中文社区 时间:2022-07-28 23:40:08 0 删除 编辑

文章 - 使用 Rust 和 Cosmopolitan Libc 构建可移植可执行文件

一次构建,到处运行。Rust 真的可以做到 Actually Portable Executables 吗?
本文作者使用 Cosmopolitan Libc 进行了一次探索,并成功构建了一个可以跨 Linux, Windows, MacOS, FreeBSD, NetBSD, OpenBSD 六个平台运行的 Rust 可执行程序。
Actually Portable Executables with Rust and Cosmopolitan Libc: https://ahgamut.github.io/2022/07/27/ape-rust-example/
Crate - ahgamut/rust-ape-example: https://github.com/ahgamut/rust-ape-example
GitHub - jart/cosmopolitan: https://github.com/jart/cosmopolitan

文章 - 关键字泛型计划

在这篇文章中,介绍了新的关键字泛型计划,解释为什么会存在这样一个企划,并展示了一个简短的例子。
该倡议在 Rust Zulip 的 t-lang/keyword-generics 上非常活跃 —— 如果您对此感兴趣,请访问!
Announcing the Keyword Generics Initiative: https://blog.rust-lang.org/inside-rust/2022/07/27/keyword-generics.html
Zulip - t-lang/keyword-generics: https://rust-lang.zulipchat.com/#narrow/stream/328082-t-lang.2Fkeyword-generics

This Week in Rust 453

新一期的 Rust 周报速递发布,快来看看有哪些内容你曾经关注过 :)
This Week in Rust 453: https://this-week-in-rust.org/blog/2022/07/27/this-week-in-rust-453/

From 日报小组 PsiACE

社区学习交流平台订阅:
  • Rust.cc 论坛: 支持 rss
  • 微信公众号:Rust 语言中文社区

原文作者:Rust语言中文社区;如有侵权,请联系管理员删除。

请登录后发表评论 登录
全部评论

注册时间:2020-06-11

  • 博文量
    1769
  • 访问量
    718745