Get the latest tech news

The way we're thinking about breaking changes


A major problem plaguing modern compilers is that they have no concept of time. When run on a codebase, a compiler treats it as if it had been in the exact...

Any errors that occur as a result are treated as fundamental to your program and not as temporary annoyances caused by the update. This migration is again a (typed) macro that the compiler can automatically apply to any matching call site whenever it upgrades a dependency from a previous version to 1.2.3. If the Rust compiler were smarter, it could automatically fix issues like this by inserting type annotations in any code that was previously unambiguous!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Way

Way

Photo of breaking changes

breaking changes

Related news:

News photo

Nintendo just introduced a way to loan out digital games to friends and family

News photo

iPhone 17 Pro leaks suggest 8K video might be on the way

News photo

Groq and PlayAI just made voice AI sound way more human — here’s how