Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moltonel3x
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
moltonel3x
5y ago
Zig is a really nice language, but it doesn't go as far as Rust in the correctness department, which is what's motivating Rust adoption in Linux (other Rust aspects being merely nice-to-haves). It's not clear that Zig would b
32.
▲
by
moltonel3x
5y ago
Not going to be merged into a release branch yet, this is more of a "status update, give it a try" posting. We'll certainly see a few more of those before we get a proper Rust-enabled Linux release.
33.
▲
by
moltonel3x
5y ago
Being a smaller simpler language doesn't make it easier to read or write. Go is an even "simpler" language than C, but you quickly suffer from boilerplate-blindness when reviewing it. Being able to write good abstractions can
34.
▲
by
moltonel3x
5y ago
> If you are going to develop kernel because it uses cool new language but you would not if it was still C, you are probably not the right person. You are taking this the wrong way around. It's not about people contributing to $PROJ
35.
▲
by
moltonel3x
5y ago
I actually find Rust easier to refactor Rust code than my other $DAYJOB languages, thanks to its strict type system, its informative function signatures, and its syntax. These are ingredients that make Rust programming "fearless".
36.
▲
by
moltonel3x
6y ago
I don't have enough Ada experience to compare, but Rust is IMHO much easier and less complex than C++. Rust is renowned to have a steep initial learning curve, but that curve doesn't climb nearly as high as C++'s.
37.
▲
by
moltonel3x
6y ago
async/await doesn't have to be painful: Slap a `#[tokio::main]` in front of your `main()` and a `.await` after your heim functions. Done.
38.
▲
by
moltonel3x
6y ago
The C and C++ specs are full of UB though, more like a "minimum common denominator" for compiler devs than a strict spec that users can rely on. It's way too easy to write spec-abiding code that behaves differently with diffe
39.
▲
by
moltonel3x
6y ago
Looking forward to the day when gcc gains a C++ frontend written in Rust, to enable bootstraping gcc from a rust compiler :)
40.
▲
by
moltonel3x
6y ago
This isn't just anecdotal usage, we've seen plenty of Rust blog posts, job offers and opensource releases from these companies.