<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Felipe Coletti</title>
    <description>The latest articles on DEV Community by Felipe Coletti (@felipe-coletti).</description>
    <link>https://dev.to/felipe-coletti</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4272685%2F5eda2d57-b613-4627-a6e2-00d5fbbd5d75.png</url>
      <title>DEV Community: Felipe Coletti</title>
      <link>https://dev.to/felipe-coletti</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/felipe-coletti"/>
    <language>en</language>
    <item>
      <title>I'm Building a Post-Rust Programming Language</title>
      <dc:creator>Felipe Coletti</dc:creator>
      <pubDate>Sun, 29 Nov 2026 22:58:15 +0000</pubDate>
      <link>https://dev.to/felipe-coletti/im-building-a-post-rust-programming-language-39hp</link>
      <guid>https://dev.to/felipe-coletti/im-building-a-post-rust-programming-language-39hp</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where C Set the Baseline
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Rust Proved
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building on Rust
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;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) =&amp;gt; print(text)
    Err(error) =&amp;gt; print(error)
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;If the idea interests you, Koji is at &lt;a href="https://github.com/koji-language/koji" rel="noopener noreferrer"&gt;github.com/koji-language/koji&lt;/a&gt;. And if you write Rust, I'd like to hear where you think this trade-off breaks.&lt;/p&gt;

</description>
      <category>programming</category>
      <category>opensource</category>
      <category>koji</category>
      <category>rust</category>
    </item>
  </channel>
</rss>
