Hacker Newsnew | past | comments | ask | show | jobs | submit | lfairy's commentslogin

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.


> 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++-...


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.


So you're saying that Haskell's memory safety is meaningless too, because parts of its stdlib and runtime are written in C?


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.


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.


The API in question is stable now, so that will change very soon:

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


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...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: