News for hackers. Stuff that matters.
Re:The Rust compiler has gotten faster again by davidkunz on Friday November 12, 2021 @03:47AM (#29197395)
I don't think Rust is low on boilerplate.

As an example, here is a video of David Pedersen creating a simple Tower service: https://www.youtube.com/watch?v=16sU1q8OeeI&t=945s

I found it intimidating how much you have to write to create a simple middleware.

Re:The Rust compiler has gotten faster again by timw4mail on Friday November 12, 2021 @09:13AM (#29199403)
There's some amount of boilerplate that is unavoidable, but, if you have the patience, `macro_rules!` type macros can help cut down on syntactical boilerplate in many cases.

Compared to C, and sometimes C++, there's generally less boilerplate in Rust. Compared to more traditional web languages, though, Rust will seem to have more boilerplate due to it's lower-level design.