Objlab
← News
Linguaggi e compilatori

Presentazione HN: Ironwall, un linguaggio di programmazione nativo e un compilatore incentrati sulla sicurezza

Sintesi redazionale: Ciao HN, sto lavorando a un nuovo linguaggio di programmazione e a un compilatore. Sito web: https://ironwall-lang.dev GitHub: https://github.com/3WyUFvDOdCbBw7gOZHwcfgKF/ironwall Perché c'è ancora bisogno di un nuovo linguaggio: https://ironwall-lang.dev/en/motivation Il compilatore è scritto in TypeScript al momento,. Fonte originale: https://news.ycombinator.com/item?id=48430077

<p>Hi HN,</p><p>I have been working on a new programming language and compiler.</p><p>Website: https://ironwall-lang.dev</p><p>GitHub: https://github.com/3WyUFvDOdCbBw7gOZHwcfgKF/ironwall</p><p>Why a new language is still needed:<br>https://ironwall-lang.dev/en/motivation</p><p>The compiler is written in TypeScript at the moment, and work on a self-hosting compiler written in Ironwall is ongoing.</p><p>I would be interested in feedback.</p><p>Thank you.</p><p>Safe Rust cannot cause undefined behavior ... static systems do not need to predict all runtime paths, presumably referring to the halting problem and Rice&#x27;s theorem (or whatever the author intends this to mean, the writing is unclear): these systems prove properties for all accepted programs under a conservative model, which covers all allowed programs within the subset admitted by the model.</p><p>The guarantee that Rust provides</p><p>are sound, and the claim depends on trust in compiler implementation and any `unsafe` code involved in used APIs, etc (which is not uncommon: the same thing is true for Lean&#x27;s kernel, for instance).As Pauli said, much of the writing is not even wrong ... many of the language critiques read like transcriptions of vibes derived from AI discussion: &quot;C++ smart pointers with extra steps&quot; -- this is not a serious statement. I&#x27;m not even a serious user of Rust, but I know enough about the language design to understand how stupid this statement is.</p><p>So the goal seems to be: Java, but without nulls, erased generics, OOP, or the JVM.</p><p>Best of luck.</p>