Industry Corner
PL theory & formal methods in the wild โ war stories, postmortems, job market, and convincing your coworkers
Moderators: TypeTheoryCatte,
LambdaKitten
๐ About This Subforum
Discuss applying type theory, formal methods, and PL research to real-world industry settings. Share success stories, postmortems, job opportunities, and strategies for convincing teams to adopt formal verification. Keep it constructive โ war stories encouraged, dunking on teammates discouraged. ๐พRules: No NDA-violating specifics. Pseudonymize company names if needed. Tag postmortems with [POSTMORTEM].
| Thread | Replies | Views | Last Post | |
|---|---|---|---|---|
| ๐ | [READ FIRST] Industry Corner rules, resource list, and job board FAQ | 4replies | 8,221views |
TypeTheoryCatte
14 Mar 2023 10:02am |
| ๐ฅ |
Type theory in production: success stories (megathread)
โน๏ธ Community wiki: share your company's use of refined/dependent types, effect systems, or linear types in prod. Please include language, team size, and outcome.
|
312replies | 47,830views | PracticalPurr Today 09:14am |
| ๐ฌ |
How do you convince your team to use formal methods?
โน๏ธ AWS found that engineers "more readily grasp the concept and practical value of TLA+" when it's framed as "exhaustively testable pseudo-code" โ avoiding the word 'formal' entirely. Good ammo for your next team meeting.
|
89replies | 12,440views | PracticalPurr Yesterday 11:32pm |
| ๐ฅ |
AWS using formal methods (TLA+, P language, etc.) โ the full picture
โน๏ธ Since 2011, engineers at AWS have used formal specification and model checking to help solve difficult design problems in critical systems. TLA+ helped AWS find subtle bugs in S3, DynamoDB, EBS, and an internal distributed lock manager, as well as verifying several optimizations.
|
156replies | 31,007views |
PracticalPurr
26 Mar 2024 3:17pm |
| ๐ฌ |
CompCert in safety-critical systems โ avionics, nuclear, automotive
โน๏ธ CompCert is the first commercially available optimizing compiler that is formally verified, using machine-assisted mathematical proofs, to be free from miscompilation. The executable code it produces is proved to behave exactly as specified by the semantics of the source C program. The CompCert compiler was recently qualified for the MFC_NG of ATR 42/72 aircraft; for the first time, certification credits for compliance with DO-178C, DO-333, and DO-330 could be claimed for critical avionics software from compiler usage.
|
74replies | 9,214views | PracticalPurr Today 08:47am |
| ๐ชฆ |
[POSTMORTEM] PracticalPurr's six-month Idris experiment at $DAYJOB โ what worked, what didn't, what broke CI
โน๏ธ PracticalPurr spent 6 months sneaking Idris2 into a backend microservice team of 9. Full writeup with metrics. Spoilers: the type-level state machines were a hit; compile times were not.
|
204replies | 38,901views | MoonadaTypes Today 07:03am |
| ๐ฌ | Jobs that actually use type theory โ industry roles list (2024 edition) | 61replies | 15,562views |
PracticalPurr
25 Mar 2024 6:55pm |
| ๐ฌ | Rust ownership types โ how close is "real" linear type theory in production? | 97replies | 20,118views |
CobraTypes
24 Mar 2024 2:11pm |
| ๐ฌ |
Building a "formal methods ROI" argument for your manager โ templates & talking points
โน๏ธ Engineers from entry-level to principal have been able to learn TLA+ from scratch and get useful results in two to three weeks โ that's your time-to-value argument right there.
|
43replies | 7,339views |
VerifiedVixen
21 Mar 2024 9:48am |
| ๐ฌ | Haskell in production 2024: who's still standing? Share your team's war stories | 128replies | 19,773views |
PracticalPurr
23 Mar 2024 4:22pm |
| ๐ฌ |
AWS Aurora: how TLA+ and P reduced distributed commit overhead โ deep dive
โน๏ธ Modeling a key commit protocol for the Aurora relational database engine in P and TLA+ allowed AWS to identify an opportunity to reduce the cost of distributed commits from 2 to 1.5 network roundtrips without sacrificing any safety properties.
|
38replies | 5,812views |
SigmaCat
26 Mar 2024 11:19am |
| ๐ฌ | Using dependent types for API contract enforcement โ is it worth it at scale? | 55replies | 8,101views |
LambdaKitten
22 Mar 2024 7:30pm |
| ๐ฌ | F* and Project Everest โ Microsoft's formally verified HTTPS stack in production | 47replies | 6,603views |
CobraTypes
19 Mar 2024 2:04pm |
| ๐ฌ | Scala's type system in fintech โ phantom types for currency safety, real experiences? | 31replies | 4,228views |
PracticalPurr
17 Mar 2024 5:12pm |
| ๐ชฆ | [POSTMORTEM] Trying to get Coq into a medical device firmware team โ 18 month attempt | 88replies | 11,447views |
PracticalPurr
15 Mar 2024 10:55pm |
| ๐ฌ | Algebraic effects in production (Koka, OCaml 5, etc.) โ who's actually shipping these? | 22replies | 3,019views | FerrisMeow Today 12:14am |
Currently in Industry Corner:
PracticalPurr โ now,
VerifiedVixen,
FerrisMeow,
SigmaCat
+ 19 guests