Building a Compiler in Rust | Block Scoped Locals | Live Rust Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • I made a pretty dumb mistake at the end of the last stream by forgetting to zero out a variable at the start of each loop. Let's make it harder for this kind of error to happen by adding block-scoped variables. This turns into a bit of a borrow checking nightmare, but I have enough understanding of Rust to overcome it now :D
    Stream date: 2024-07-01
    Support the stream: ko-fi.com/tomm...
    Source: github.com/phy...
    Streamed live @ / tommarkstalkscode
    Follow me at coding.tommark...
    Email: tom@tommarks.xyz

ความคิดเห็น • 2

  • @jtw-r
    @jtw-r 3 หลายเดือนก่อน +1

    4:30 Cache invalidation and naming things are the two biggest hurdles in programming

    • @TomMarksTalksCodeLIVE
      @TomMarksTalksCodeLIVE  3 หลายเดือนก่อน +1

      Apparently this was actually said by Phil Karlton. The 2 biggest problems are naming things, cache invalidation and off by one errors. I don't know why I wrongly attributed this so badly :D