Recipes
Tools used:
In the app proper
In my terminal
Prerequisites
# Installing tools we need
cargo install cargo-binstall
cargo binstall trunk
cargo binstall hurl
# Setting compilation targets && switching to nightly compiler (needed for Leptos)
rustup toolchain add nightly
rustup override set nightly
cd frontend
rustup target add wasm32-unknown-unknown
rustup component add rust-analyzer
Issues
- Rust is a very slow to write in language
- But a very correct language!
- Steep learning curve
- Integrating with existing JS libraries is a bit of a pain
- Async traits have caveats (for library developers mostly)
- Cannot use pooled connections with Neon (issue in sqlx, just use normal connections rather than Neon's connection pooling)
Others
Energy efficiency across programming languages
Cargo script?
LINQ in Rust
Python-like list comprehension
Are we learning yet?
Are we web yet?
sccache
mk48.io