Entradas

An introduction to Web Development with Rust for Node.js Developers

On the Rust side of things, just TCP is implemented in the Rust Core. The current web frameworks (actix and rocket) are implementing everything up until HTTP though. So you don’t need to care where this is coming from.

If you want to use pure HTTP calls without any larger framework, you can install “crates” (equivalent to npm packages in the Node world) which implement the HTTP protocol (like hyper and tiny_http).

https://morioh.com/p/81bce2efcb4f/an-introduction-to-web-development-with-rust-for-node-js-developers

Explained: How does async work in Rust?

Asynchronous programming is a concept which allows not blocking the program workflow when waiting for the results of certain actions. So you can open a large file or query a database, but your program will continue processing each line afterwards.

Explained: How does async work in Rust? from rust

Is it possible to use Diesel schema macros with Rust 2018?

Diesel seems to be the only real database abstraction layer that is in a real state of completion. The problem is, though, following their guide (even when using new package import style) just results in missing macro errors for the generated schema file. After adding the «public» macro use statements, I just get more missing errors for «private» macros.

Is there any practical way of using Diesel with (stable) Rust 2018, or do I just have to wait for their next major release to be able to use Diesel?

Is it possible to use Diesel schema macros with Rust 2018? from rust

rustdoc tools or process tips?

The thing I’m struggling with is adding the source code to my docs in an efficient manner and without messing up the weird mix of code comments (/// or //!) + Markdown formatting.

Anyway, I’m wondering, how are people doing this currently?

rustdoc tools or process tips? from rust

El cangrejo Ferris

Imágenes para descargar en diferentes formatos del cangrejo Ferris, la mascota no oficial del lenguaje de programación Rust.

http://www.rustacean.net/

Using WebAssembly to speed up a Web App by 20X (Case Study)

WebAssembly is a new language that runs in the browser alongside JavaScript. Yes, that’s right. JavaScript is no longer the only language that runs in the browser!

But beyond just being “not JavaScript”, its distinguishing factor is that you can compile code from languages such as C/C++/Rust (and more!) to WebAssembly and run them in the browser.

https://www.smashingmagazine.com/2019/04/webassembly-speed-web-app/

Simplifing mathematical formulas with rust macros

How to simplify mathematical formulas with rust macros?

https://stackoverflow.com/questions/55543094/how-to-simplify-mathematical-formulas-with-rust-macros

Actix web, un servidor web rápido para Rust

Actix web soporta HTTP/1.x y HTTP/2, streaming y pipelining, enrutamiento, compatibilidad con Tokio.rs, soporte a WebSockets, compresión/descompresión transparente de contenidos (br, gzip, deflate, zstd), servir ficheros estáticos, etc…

GitHub...: https://github.com/actix/actix-web
crates.io: https://crates.io/crates/actix-web
docs.rs..: https://docs.rs/actix-web/latest/actix_web