TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

A Study of Undefined Behavior Across Foreign Function Boundaries in Rust Libs

4 点作者 matt_d2 个月前

1 comment

meltyness2 个月前
Very interesting work.<p>Flate2 is an odd crate so I&#x27;m not too surprised to hear there&#x27;s issues with it.<p>It seems unusual to rely on an FFI for something that isn&#x27;t extremely intricate, broad, or brittle like syscalls &#x2F; drivers &#x2F; runtimes, I&#x27;d think that one zlib implementation would be as good as another, but maybe I&#x27;m naive.<p>Thankfully crates makes it pretty plain who would see fit to build on top of that.