190: Trust Me, I'm Right

Embedded.fm · 8 Mar 2017 · 1h 08m

What this episode covers

Matt Godbolt, a software engineer at DRW and creator of the open-source Compiler Explorer, discusses the tool's evolution from a personal shell script to a widely used web platform for comparing compiler outputs. He explains how the tool helps developers understand assembly generation, debug optimization issues, and settle arguments about C++ features like range-based for loops and constexpr. Godbolt also touches on his background in game development at Argonaut Games, the security challenges of running compilers in the cloud, and the future of systems programming languages like Rust.

Mentioned

Companies
DRW, Argonaut Games, Amazon Web Services
Products
Compiler Explorer, C64
Tools
GCC, Clang
Also
Rust, C++, Jason Turner

Other shows on the same ground, closest first.

  • Oxide and Friends · 1h 44m

    Across the Chasm with Rust

    Steve Klabnik and Luqman Aden, engineers at Oxide Computer Company, discuss the evolution of the Rust programming language, focusing on the stabilization of features like `let_chains` and `async/await` as the catalyst for crossing the chasm from early adopters to mainstream systems programming. They analyze how Rust's strict stability guarantees, enforced by tools like Crater, contrast with the burnout risks seen in other language communities, while highlighting specific language features such as inline assembly, const generics, and captured identifiers in format strings that improve developer experience. The conversation also covers the psychological shift required to trust the compiler, the importance of tooling like Rust Analyzer and Clippy, and the community's approach to managing experimental features via nightly builds and RFCs.

  • Oxide and Friends · 1h 18m

    Talking Turkeys

    Bryan Cantrill and Adam Leventhal host a Twitter Space with community members discussing tools they are thankful for, including ANTLR, Pest, build.rs, and Saleae logic analyzers. Participants highlight the value of open source software like YubiKey, Node.js, RabbitMQ, WireGuard, Tailscale, and eBPF, while also praising proprietary tools such as Ghidra, CUDA, and Microsoft Excel. The conversation emphasizes how these technologies simplify complex tasks, from parsing and debugging to networking and data visualization, enhancing both productivity and engineering insight.

  • Oxide and Friends · 1h 30m

    Debugging Methodologies

    Jordan Hendricks and Luqman Aden of Oxide Computer Company detail their methodologies for debugging complex hardware and compiler issues. Hendricks explains how he used the KMDB in-situ debugger to diagnose an NVMe reset hang, discovering that switching from abrupt to normal shutdown notifications resolved the issue. Aden describes his process for debugging a rustc segfault involving inline assembly in async blocks, using LLVM IR analysis and Rust Analyzer to isolate a bug in the compiler's code generation. The episode also covers a third case involving a triple fault caused by undefined behavior in a bare-metal bootloader, highlighting the importance of tooling and collaborative debugging culture at Oxide.

  • The Pragmatic Embedded Podcast · 50m

    Exploring Rust for Embedded Systems with Philip Markgraf

    Philip Markgraf, an experienced software developer and technical leader, discusses his recent experience building an embedded device for Kelvin, a green energy company, using the Rust programming language. He contrasts Rust's memory safety, sophisticated type system, and excellent tooling with the complexities and legacy constraints of C and C++. Markgraf highlights how Rust's borrow checker and standardized libraries simplify development, improve reliability, and attract motivated engineers, while noting that adoption is still in the early stages for embedded systems compared to cloud computing.

  • The Amp Hour · 55m

    The Focus Knob Works

    Dave Jones and Chris Gamble celebrate 16 years of The Amp Hour by launching a new static website built with Hugo, Claude, and Cloudflare Pages, featuring searchable transcripts and an animated SVG scope. They discuss the importance of startup naming for SEO, citing examples like 'X Trainer' and 'Drop Bear', and review new hardware including the RIGOL DNA 800 VNA and spectrum analyzer. The conversation also covers the free release of Microchip's PIC32 compiler, the debugging capabilities of the $10 RISC-V CH32V003, and the growing influence of AI tooling on hardware development.

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by Embedded.fm. The episode itself belongs to its publisher.