Topics /
Programming Languages
The most popular blog posts about programming languages on Hacker News. 5,634 posts.
Fuzz me wrong – How QuickCheck destroyed my favourite theory
Quite a while back I wrote a larger article on the algebraic foundation of software patterns which also covered the MapReduce algorithm .
Perl One-Liners Cookbook
Example based guide for text processing with Perl from the command line
Roll your own JavaScript runtime, pt. 3
We'll create and load a snapshot of our custom JavaScript runtime to optimize startup time.
So You Want To Optimize Ruby
I was recently asked for a list of
RISC-V Business: Testing StarFive's VisionFive 2 SBC
It's risky business fighting Intel, AMD, and Arm, and that's exactly what Star Five is trying to do with this: The chip on this new single board computer could be the start of a computing revolution—at least that's what some people think! The VisionFive 2 has a JH7110 SoC on it, sporting a new Instruction Set…
Local Variables
And as imagination bodies forth The forms of things unknown, the poet’s pen Turns them to shapes and gives to airy nothing A local habitation and a name.
Compiling a Lisp to x86-64: primitive functions
Compiling Lisp primitive unary functions to x86-64
Clamiga: Common Lisp for the Amiga
After the ACE BASIC posts of the last months, this one is about a different project I have been working on for the last half year: CL-Amiga , or Clamiga for short. It is a Common Lisp implementation built for the Amiga family -- classic AmigaOS 3 on 68k and MorphOS as a fully native PPC build, AROS and AmigaOS 4 maybe…
Syntax extensions and regular expressions for Rust
WARNING: 2018-04-12 : The code snippets for this post are no longer available. This is just as well anyway, since they all depended on an unstable internal compiler interface, which hasn’t existed for years.
TypeScript 2.4 RC
Today we're releasing our RC of TypeScript 2.4. To get started with the latest stable version of TypeScript, you can grab it through NuGet, or use the
Scala on Heroku
The sixth official language on the Heroku polyglot platform is Scala, available in public beta on the Cedar stack starting today. Scala deftly blends...
Implementing a JIT-compiler with Rust
I am writing Dora, a simple JIT-compiler with Rust. Dora is both the name of the custom programming language and of the JIT-compiler. After some time working on it, I want to write about the experiences I made. I started this project to get a better understanding of the low-level implementation details of a…
Render Multimedia in Pure C
In a previous article I demonstrated video filtering with C and a unix pipeline . Thanks to the ubiquitous support for the ridiculously simple Netpbm formats — specifically the “Portable PixMap” ( .ppm , P6 ) binary format — it’s trivial to parse and produce image data in any language without image libraries. Video…
A working D compiler on OpenBSD
I got GDC , the GNU D Compiler, working on OpenBSD . Supporting D has been a very long time coming. Here's the story of how we got here and where we need to go next.
What Vale taught me about linear types, borrowing, and memory safety
I've had some pretty surreal experiences while making Vale. 0 The weirdest was when I realized the hidden fundamental truth beneath a lot of the programming languages we use today.
Writing a simple evaluator and type-checker in Haskell
This tutorial serves as a very short and quick summary of the first few chapters of TAPL. Huge thanks to the ##dependent@freenode community (pgiarrusso, lyxia, mietek, …) for clearing all my …
Rust in 2022
In previous years, the core team have asked the community to write new years blog posts about Rust in the coming year. They haven't this year, but I wanted to write one anyway. However, it turned out to be harder than expected. Perhaps that's due to Rust being in an
Why Haskell Is Worth Learning
Why Haskell? It's an incredibly powerful tool to use with other langues. And learning it will make you a better, smarter, more-versatile programmer.
Getting Started with Lisp in 2019
A quick guide on how to get started with LISP development in 2019. TLDR: install <a href="https://github.com/roswell/roswell">roswell</a>.
In Praise of Perl 5
I have decided to do a two-part series here praising Perl in part 1 and PostgreSQL in part 2. I expect that PostgreSQL folks will get a l...
Excessive nil pointer checks in Go
Let’s talk about nil pointer checks in Go. You want to prevent panics in production, but that doesn’t start with a deferred recover. It starts with defensive programming. Check your inputs, check your bounds, and check pointers for nil before dereferencing them. I’ve started to see more nil checks in Go code. In the…
Cuneicode, and the Future of Text in C
Following up from the last post, there is a lot more we need to cover. This was intended to be the post where we talk exclusively about benchmarks and numbers. But, I have unfortunately been perfectly taunted and status-locked,
Swift Functors, Applicatives, and Monads in Pictures
In this port to Swift of the great of Haskell's "Functors, Applicatives, And Monads In Pictures" we are going to look at these functional programming concepts aided by some very helpful pictures.