Bienvenido a Internet ■Volver al BBS■ Hilo completo ▼Bajar▼

■ Este hilo se encuentra guardado en el archivo

[SO] Linus sobre incluir a Rust en el sistema Linux (17 respuestas)

15 : : 26/04/21(lun)21:20:43 ID:s0aW+QNM0

A mí también, obviando los comentarios como los de >>11, no he visto muchos argumentos en contra. Encontré esta lista de ventajas sobre incluir Rust por ahí:

-No undefined behavior in the safe subset (when unsafe code is sound), including memory safety and the absence of data races.
-Stricter type system for further reduction of logic errors.
-A clear distinction between safe and 'unsafe' code.
-Featureful language: sum types, pattern matching, generics, RAII, lifetimes, shared & exclusive references, modules & visibility, powerful hygienic and procedural macros...
-Extensive freestanding standard library: vocabulary types such as 'Result' and 'Option', iterators, formatting, pinning, checked/saturating/wrapping integer arithmetic, etc.
-Integrated out of the box tooling: documentation generator, formatter and linter all based on the compiler itself.
7 KB

■ Este hilo se encuentra guardado en el archivo

weabot.py ver 0.11.0 Bienvenido a Internet BBS/IB