Rust
Warp proxy (http) server with Hyper (https "dangerous") client [code sample]
Cargo.toml
[dependencies]
futures = "0.3.13"
hyper = "0.14.4"
hyper-tls = "0.5.0"
native-tls = "0.2.7"
tokio = { version = "1.2.0", features = ["full"] }
warp = "0.3.0"
main.rs
Warp proxy (http) server with Hyper (http) client [code sample]
Cargo.toml
[dependencies]
futures = "0.3.13"
hyper = "0.14.4"
tokio = { version = "1.2.0", features = ["full"] }
warp = "0.3.0"
main.rs
Rust: Why pattern matching?
In this video I am showcasing why you should use pattern matching instead of simple if/let checks.
Converting a Python script to Rust (5: Benchmarks and impressions)
Porting a Python script to Rust, to take advantage of the type safety, of the speed, of the safe parallelism and of the easy refactoring of Rust.
We are concluding this series with the benchmarks and the impressions.
Converting a Python script to Rust (4: Adding parallelism through rayon)
Porting a Python script to Rust, to take advantage of the type safety, of the speed, of the safe parallelism and of the easy refactoring of Rust. In this part, we add the rayon library, to speed up things through parallelism.
Converting a Python script to Rust (3)
Porting a Python script to Rust, to take advantage of the type safety, of the speed, of the safe parallelism and of the easy refactoring of Rust.