Aspen's blog

Aspen, I write this blog!

Benchmarked: The state of Rust web frameworks in 2021

I benchmarked wrong, and these benchmarks are misleading, as my custom bencher bottlenecked. I will update this article with better benchmarks later There's many web frameworks for Rust. actix-web, warp, rocket, oh my! They all have their distinct ups and downs, but usually actix-web is known as the fastest (albeit not without controversy), and rocket as one of the more user-friendly frameworks. There's been various benchmarks throughout the years, but how do they all stand in 2021, with tokio 1.0 out?

Posted on 2021-01-16

No, you shouldn't use Brave.

The Brave browser is a fork of Chromium with a built-in adblocker and some other neat privacy-friendly features. From a quick glance, it looks amazing, right? Chrome but pro-privacy! Sadly, you'd be wrong. Brave's history is full of controversies, many of which are deal-breakers for people.

Posted on 2021-01-10

Optimization - Making Rust Code Go Brrrr

Rust code can be fast. Very fast, in fact. If you look at the Benchmarks Game, it goes head-to-head with C and C++. But performance isn't effortless, although Rust's LLVM backend makes it seem so. I'm going to go over the ways I improve performance in my Rust projects. It is going to be the most challenging project as it aims to develop new demo trading strategies and evaluate them using the tools.

Posted on 2020-09-29

Please do not use the Brave browser

It's a just fork of Chromium with a sub-par adblocker and a really bad history.

See my blog post for more details.