Zig Programming Language 0.1.1: First beta release
Zig can be used to integrate closely with existing C code, or independently, without libc.
Topics /
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
Zig can be used to integrate closely with existing C code, or independently, without libc.
[UPDATE: Feb 8 2025] my amazing colleague Max Shen noticed a sign mistake in my derivation of the partial derivative of the log-harmonic function below.
You all know me, I love exploring new memory safety approaches and blending them together in weird ways.
I’ve been writing some CoffeeScript lately, and it’s been fantastic. I wish I...
It’s been a long road, but at last the puzzle is complete: Today we delivered Project Jigsaw for general use, as part of JDK 9 .
Clojure by Example
Learn about type level programming by building a custom theming engine.
System programming in Rust: beyond safety Balasubramanian et al., HotOS’17 Balasubramanian et al. want us to switch all of our systems programming over to Rust. This paper sets out the case. …
Go 1.18 is coming out soon. It's a huge release, but native fuzzing has a special place in my heart. Not much has been written yet on how Go's fuzzing system actually works, so I'll talk a bit about that here.
Aditya Bhargava's personal blog.
This content was originally meant to be presented as part of my workshop on Rust and microcontrollers at the NITC FOSSMeet 2018 . As I was not able to cover it satisfactorily during the workshop, I thought of writing it down!
Minor nit: printing the predecessors of a basic block is a feature of the IL printer, not Clang. It is just visualizing information that is implicit in the IR anyway.
One thing I love about Python is how it comes with its very own built-in zen. In moments of tribulations, when I am wrestling with crooked code and tangled thoughts, I often find solace in its timeless wisdom. Here's a glimpse of the clarity it provides:
Matthew Butterick
In general, when working in C I avoid the standard library, libc, as much as possible. If possible I won’t even link it. For people not used to working and thinking this way, the typical response is confusion. Isn’t that like re-inventing the wheel? For me, libc is a wheel barely worth using — too many deficiencies in…
Explore how Common Lisp and Clojure shape modern programming, and discover why understanding these foundations is crucial for tech choices today
An unusual benchmark for programming languages, designed to replace C. Unlike many other benchmarks, this one measures developer productivity and performance.
Notes by `dpc`
Or, how the feature that allows to write less names might make the code more explicit.
An exhaustive set of benchmarks on different ways to approach error handling in Golang. We demonstrate that common sentinel error idioms are slow your code down by 5x.
Sit beside me and hear this crazy old man's tale of when I asked Rust for too much
Now that the Cologne meeting is over and we’ve more or less finalized (at least before the NB comments come in) C++20, I wanted to take the time to describe in detail one of the new language features we can look forward to. The feature is typically referred to as operator<=> (defined in the language as “three-way…