Björn

Blog posts and open-source work

About

Björn

  • Systems engineer
  • bjorn@tweedegolf.com

Björn is a systems engineer with a degree in Computer Sciences and nearly a decade of experience in Rust.

He specializes in low level engineering and has contributed to several open-source projects, most notably the Rust compiler itself. He is also the author and maintainer of Rustc_codegen_cranelift.

At TG, Björn has been working on sudo-rs and zlib-rs.

Panics in Rust by default unwind to run Drop implementations for all values on the stack. Rust's stack unwinding is implemented using the same mechanism as C++ exceptions on most platforms. Recently the Cranelift code generator got support for "landingpad" style exceptions as detailed in the corresponding Cranelift RFC allowing me to add support for unwinding on panics to rustc_codegen_cranelift (cg_clif) for Unix systems.

In this article, I'll show you how exception handling works in cg_clif by walking you through several layers of the compilation process all the way to the runtime behavior.

Open-source work

Show all

zlib-rs

zlib-rs is a memory-safe Rust implementation of zlib, the widely-used compression library, used primarily on the web to provide gzip compression to the text/html/js/css we send around.

The initial development of zlib-rs was started and partly funded by Prossimo. It's now governed by the Trifecta Tech Foundation as part of their Data Compression initiative.

sudo-rs

Sudo-rs is a memory safe implementation of sudo and su, a project by Prossimo jointly implemented by Ferrous Systems and Tweede golf.

Read more in this blog post.