Hacker News with Generative AI: Programming Languages

Announcing Rust 1.85.0 and Rust 2024 (rust-lang.org)
The Rust team is happy to announce a new version of Rust, 1.85.0. This stabilizes the 2024 edition as well.
Cursed fire or #define black magic (ssloy.github.io)
Have you ever wondered whether it is possible to write fully functional code using only the #define directive in C?
Greg Kroah-Hartman Makes Compelling Case for Kernel Drivers Be Written in Rust (phoronix.com)
Greg KH makes the case that the vast majority of the kernel bugs are due to "stupid little corner cases in C that are totally gone in Rust."
Relaxed Radix Balanced Trees (2024) (horne-khan.com)
I’m adding immutable vectors to my language, Ivan, and needed to pick a suitable data structure to implement them.
Deno v2.2 (deno.com)
Deno 2.2: OpenTelemetry, Lint Plugins, node:sqlite
Linus Torvalds Would Reportedly Merge Rust Kernel Code over Maintainer Objection (phoronix.com)
The drama surrounding Rust code within the Linux kernel continues... Christoph Hellwig is the maintainer of the DMA mapping helpers and several other areas of the kernel has been an outspoken critic of Rust code or secondary programming languages within the Linux kernel kernel. Hellwig has been critical of Rust code for the Linux kernel and its long-term maintainability.
Julia: C codegen considered unnecessary: go directly to binary, do not pass C (arxiv.org)
Since time immemorial an old adage has always seemed to ring true: you cannot use a high-level productive programming language like Python or R for real-time control and embedded-systems programming, you must rewrite your program in C.
Greg K-H: "Writing new code in Rust is a win for all of us" (kernel.org)
As someone who has seen almost EVERY kernel bugfix and security issue for the past 15+ years (well hopefully all of them end up in the stable trees, we do miss some at times when maintainers/developers forget to mark them as bugfixes), and who sees EVERY kernel CVE issued, I think I can speak on this topic.
Blessed Rust Crates (blessed.rs)
The standard library in Rust is not "batteries included", excluding functionality like HTTP(S), JSON, timezones, random numbers, and async IO. The recommended crate directory is a hand-curated guide to the crates.io ecosystem, helping you choose which crates to use.
TOML [Tom's Obvious Minimal Language] (toml.io)
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages.
Twin Leaks: C++ Walk with Me (deprogrammaticaipsum.com)
The work of Bjarne Stroustrup, one of the most important programming language designers of all time, has happened in parallel with that of one of the greatest filmmakers of all time, David Lynch, who passed away during the preparation of this edition.
One year after switching from Java to Go (glasskube.dev)
I always told people memory is cheap, black magic is OK and efficiency doesn't matter in most cases, but boy, how wrong was I...
TIL: Rust does not prevent memory leaks (ycombinator.com)
I'm not a Rust developer so I have no clues about what Rust does, how it does or why it is the way it is.<p>I had a short interaction on another thread and some user told that Rust does not prevent memory leaks.<p>People talk so much about Rust memory safety and how everything must be rewritten in Rust, but if Rust does not prevent memory leaks why are people so crazy about it?
Show HN: Cot: a Rust web framework for lazy developers (mackow.ski)
Cot was born out of frustration - the kind that every Rust developer feels when searching for a batteries-included, Django-like web framework that just handles the basics for you. While Rust is a really mature language, the web ecosystem is still sort of lacking. Let’s change that.
Rewriting essential Linux packages in Rust (lwn.net)
Most Linux systems depend on a suite of core utilities that the GNU Project started development on decades ago and are, of course, written in C. At FOSDEM 2025, Sylvestre Ledru made the case in his main stage talk that modern systems require safer, more maintainable tools.
Forth Dialect for Game Development, Targeting Lua (github.com/zeroflag)
Why I'm writing a Scheme implementation in 2025: Async Rust (maplant.com)
This blog post is an introduction to scheme-rs.
Understanding Yoneda (bartoszmilewski.com)
You don’t need to know anything about category theory to use Haskell as a programming language. But if you want to understand the theory behind Haskell or contribute to its development, some familiarity with category theory is a prerequisite.
A tail calling interpreter for Python (already landed in CPython) (reverberate.org)
It’s been nearly four years since I published Parsing Protobuf at 2+GB/s: How I Learned To Love Tail Calls in C. In that article, I presented a technique I co-developed for how to write really fast interpreters through the use of tail calls and the musttail attribute.
Why I'm leaving Elm (2020) (lukeplant.me.uk)
Over the past year or so, I've reluctantly come to the conclusion I need to leave Elm and migrate to some other language (most likely Bucklescript via philip2), and I definitely cannot recommend it to anyone else.
Scryer Prolog NPM package (experimental) (github.com/guregu)
This is a Typescript package that embeds Scryer Prolog.
Rust Is Eating JavaScript (2023) (leerob.com)
Rust is a fast, reliable, and memory-efficient programming language. It's been voted the most loved programming language six years in a row (survey). Created by Mozilla, it's now used at Facebook, Apple, Amazon, Microsoft, and Google for systems infrastructure, encryption, virtualization, and more low-level programming.
DSLs for Safe iOS/WatchOS Communication (defn.io)
I'm currently writing an Apple Watch counterpart app for Podcatcher.
Maintainer Opinions on Rust-for-Linux (lwn.net)
Miguel Ojeda gave a keynote at FOSDEM 2025 about the history of the Rust-for-Linux project, and the current attitude of people in the kernel community toward the experiment.
Taichi: High-Performance Parallel Programming in Python (taichi-lang.org)
Taichi is a domain-specific language embedded in Python that helps you easily write portable, high-performance parallel programs.
Schemesh: Fusion between Unix shell and Lisp REPL (github.com/cosmos72)
Schemesh is an interactive shell scriptable in Lisp.
Jill – a functional programming language for the Nand2Tetris platform (github.com/mpatajac)
Jill is a functional programming language built for the Nand2Tetris platform, as an alternative to the original Jack high-level language.
uLisp: Raspberry Pi RP2350 Boards (ulisp.com)
The RP2350 processor is Raspberry Pi's successor to their RP2040 processor, and it has the following key features:
Rust Without a Borrow Checker (github.com/thomcc)
This is rustc with the borrow checker disabled. I wrote it in like, 30 minutes because this tweet made me laugh.
Mathics: A free, open-source alternative to Mathematica (mathics.org)
Mathics3 is a free, open-source general-purpose computer algebra system featuring Mathematica®-compatible syntax and functions. It relies on a number of other Python libraries in the Python ecosystem.