iCreatAI News
Skip to content
Trending storyUpdating

AI writes business logic, compiler generates underlying plumbing

1 reports1 sources1 hr agoUpdated

Understand this story

AI overview

A developer has proposed a new approach to code layering: business logic is written in pure Java, Python, and TypeScript and can be generated by AI; underlying plumbing such as persistence, parallel calls, failure rollback, and crash recovery is no longer hand-written via SDKs, but instead automatically derived from the business logic by a compiler. The rationale is that AI makes writing code cheap and checking code expensive, so readable business logic should be reviewed by humans, while infrastructure that is hard to verify manually should be guaranteed by the compiler. Currently this is only the author's claim, with no practical validation of its effects.

AI overview based on source reports · Updated 46 min ago

Coverage timeline

Follow the coverage to explore different perspectives.

Dec 4
  1. Hacker News AI
    The script has flipped: AI writes the logic, a compiler derives the plumbing

    Cube Root argues that AI-written business logic should be kept separate from infrastructure code, since the latter is hard to review, costly in tokens, and tied to fast-changing platforms and SDKs. The article proposes writing plain Java, Python or TypeScript against language types only, with a compiler deriving durable steps, parallel calls, undo and recovery, plus eight rules for handling versioning and glue at the infrastructure side. It closes with a comparison table of durable execution engines, noting the first column is Cube Root's own product.

Activity for this story

Not enough continuous observations to show a trend yet.