RSSAmplifier

Blog

Jared Jacobson’s Programming Blog

Mostly musings about programming - especially rust

jtjlehi.github.ioRSS feed ↗2 posts

Latest posts

A Novel Look at Error Handling in Rust

There has been a lot said about error handling in rust. There are many different opinions about how to structure your errors, when to use panics, and the role of proc-macros in error handling. Most of the discussion around rust error handling makes the assumption that when an error occurs you either pass the error up to the caller or you try to completely recover and continue on. While this…

Fastest Vec Update on My Computer

“Premature optimization is the root of all evil.” At least that is what ‘big java’ wants you to think. But if I wasn’t worried about optimizations I’d be using linked lists in Haskell. I use rust because I want speed. If you are here for speed, then keep reading. In this post you’ll find a detailed account of how I created a problem, solved the problem, and then optimized the solution way to much.