HackerTrans
トップ新着トレンドコメント過去質問紹介求人

linuxissortof

no profile record

コメント

linuxissortof
·9 か月前·議論
[dead]
linuxissortof
·9 か月前·議論
I could be wrong, but the Ferrocene Language Specification, FLS, adopted by Rust as its specification, may be severely incomplete.

For instance, it describes atomics, but I am not sure that it defines Rust's memory model or the semantics of atomics anywhere.

This Ferrocene page looks very short, and has a lot of links to Rust API documentation.

https://public-docs.ferrocene.dev/main/specification/concurr...

Conversely, the Rustonomicon has this page that says that Rust just uses C++20's memory model for its atomics. Yet I do not believe that memory model is defined anywhere in FLS.

https://doc.rust-lang.org/nomicon/atomics.html

I do not know if FLS defines unwinding of panics anywhere either.

Is FLS severely incomplete regarding rustc and Rust, despite being adopted by Rust as its specification? It almost seems fake.
linuxissortof
·9 か月前·議論
Do you happen to know how Ferrocene relates to AdaCore's Rust compiler?

https://www.adacore.com/press/adacore-announces-the-first-qu...

> ISO 26262 (ASIL D)

Isn't that only for a very small subset of Rust and its standard library?

Also, do you happen to be able to explain this comment?

https://reddit.com/r/rust/comments/1nhk30y/ferrous_systems_j...

> I think it's important to note, the certification is only for a subset of the run-time, which means some language features will not be available. Also, the certification is only to SIL-2 level, so any projects requiring SIL-3 or 4 will still not be able to use the Ferrocine compiler!
linuxissortof
·9 か月前·議論
rustc and Rust have some rather serious type system holes and other kinds of issues.

https://github.com/Speykious/cve-rs

https://github.com/lcnr/solver-woes/issues
linuxissortof
·9 か月前·議論
> Why does Linus Torvalds get a pass, even admired, for OPENLY being an extremely vitriolic f*ker, and continuing to be so even after being called out for it to his face in interviews/questions from the audience,

Linux is a major part of the human species' infrastructure. So Linus asking people to put effort into things, and prioritize Linux over themselves to a significant degree, even when the going is hard, is typically reasonable. And he probably gets upset when people are lackadaisical about the process and the effort. If there are fuckups, billions can be affected. That doesn't make any action fine, indeed being gentle can in some cases be the best and most effective and responsible action. But that isn't always the case. Is Linus perfect or optimal? Might a better system exist? Maybe, but there is risk in experimenting. There are other kernels than Linux that can have different processes, and having a diversity of kernels and processes may be good.

What other kernels are there, what processes have they followed, and how have they fared? Windows kernels have done well in terms of usage, but there are a wealth of different reasons for that.