"Finding bugs without running or even looking at code" by Jay Parlar
Why Hacker News recommends it
HN commenters point to it as the best practical introduction to Alloy and to lightweight formal modeling.
What it is
Jay Parlar's Strange Loop talk shows how model checkers such as Alloy can find complex bugs in a system's design without running or reading any code. He walks through modeling architectures and checking every possible sequence of operations, including a real security bug and a UI feature-interaction bug.
Recommended by 4 HN commenters across 4 different months, 2019 to 2023.
What Hacker News said
Strong rec hwayne · 2019-10 · on “Alloy is a language for describing structures and a tool for exploring them”
There was a fantastic talk at strangeloop this year on Alloy: [this video] . The speaker used it to find a serious security bug in their live code and a feature interaction bug in their UI that had meant they had been writing broken code for the past _year_. (full disclosure I'm referenced towards the end)
Strong rec ParetoOptimal · 2023-04 · on “Modeling Git Internals in Alloy, Part 2: Commits and Tags”
I was exposed to alloy by this wonderful video: "Finding bugs without running or even looking at code" by Jay Parlar [this video] I believe the general idea could be applicable in practice for core parts of most businesses software. So now I'm very interested in real world accounts of using alloy like this. Anyone have other posts like this one or experiences to share along these lines?
Recommends kilotaras · 2020-04 · on “Show HN: A basketball hoop to maximize shots that go in [video]”
There's a great talk from StrangeLoop[0] where a presenter uses Alloy modelling in exactly the same manner: - generate a couple examples - see something wrong - add a rule - repeat [0] [this video]
Recommends _andrei_ · 2023-10 · on “Modeling CRDTs in Alloy – the importance of idempotence”
There is a talk that gives a good overview on Alloy and how useful using something like this is: "Finding bugs without running or even looking at code" by Jay Parlar [this video]