Ways to make a web component
Compare coding style, bundle size and performance of 61 different ways to make a Web Component.
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 21,819 posts.
Compare coding style, bundle size and performance of 61 different ways to make a Web Component.
Build durable cloud agents with a managed Codex harness.
Serverless is like a black hole. It promised exciting adventures, but the gravity sucked me in and I spent most of my efforts dealing with its complexity, in...
A delightful language with friendly error messages, great performance, small assets, and no runtime exceptions.
Comparison of MRSK and Fly.io
Macrocosm is a mobile game that takes you from atom to galactic empire across seven interconnected stages where making progress in one stage gives you a boost in the next! This post is a deep dive into the (nearly) four years of free time I spent making it.
Rahul's Blog
Self-hosted chat for small teams.
This program is a dependency-free implementation of GPT-2, including byte-pair encoding and transformer inference, in ~3000 bytes of C. I then use this to create something like Chat GPT.
The idea of a zero cost abstraction is very important to certain programming languages, like Rust and C++, which intend to enable users to write programs with excellent performance profiles with relatively little effort. Since this idea is fundamental to the design of Rust and my work, I want to investigate, for a…
tl;dr: online TLA+ manual/advanced techniques/examples here. TLA+ is a tool for testing abstract software designs. I first stumbled on it in 2016 and found it so useful I wrote a free online guide to help others learn it. Then I decided the guide wasn’t good enough and wrote Practical TLA+ in 2018. Then I decided the…
TLDR? You can find the code and a bunch of examples on GitHub at dps/rust-raytracer. Over the holiday break, I decided to learn Rust. Rust is a modern systems programming language which has a really interesting type system. The type system can catch broad classes of common programming mistakes - e.g. ensuring memory…
Exploring a minimal implementation of a time-sharing kernel on RISC-V, implemented in Zig, on top of OpenSBI.
Posted by Jonathan Huang, Research Scientist and Vivek Rathod, Software Engineer (Cross-posted on the Google Open Source Blog) At Google, we develo...
The latest news from Google on open source releases, major projects, events, and outreach programs for early career developers.
In 2007 I wrote a pair of modding tools, binitools , for a space trading and combat simulation game named Freelancer . The game stores its non-art assets in the format of “binary INI” files, or “BINI” files. The motivation for the binary format over traditional INI files was probably performance: it’s faster to load…
Trying out this newsletter thing... It's sort of astonishing to think about how much value I've gotten from Twitter over the last few years. At its best, my...
A Rust library for easy and understandable async programming
I’ve used CoffeeScript for a few months now. Coming from Python, I felt that CoffeeScript was more concise than Javascript, so I decided to use it for a few small projects. Initially, it was a nice experience, but then I gradually realized that, while writing CoffeeScript code was very pleasant, reading it wasn’t so…
Practitioner's perspective comparing Django and Flask — two Python web frameworks, their trade-offs, ecosystems, and when each fits. Full article on devel.tech.
As part of the small minority of devs at my company who primarily run Windows, I’m accustomed to working around occasional Unix-specific behaviors in our build and deployment systems. Cygwin makes most stuff just work, I can fix simple incompatibilities myself, and as a last resort I can always boot into OSX for a…
Google altered the deal
The personal website of James Belchamber.
Python loses every public benchmark by 21-875x. I took the exact problems people use to dunk on Python and climbed every rung of the optimization ladder -- from CPython version upgrades to Rust. Real numbers, real code, real effort costs.
Take a tour through hundreds of performance improvements in .NET 11.