Topics /
Programming Languages
The most popular blog posts about programming languages on Hacker News. 384 posts.
Multiple assignment and tuple unpacking improve Python code readability (2018)
Whether I’m teaching new Pythonistas or long-time Python programmers, I frequently find that Python programmers underutilize multiple assignment....
When rustc explodes
One could say I have a bit of an obsession with build times. I believe having a “tight feedback loop” is extremely valuable: when I work on a large codebase, I want to be able to make small increme...
If Programming Languages Were Futurama Characters
Map your (least) favorite programming language to your favorite Planet Express crew member based on its characteristics.
I Avoid Async/Await
Whatever your stance on async/await, I’d like to pitch to you on why, in my experience, async/await tends to make code more complicated…
Extreme explorations of TypeScript's type system
Some of the most creative, wacky explorations of what you can do in TypeScript's type system!
WebAssembly for the Java Geek
When many Java developers hear the word WebAssembly, the first thing they think is “browser technology”. The second thing: “it’s the JVM all over again”. After all, for a Java developer, in-browser apps are prehistory.
Almost Always Unsigned
Almost Always Unsigned # Written by Dale Weiler Twitter GitHub Last updated Saturday, January 1, 2022 The need for signed integer arithmetic is often misplaced as most integers never represent negative values within a program. The indexing of arrays and iteration count of a loop reflects this concept as well. There…
Paving the on-ramp to Java
Java is one of the most widely taught programming languages in the world. Tens of thousands of educators find that the imperative core of the language combined with a straightforward standard library is a foundation that students can comfortably learn on. Choosing Java gives educators many degrees of freedom: they can…
Carefully exploring Rust as a Python developer
Trying out the Rust programming ecosystem as a 10+ years Python developer. How to do common programming tasks and how the tooling looks like.
CXX-Qt: Safe Rust bindings for Qt
Binding Rust with Qt in a safe and idiomatic way using CXX as bridge, macro expansion, and code generation through CXX-Qt
GCC undefined behaviors are getting wild
Happy with my recent breakthrough in understanding C integer divisions after weeks of struggle, I was minding my own business having fun writing integer arithmetic code. Life was good, when suddenly… zsh: segmentation fault (core dumped) .
A Proposal for Type Syntax in JavaScript
Today we're excited to announce our support and collaboration on a new Stage 0 proposal to bring optional and erasable type syntax to JavaScript. Because
NimConf 2022 – Nim Online Conference
NimConf 2022 will take place on October 22nd.
The pervasive effects of C's malloc() and free() on C APIs
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
You Should Compile Your Python and Here’s Why
write Python that’s faster than C by optimizing your code, adding standard type annotations, and using Mypyc.
I'm making a Typescript type-checker in Rust
TLDR; I'm making a Typescript type-checker in Rust. Right now it supports a smaller subset of the type-system and exists as a fun side-project, but the end goal is a compilation tool we can use to make Typescript compilation go brrrr...
Don't Write a Programming Language
It will chew you up and spit you out, and you'll not even complain. I often start new projects at the beginning of the year, around Dec...
On Learning Smalltalk
Summary: In 2021 I learned Smalltalk, mostly using the lovely Pharo implementation. While the syntax of the language is quite nice, it...
We used Elixir's Observer to hunt down bottlenecks
Learn how to use Elixir's Observer to chase down bottlenecks and fix runtime issues.
Go's Concurrency Examples in Java 19
There is no way for your operating system to know exactly how much stack space a thread will need so it allocates an amount on the order of around a kilobyte initially and then around a megabyte once the thread starts to be used. You only have around a bakers dozen gigabytes of RAM, so you can only have give or take…
C++20 coroutines: “The bug is in the C++ standard, not GCC.” (2020)
Anubis could not load its JavaScript. The server may be overloaded. Please reload the page to try again.
Beginner's guide to error handling in Rust
Easy to follow guide using practical examples
I Built a Ruby Parser
Sorry, this post will read like a “dear diary” entry rather than some life-changing HN-worthy guidance. Back in November 2020, almost on a whim I started work on a new parser for the Ruby programming language. It was almost exactly a year after I had started working on my compiler project (I hope to write a longer…
Rust without the async (hard) part
A comparison between async Rust's and lunatic's approach to massive concurrency.