Alex Kladov

  1. Vibecoding #2

    I feel like I got substantial value out of Claude today, and want to document it. I am at the tail end of AI adoption, so I don't expect to say anything particularly useful or novel. However, I am constantly complaining about the lack of boring AI posts, so it's only proper if I write one.

    Published

  2. Memory Safety Is ...

    Memory safety is one of those elusive concepts like intelligence, consciousness, or porn, that resist attempts to be put to words. Thus, I am not going to attempt to define it. Instead, I want to poke holes in definitions of others.

    Published

  3. The Second Great Error Model Convergence

    I feel like this has been said before, more than once, but I want to take a moment to note that most modern languages converged to the error management approach described in Joe Duffy's The Error Model, which is a generational shift from the previous consensus on exception handling.

    Published

  4. Parsing Advances

    I find myself writing yet another toy parser, as one does during a Christmas break. It roughly follows Resilient LL Parsing Tutorial. Not because I need resilience, but mostly because I find producing a syntax tree and a collection of diagnostics a more natural fit for the problem than bailing out on…

    Published

  5. Newtype Index Pattern In Zig

    In efficiency-minded code, it is idiomatic to use indexes rather than pointers. Indexes have several advantages:

    Published

  6. Static Allocation For Compilers

    TigerBeetle famously uses static allocation. Infamously, the use of the term is idiosyncratic: what is meant is not static arrays, as found in embedded development, but rather a weaker no allocation after startup form. The amount of memory TigerBeetle process uses is not hard-coded into the Elf binary…

    Published

  7. Do Not Optimize Away

    Compilers are sneaky beasts. If you time code like this:

    Published

  8. Mechanical Habits

    My schtick as a software engineer is establishing automated processes --- mechanically enforced patterns of behavior. I have collected a Santa Claus bag of specific tricks I've learned from different people, and want to share them in turn.

    Published

  9. Size Matters

    TigerStyle is pretty strict about some arbitrary limits:

    Published

  10. TigerBeetle Blog

    Continuing the tradition, I've been also blogging somewhat regularly on TigerBeetle's blog, so you might want to check those articles out or even subscribe (my favorite RSS reader is RSSSSR):

    Published