0
点赞
收藏
分享

微信扫一扫

【Rust日报】2020-11-22 Vec即将支持自定义的内存分配器

无愠色 2022-06-22 阅读 70

Vec即将支持自定义的内存分配器

#rust

为Vec支持自定义内存分配器的PR已经被合并。

Read More: https://github.com/rust-lang/rust/pull/78461

cargo-bom 一个收集依赖License的命令行工具

#rust

$ cargo bom > BOM.txt
$ head BOM.txt
Name | Version | Licenses
---- | ------- | --------
cargo | 0.35.0 | Apache-2.0, MIT
failure | 0.1.5 | Apache-2.0, MIT
structopt | 0.2.15 | Apache-2.0, MIT
tabwriter | 1.1.0 | MIT, Unlicense

-----BEGIN cargo 0.35.0 LICENSES-----
The Cargo source code itself does not bundle any third party libraries, but it
depends on a number of libraries which carry their own copyright notices and

Repo: https://crates.io/crates/cargo-bom

使用wasm实现vim编辑器

#rust

几乎含有所有的vim特性,文本对象、语法高亮、vim脚本等等,还有最新的特性"弹出窗口“,附在线演示地址。

Read More: Vim.Wasm (rhysd.github.io)

websocat

#cli

Websocat 是一个用于websocket的Netcat、curl、socat工具。

Examples:

  • 连结一个公众的echo服务 websocat ws://echo.websocket.org
  • 运行一个服务 websocat -s 1234
  • 在chromium中打开一个远程调试工具
  • 后台代理TCP到websocket
  • 在所有websocket客户端广播信息

Repo: https://www.github.com/vi/websocat

从Javascript到WebAseembly

#rust

本文介绍了从升级仅Micrio JavaScript客户端到使用WebAssembly的过程,希望能够提高性能并将代码提高到一个新的水平。

Read More: https://engineering.q42.nl/webassembly/

社区学习交流平台订阅:

  • Rustcc 论坛: 支持 rss
  • 微信公众号:Rust语言中文社区


举报

相关推荐

0 条评论