hn.today

Aristotle Expands into Rust

harmonic.fun120 points68 comments
Screenshot of Aristotle Expands into Rust

Harmonic has extended Aristotle, its formal-verification system, to Rust, following earlier support for C and Verilog. The tool aims to prove that code matches its specification and has no undefined behavior, including within unsafe blocks, rather than relying on tests that sample inputs or audits that can become outdated. It can also check whether a Rust rewrite of C behaves like the original. The expansion targets high-stakes software, especially smart contracts, where transactions may be irreversible and bugs can cause major financial losses. Aristotle is intended to verify code continuously as it changes, before deployment.

The announcement reports two Solana examples. For Manifest, an open-source order book, Aristotle established 28 results about the program, including that valid swaps execute, and identified a rounding bug that the developers fixed. For Project 0, a prime broker, it proved that financial books remain consistent through deposits, withdrawals, borrowing, repayments, and liquidations in any order. Harmonic is partnering with the Solana Foundation to help existing projects and new developers verify Solana programs. Rust support is available now through self-service, consumption-based pricing, with volume plans, dedicated support, and custom deployments also offered.

Read on harmonic.fun68 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Solid 2.0

Solid 2.0

Solid 2.0 is now stable, five years after version 1.0, with a smaller API and diagnostics designed for AI agents. Its reactive graph now handles asynchronous computations, while built-in server functions support RPC calls and persistent Server-Sent Events connections. (solidjs.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.