Explore >> Select a destination


You are here

benhoyt.com
| | thume.ca
1.5 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.
| | anoopsarkar.github.io
2.3 parsecs away

Travel
| |
| | g-w1.github.io
2.8 parsecs away

Travel
| | At the start of the 2020 school year I wanted to learn more about compilers so I started writing a compiler for the ez programming language that I made up. I did this as an independent study for school. I wanted to grow dramatically as a thinker and learn a lot about computer science and compilers in specific. If you just want to see the project head to github.com/g-w1/ezc or g-w1.github.com/ezc for documentation.
| | blog.stephenmarz.com
21.7 parsecs away

Travel
| [AI summary] The text provides an in-depth explanation of how C programs are compiled into assembly and machine code, focusing on various aspects such as data types, memory sections, control structures, and the role of the compiler in making decisions about load/store operations and shifts. It covers topics like data type conversions, padding in structures, global variables, and branch instructions for conditions and loops. The text also mentions the importance of understanding assembly for learning how compilers work and the use of tools like objdump for analyzing compiled code.