Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 1,517 posts.

2021
932

JSON with Commas and Comments

Summary: JWCC is a minimal extension to the widely used JSON file format with (1) optional commas after the final element of arrays and objects and (2) C/C++ style comments. These two features make it more suitable for human-editable configuration files, without adding so many features that it’s incompatible with…

935

Reading code is a skill (2020)

I’m inspired to write this post because Someone Is Wrong On The Internet. Of course a more accurate statement would be “I disagree with some aspects of what someone on the internet said, even though they have an entirely valid point of view”. But that’s less catchy. I saw a Tweet I violently agreed with, so I…

937

Path Tracing Quake in Blender

This week twenty-five years ago, Quake broke new ground in game engine realism. It was one of the first commercial games to have fully texture mapped 3D scenes rendered in real-time, with pre-computed lightmaps adding an extra layer of atmosphere.

938

Implementing a LLVM Micro C compiler in Haskell

In this series, we will explore how to write a compiler for a small subset of C to LLVM in Haskell. Our language, Micro C, is basically a small subset of real C. We'll have basic numeric types, a real bool type, pointers, and structs. At the end of the series, we'll have a beautiful executable, mcc (Micro C…

941

Racket v8.3

_posted by John Clements_ Racket version 8.3 is now available from https://download.racket-lang.org. Racket removes syntax arming and disarming in favor of a simpler system of protected syntax operations, along with other updates to the syntax sys...

946

All Horses Are the Same Color

Problem: Show that all horses are of the same color. “Solution”: We will show, by induction, that for any set of $ n$ horses, every horse in that set has the same color. Suppose $ n=1$, this is obviously true. Now suppose for all sets of $ n$ horses, every horse in the set has the same color. Consider any set $ H$ of…

951

Six ways to make async Rust easier

Asynchronous Rust is powerful but has a reputation for being hard to learn. There have been various ideas on how to fix the trickiest aspects, though with my focus being on Tokio 1.0, I had not been able to dedicate much focus to those topics. However, Niko’s async vision effort has recently started the discussion…

957

Upcoming Features in Go 1.18

Go 1.18 will be a significant release of the programming language that will contain some major features that I’m excited about. The upcoming version is scheduled for early 2022. The first beta should be out in a month. Let’s take a look at some of the new features that will be available.