For fifty years, C set the terms of systems programming, and it shaped far more than the programs written in it. C++, Java, C#, JavaScript and Go all borrowed its syntax and many of its ideas, each making different trade-offs. Java dropped manual memory management for a garbage collector, and nobody read that as a criticism of C. It was a new language standing on C's foundation.
I believe Rust is that foundation for the next generation. Not a language to replace, but one to build on, the way C was. That's what I mean by post-Rust, and it's the idea behind the programming language I'm building.
Where C Set the Baseline
C gave us direct control over memory, predictable performance and a minimal runtime, and asked us to be careful. The cost of that was real: buffer overflows, use-after-free and dangling pointers were never exotic edge cases, they were the usual way systems software failed. Microsoft reported that about 70% of the vulnerabilities it fixed with a CVE each year, from 2006 to 2018, were memory safety issues.
What Rust Proved
Rust moved a whole class of errors from runtime to compile time. In safe Rust, the type system rules out the memory errors behind most of those CVEs, without a garbage collector. Along the way, it made other ideas mainstream: no null, errors as values, exhaustive pattern matching, immutability by default.
The lesson I take from it: safety and performance don't have to be traded against each other, and a compiler can carry far more of the burden than C ever asked it to.
Building on Rust
Starting from Rust doesn't mean copying it, just as the C family never copied C. It means taking its guarantees as the baseline and making different trade-offs on top of them.
My language, Koji, is one attempt. It keeps Rust's guarantees but trades one mechanism: there is no borrow checker. Values are reference-counted with copy-on-write, and resources such as files are move-only and released automatically. That costs something at runtime, and I chose to pay it so the language stays simple enough to be someone's first.
import file function readNotes(): Result[string, file.FileError] { immut notes = file.open('notes.txt', file.Read)? return notes.read() // 'notes' goes out of scope: the file is closed } match (readNotes()) { Ok(text) => print(text) Err(error) => print(error) } Other languages will make other trade-offs. That's the point: Rust shouldn't be the end of the line, but the line the next languages start from.
If the idea interests you, Koji is at github.com/koji-language/koji. And if you write Rust, I'd like to hear where you think this trade-off breaks.
