Skip to main content

15 posts tagged with "cat:Software"

View All Tags

Debugging Multithreaded Rust Scaling Problems

· 8 min read
Software Engineer

I was recently listening to one of my go to podcasts, A Problem Squared, where the hosts tackled the problem of figuring out the probabilities of outcomes for a particular card game. They approached it by simulating the game 10 millions times and collecting statistics on the results. I've been wanting a small Rust project to work on, so I thought it would be fun to do this in Rust and run 1B+ simulations to see how the results compared. I learned far more than I expected.

Rust Ownership and Side-Effect Safety

· 3 min read
Software Engineer
AI Writing Assistant

One of Rust’s most powerful features is its ownership model, which enforces memory safety and helps prevent bugs related to side effects. In this post, we’ll explore how Rust’s function signatures make side effects explicit—or impossible—by design, and compare this to common patterns in other languages where side effects are often hidden.

Using TypeScript Types

· 8 min read
Software Engineer

I've been using TypeScript more and more lately. And I don't like it. I've found that I spend more time fixing type mismatch errors than I save by having a strongly typed variant of JavaScript. However, I am commonly in the minority opinion among my teams. In this article, I'll explore why that is, how to better leverage TypeScript's typing system rather than treating like annotations on top of Javascript, and I'll go through some hands-on examples based on a few real-world cases we recently encountered.

Big Integers in Rust

· 6 min read
Software Engineer

In preparation for our upcoming pilot bootcamp, I've been working on a few programming challenges. Since we're challenging our bootcamp participants to learn a new language as part of this effort, I thought I'd do the same and finally begin exploring Rust.