Home
Blog
Updating a Rust Program
Updated
Dot Net Perls

Updating a Rust Program

Here at Dot Net Perls I use a Rust program to generate all the site as static files. This means it is super fast to serve up when someone wants to view a page. But it means all the work involved in developing the site is done in a 7000-line Rust program.

When working with Rust, I often end up fixing a lot of compile-time errors. This is one of the key benefits of Rust: problems are found earlier, before the program ever compiles. Here are some related benefits to getting compile-time errors:

Programs don't work accidentally as often—they are more likely to work as intended.
The compiler can tell you what you did wrong, and how to fix it.
The compiler's hints can make you feel really intelligent.

When the Rust compiler tells you to add a clone call or to a reference a variable, it gives syntax suggestions as well. So it makes the developer feel smart because he or she is fixing all these bugs one after one. I guess an ego boost is helpful once in a while.

Dot Net Perls is a collection of pages with code examples, which are updated to stay current. Programming is an art, and it can be learned from examples.
Donate to this site to help offset the costs of running the server. Sites like this will cease to exist if there is no financial support for them.
Sam Allen is passionate about computer languages, and he maintains 100% of the material available on this website. He hopes it makes the world a nicer place.
An RSS feed is available for this blog.
Home
Changes
© 2007-2025 Sam Allen