News for hackers. Stuff that matters.

lfairy

Re:Rust 1.56.0 and Rust 2021 on Monday November 01, 2021 @01:41AM (#29063352)
BTW, this article explains how Rust releases work:

https://doc.rust-lang.org/book/appendix-07-nightly-rust.html

It's a release train, similar to that used by Chromium and Firefox.

Edition releases (e.g. Rust 2021) are reserved for breaking changes only, and to retain Rust's stability promise, are opt-in.

Re:Rust 1.56.0 and Rust 2021 on Monday November 01, 2021 @01:35AM (#29063322)
> By the way the difference is that Rust is not a standard, thus is easier to evolve (the process is much shorter).

Another thing is ABI.

C and C++ are ABI-stable, which means that many historic mistakes (intmax_t, std::regex, polymorphic allocators) are impossible to fix.

Rust only promises source compatibility, not ABI compatibility, so it has a lot more freedom to tweak its design.

https://thephd.dev/binary-banshees-digital-demons-abi-c-c++-...

Re:Google Workspace for everyone on Thursday June 17, 2021 @08:30AM (#27538863)
I think it's less "passion" and "focus", more his position as the Linux lead giving him first-hand experience with change control at scale. He didn't need a product manager to gather requirements, because he already knew them.

That's basically what ItsMonkk is saying, but I think it's worth making it more explicit. Because a one-in-a-million engineer is not replicable, but a deep understanding of your users' needs is.

Re:Speed of Rust vs. C on Sunday March 14, 2021 @03:46AM (#26453501)
So you're saying that Haskell's memory safety is meaningless too, because parts of its stdlib and runtime are written in C?
Re:Heap-based buffer overflow in Sudo on Friday January 29, 2021 @11:05PM (#25965915)
Yeah, Rust is about the simplest language that guarantees both memory safety + low-level control. Almost all of its complexity comes from having to satisfy both.
Re:Maud: Compile-time HTML templates for Rust on Wednesday September 23, 2020 @02:33AM (#24563670)
I might be biased, as I'm the engineer that you're talking about, but that characterization feels unfair. Context-aware escaping is by no means common in the open source world—just look at Jinja or Handlebars. So unless you're knee-deep in an ecosystem that embraces it, it's easy to brush it off as unimportant.
Re:Maud: Compile-time HTML templates for Rust on Wednesday September 23, 2020 @02:15AM (#24563569)
The API in question is stable now, so that will change very soon:

https://github.com/lambda-fairy/maud/milestone/1

Re:Maud: Compile-time HTML templates for Rust on Wednesday September 23, 2020 @01:40AM (#24563366)
Author here. Yeah, that FAQ was written a few years ago and my opinions have changed since then.

I'd also like to emphasize that no Rust template engine – that I'm aware of – does context-aware escaping. At least Maud has it on the roadmap.

For the uninitiated: Google dedicates a whole cluster of machines to finding memory safety bugs in Chrome. Finding segfaults is part of their work flow.

https://dev.chromium.org/Home/chromium-security/bugs/using-c...