Rob Pike's simple C regex matcher in Go
Translating Rob Pike's simple and elegant C regex matcher to Go.
Topics /
The most popular blog posts about programming languages on Hacker News. 384 posts.
Translating Rob Pike's simple and elegant C regex matcher to Go.
GraalVM is an advanced JDK with ahead-of-time Native Image compilation.
After more than 10 years of working on the Python compiler Nuitka, and at the age of 50, I have finally decided to take the plunge. My projects “Nuitka” and “Nuitka commercial” are now my day job , and I quit my work in the Air Traffic Community, after working on ARTAS (a software to create an Air Situation Picture…
I have been thinking about the semantics of Rust – as in, the intended behavior of Rust programs when executed, in particular those containing unsafe code – a lot. Probably too much. But al...
An article titled Rust Is Hard, Or: The Misery of Mainstream Programming came out today and it's getting a lot of attention. I have a feeling that it's viewed in a wrong context, so I'd like to comment on the issue raised there.
Today, I’m releasing deflect , an implementation of reflection for Rust. Deflect can be used to recover the concrete types of trait objects, inspect the internal state of async generators, pretty-print arbitrary data, and much more.
A love letter to Ruby and Rails.
We’ll spend the rest of this book illuminating every dark and sundry corner of the Lox language, but it seems cruel to have you immediately start grinding out code for the interpreter without at least a glimpse of what we’re going to end up with.
So, I’ve been working on a programming language in my spare time for over a year now. I’ll save you the details but it’s meant to be a minimal, easy-to-learn language for beginners. This year for the Advent of Code, I set myself a challenge; complete every day’s challenge using only my programming language.
When an enthusiastic Ada programmer and a SPARK expert pair up to prove the most "stupid" sorting algorithm, lessons are learned! Join us in this…
We’re excited to announce that Stripe’s VS Code extension for Sorbet is now [open source](https://github.com/sorbet/sorbet/tree/master/vscode_extension). We’ve designed Sorbet to be used in editors from Day 1—For the past two years, Sorbet has exposed a flag (`--lsp`) that starts Sorbet in [Language Server…
You never get a second chance to make a first impression.
In my never ending quest to have oksh support every C compiler in existence, I have ported two more C compilers to OpenBSD . They are chibicc and kefir. As always, let's review them and at the end I'll have links to unofficial ports so that you can play around with these C compilers.
Benchmarking Rust to determine if small structs should be passed by-copy or by-value.
PHP 8.2 is a major update of the PHP language. Readonly classes, null, false, and true as stand-alone types, deprecated dynamic properties, performance improvements and more
I keep seeing discussions that equate zig's level of memory safety with c (or occasionally with rust!). Neither is particularly accurate. This is an attempt at a more detailed breakdown.
Why and how I added proper CSV support to GoAWK, my POSIX-compatible AWK interpreter.
It’s That Blog Post. The release one, where we round up all the last of the features approved since the last time I blogged. If you’re
Since making a sudden leap from computer science to academic medicine about seven years ago, I haven’t programmed as much.
Highlights of the Julia 1.8 release.
We are pleased to announce the release of Ruby 3.2.0. Ruby 3.2 adds many features and performance improvements.
I think there's another reason this problem persists in Clojure. There's no Rails for Clojure.
With Perl 5.36.0 just around the corner, we thought that this is a good time to clarify plans for the future of the Perl programming language. We realised that the future was hammered out in a number of steps, across several months. This meant that there hasn't been a single statement we could refer people to. This…
You can go a long time as a JavaScript developer without ever feeling the need for generators. Hence, it’s natural to wonder: What are they good for? Why would you ever need one? What’s the point? But generators can do some neat tricks. And they may even change the way you approach certain problems.
As a fun afternoon challenge, I decided to write a C program that looked nothing like C. Not necessarily obfuscated, though there is a competition for that if you are so inclined.
Collected tips from building the Austral compiler.