Explore >> Select a destination


You are here

avestura.dev
| | mrcat.au
1.9 parsecs away

Travel
| | I've started learning Zig, a new programming language in the same problem space as C, and it has some features I really like. While it's not memory-safe in the Rust way, it has a lot of compile time and runtime checks to prevent common footguns. It has packed structs and variable-width integers to allow for easy parsing of bitpacked binary formats. Its comptime metaprogramming capabilities are spectacular. And it even interoperates seamlessly with C!
| | www.openmymind.net
2.3 parsecs away

Travel
| |
| | blog.orhun.dev
1.9 parsecs away

Travel
| | FOSS ? Linux ? Programming
| | thume.ca
17.6 parsecs away

Travel
| [AI summary] This blog post by Tristan Hume details his experience writing a compiler for a course project using Rust. He discusses various aspects of the project including the use of Rust's powerful enums and pattern matching, handling variable and type resolution, reference counting with Rc, code generation for x86 assembly, and the use of usercorn to run Linux binaries on macOS. The post also reflects on the challenges and benefits of using Rust for such a project, comparing it with other languages and design decisions.