Entradas

Rust para optimizar una plataforma con 11 millones de usuarios concurrentes

Interesante caso de uso: «We needed a data structure capable of holding hundreds of thousands of entries, sorted in a particular way that can accept and process tons of mutations, and can report back indices of where things are being added and removed

https://blog.discordapp.com/using-rust-to-scale-elixir-for-11-million-concurrent-users-c6f19fc029d3

Rust vectors can contain …

Rust vectors can contain any number of elements (depending on memory) of the same type. Vectors are heap-allocated in Rust.

https://dev.to/dandyvica/lists-arrays-vectors-linear-containers-in-python-ruby-and-rust-part-3-19jc

Rust Patterns: Enums instead of Booleans

The code intention is much more readable, more self documenting, and easier to grok.

http://blakesmith.me/2019/05/07/rust-patterns-enums-instead-of-booleans.HTML

Why does parse() require an except() or unwrap() method?

Spoiler, es para controlar la interpretación de cadenas que no sean números. Pero como siempre ocurre en la comunidad Rust, lo explican muy bien y muy detallado. Ideal para aprender.

Why does parse() require an except() or unwrap() method? from rust