TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Learn Rust the Dangerous Way

110 pointsby davikr7 months ago

6 comments

kookamamie7 months ago
AFAIK, auto-vectorization has the same limitation in Rust as in C and C++ - it cannot be required. Hence, it is very easy to break the vectorization in brittle ways, without even noticing the issue.<p>It would be nice to have a sort of autovec-or-error annotation for preventing this.
评论 #41901833 未加载
评论 #41908547 未加载
dagw7 months ago
Wow! At least for me this is by far the best, clearest and most useful quick intro to Rust I&#x27;ve seen.
davidhyde7 months ago
If you learned Rust first but find yourself reading a lot of C then this is also a good thing to read because of the parallels it draws with the languages.
incognito1247 months ago
To OP: having this jarring purple, combined with a dark background and dotted underline is <i>really</i> painful for my eyes
评论 #41917797 未加载
0xpgm7 months ago
Reminds me of Learn x the hard way series by Zedshaw
einpoklum7 months ago
TL;DR: An introduction to Rust which starts with a Rust-unsafe C program, writing a Rust equivalent, then evolves it towards some of the higher-level abstractions in Rust.<p>(As opposed to the non-dangerous way which means writing safe code to begin with and mentioning unsafe as the exception)
评论 #41901687 未加载
评论 #41901934 未加载