Rust’s integer intrinsics are impressive

I was writing some code which manipulates binary literals in Rust when I noticed this error message: Read more

Similar

How to “Rewrite it in Rust”

In a previous article we’ve talked about how you can avoid rewriting a library in Rust when you don’t need to. But what about the times when you really do need to? In most languages you’d need to rewrite the entire library from the ground up, waiting unti... (more…)

Read more »

Writing an OS in Rust: Handling Exceptions

In this post, we start exploring CPU exceptions. Exceptions occur in various erroneous situations, for example when accessing an invalid memory address or when dividing by zero. To catch them, we have to set up an interrupt descriptor table that provides ... (more…)

Read more »