© 2023 Hashnode
#rust
Introduction Zero-knowledge proofs (ZKPs) are cryptographic protocols that enable a prover to prove the truth of a statement to a verifier without revealing any additional information beyond the state…
So, this is my first blog and first (other than Hello, world!) venture into the Rust world. I figured I would share my progress as a way to write down my thoughts and feelings and to give some history…
When you are involved in device development, your goal is to create software that is both efficient and secure, meeting the demands of various industries. However, you often encounter challenges with …
Estructuras de Control La estructuras de control permiten ejecutar código basado en una condición y/o de repetir código mientras se cumpla una condición. Estas estructuras son fundamentales en la mayoría de los lenguajes de programación. En…
Funciones Al igual que en muchos lenguajes de programación, además de la función main, en Rust podemos declarar nuevas funciones utilizando la palabra reservada fn. Ejemplo: fn main() { println!("Hola, Mundo!"); otra_funcion(); } f…
Constantes Rust da prioridad a que las variables sean inmutables porque fomenta la escritura de código seguro y libre de errores. Al hacer que las variables sean inmutables por defecto, Rust evita muchos problemas comunes en la programación…
This tutorial is inspired by the Tic Tac Toe guide on the Anchor documentation. The raffle game will work as follows: users will be able to buy tickets for a set price, and once a certain amount of ti…
This blog post is the seventh of a multi-part series of posts where I explore various peripherals in the ESP32C3 using embedded Rust at the HAL level. Please be aware that certain concepts in newer po…
Best Video Material [YouTube] 300 seconds of Rust - 5. Rust Ownership System Best Text Material The Rust Programming Language Comprehensive Rust: Ownership Additional Read / Watch [YouTube] The Rust B…
Repetition With Loops Rust has 3 kinds of loops - loop, while and for. Loop syntax: // for let counter = [10, 20, 30, 40, 50]; for c in counter { println!("the value is: {c}"); } // while let mu…