News for hackers. Stuff that matters.
Re:Rust solves the problem of incomplete Kernel Linux API docs by Ygg2 on Saturday August 31, 2024 @01:55PM (#41410543)
Just use basic types?

Sure you can over engineer Rust, for dubious gains. But that's true for any language. *cough* MetaAbstractFactoryProxyFactoryFacadeBuilderProxySingletonWebViewFactory *cough*

> More self-documenting for whom

Anyone using basic Rust types.

Is type `Sync`? It's safe to share between threads.

Is type `Option` its value can be missing i.e. None.

Is type moved? Yes, if it isn't borrowed, and not Copy.

Re:Rust solves the problem of incomplete Kernel Linux API docs by db48x on Saturday August 31, 2024 @04:44PM (#41411811)
Isn’t that supposed to be a Bean?