Topics /
Programming Languages
The most popular blog posts about programming languages on Hacker News. 126 posts.
A Decade of Rust, and Announcing Ferrocene
Hello Rustaceans! Sometimes, good things come in many. For example: birthdays! 🎉 As it just so happens, we have 3 big things to celebrate: It's the 10th anniversary of Florian publicly posting his first Rust code on September 28th, 2013! Ferrous...
C++ Modules: Packaging Story
Experimenting with C++ Modules from the package management and build system perspective
How I developed a faster Ruby interpreter (2022)
Learn about 8 optimization techniques for a faster interpreter in Ruby which I developed using a dynamically specialized internal representation (IR).
What's Going on with Language Rankings?
As the inbound DMs and emails attest, at least a few of you out there having been waiting for RedMonk to drop our latest version of the programming language rankings. Our apologies about the delay: here’s our update on the process. Normally we run these rankings twice a year, with the goal of using publicly
mruby 3.2.0
mruby is the lightweight implementation of the Ruby language complying to (part of) the ISO standard. mruby can be linked and embedded within your application. We provide the interpreter program
Will Carbon Replace C++?
Is Carbon going to be a real replacement for C++? Let's find out.
JEP 400: UTF-8 by Default
Specify UTF-8 as the default charset of the standard Java APIs. With this change, APIs that depend upon the default charset will behave consistently across all implementations, operating systems, locales, and configurations.
Calling Purgatory from Heaven: Binding to Rust in Haskell
Calling hell from heaven and heaven from hell is a classic paper from the previous century, introducing the Haskell foreign function interface (FFI). It describes the facilities that Haskell offers for calling functions written in C (and vice versa). In this blog post, we will consider how to call functions written in…
Java JEP 461: Stream Gatherers
Enhance the Stream API to support custom intermediate operations. This will allow stream pipelines to transform data in ways that are not easily achievable with the existing built-in intermediate operations. This is a preview API .
On-Crash Backtraces in Swift
The new Swift 5.9 release contains a number of helpful, new features for debugging code, including an out-of-process, interactive crash handler to inspect crashes in real time, the ability to trigger the debugger for just-in-time debugging, along with concurrency-aware backtracing to make it easier to understand…
Roll your own JavaScript runtime, pt. 3
We'll create and load a snapshot of our custom JavaScript runtime to optimize startup time.
Mastering Nim, 2nd edition
Discover the secret of Nim!
I come here not to bury Delphi, but to praise it (2019)
What helps a programming language gain traction? Patrick Martin remembers why he used to use Delphi.
PHP 8.3
PHP 8.3 is a major update of the PHP language. It contains many new features, such as explicit typing of class constants, deep-cloning of readonly properties and additions to the randomness functionality. As always it also includes performance improvements, bug fixes, and general cleanup.
A Primer on Logic Programming
Getting a kickstart in the logic programming world with Prolog
Patterns with Rust Types
Patterns to use types for better safety and design
Learning COBOL: A Journey for the Modern Programmer (2021)
A guide to learning COBOL for the modern programmer.
Using enums to represent state in Rust
Many Rust beginners with a background in systems programming tend to use bool (or even u8 – an 8-bit unsigned integer type) to represent “state”. For example, how about a bool to indicate whether a user is active or not? struct User { // ... …
AdaCore Announces Gnat Pro for Rust
For the first time, AdaCore’s GNAT Pro subscribers will be able to develop safety- and security-certifiable embedded applications using Rust while…
Crystal 1.9.1
We are announcing a new patch release of the Crystal 1.9 series with two bugfixes.
How to use a Python multiprocessing module
Working with Python multiprocessing module can be difficult at times. Learn what you can do with it.
Interview about Austral, a systems programming language with linear types
Austral is a new systems programming language. It uses linear types to provide memory safety and capability-secure code, and is designed to be simple enough to be understood by a single person, with a focus on readability, maintainability, and modularity.
C++17 creates a practical use of the backward array index operator
Possibly more than just a curiosity.
The Future of Programming – Interview with Richard Eisenberg
Listen in on Jane Street’s Ron Minsky as he has conversations with engineers working on everything from clock synchronization to reliable multicast, build systems to reconfigurable hardware. Get a peek at how Jane Street approaches problems, and how those ideas relate to tech more broadly.
Sometimes, it is a compiler bug (2022)
My journey in finding and fixing a bug in a C++ toolchain
Rust vs Go: A Hands-On Comparison
Rust versus Go is a controversial topic that pops up from time. In this post, we will compare both languages in the context of web development by writing a small web service which shows weather data in both languages.