New
The latest blog posts to take off on Hacker News. 5,636 posts.
The Future Shape of Ruby Objects
These are the notes for a talk I gave at RubyKaigi 2021, which is why they’re written as if we were talking and going through some slides and code together.
Native Rust Support on Cloudflare Workers
Introducing the Cloudflare Workers Rust SDK: write your entire Worker in Rust, no JavaScript required.
An Introduction to Type Level Programming in Haskell
Learn about type level programming by building a custom theming engine.
Maintain It with Zig
No matter what language you program in or what applications you use: everything you do with a computer today is powered at some level by a piece of C/C++ code.
Rust programs written entirely in Rust
A blog by sunfishcode
Ruby Is Still a Diamond
Matz is nice and so we are nice. — Ruby Community Motto
Wild claims about K performance
Sometimes I see unsourced, unclear, vaguely mystical claims about K being the fastest array language. It happens often enough that I'd like to write a long-form rebuttal to these, and a demand that the people who make these do more to justify them.
In Go, pointers (mostly) don't go with slices in practice
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…
Friendship ended with the garbage collector
It's been a while since the last update about my work on the Inko programming language . Not because there hasn't been any progress, but because I've been busy making changes. A lot of changes.
I use Attrs instead of Pydantic
This post is an account of why I prefer using the attrs library over Pydantic. I'm writing it since I am often asked this question and I want to have something concrete to link to.
Error stack traces in Go with x/xerror
A workaround to get nice stack traces for errors in Go.
C++20 Concepts: The Definitive Guide
Start using this domain right away. Straightforward domain shopping experience. Quick access to your domain.
Parser generators vs. handwritten parsers: surveying major languages in 2021
Parser generators vs. handwritten parsers: surveying major language implementations in 2021
Elm at Rakuten
In our team at Rakuten, we have been using Elm1 in production for almost two years now. This post is about our story, the lessons we learned, and our likes and dislikes. This post is quite long so if you prefer to see an overview, feel free to jump to the index. Everything started in the Berlin branch of Rakuten…
C++20 Modules with GCC11
Introduction One of the headline changes of the C++20 standard is the inclusion of modules. Modules promise to significantly change the structure of C++ codebases and possibly signal headers’ ultimate demise (but probably not in my lifetime). It also opens the door to potentially have a unified build system and…
Let's write a compiler, part 3: A parser
Tokenizing the source code input is a great start for our compiler. Now let's turn our attention to parsing the PL/0 grammar. Once we have finished with the parser, the front end of our compiler will be finished and we will have a PL/0 validator. This is a program that can read in PL/0 source code and inform the user…
Why is learning functional programming so damned hard? (2019)
My Functional Programming journey was filled with dead ends, false starts, failed attempts and frustration. And I suspect that I’m not…
Let's write a compiler, part 1: Introduction, selecting a language, and planning
I think we all knew this might be coming once we finished up with our assembler . While we can in theory solve any computable problem by writing the appropriate assembly for our assembler, writing assembly code can be a bit more cumbersome than a high-level language. There is a reason why we did not write our…
Thoughts On Lisp And Racket (2019)
I plan on writing about why I am interested in the Lisp family of languages. It will probably come out in stages.
How Actors Work Internally in Swift
Lets explore how actors work under the hood, using Swift's own source code as a guide to finding out how they work inside the compiler.