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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Fearless Security: Thread Safety

12 点作者 lainon超过 6 年前

1 comment

rurban超过 6 年前
Oh my, another one of those PR fluff pieces. They still act as if Rust would be thread safe, and as if they are the only one around. And they still keep on their memory safety and type safety lies.<p>There do exist thread safe languages, with guaranteed deadlock freedom and race freedom, determined at compile-time. Rust is not of them. You still have to place manual mutexes around shared data, or do the slow thing: copy by value (as with Go or Erlang). With a manual mutex you lost race safety though, and you lose on concurrency waiting for your locks. It&#x27;s not only unsafe, it&#x27;s also much slower than lock free threading. Of course this PR piece doesn&#x27;t mention any of these limitations.<p>Mozilla turned into a hype factory which cannot be trusted.