Building a self-contained game in C# under 2 kilobytes
How I fit a graphical game in C# into 2 kilobytes, with no .NET runtime required.
How I fit a graphical game in C# into 2 kilobytes, with no .NET runtime required.
Over the past couple months I’ve discovered a couple of handy tricks for working with GDB breakpoints. I figured these out on my own, and I’ve not seen either discussed elsewhere, so I really ought to share them.
Posted by Ivan Lozano and Dominik Maier, Android Team Android's use of safe-by-design principles drives our adoption of memory-safe languag...
Freedom is nothing without constraints, and Go’s generics gives us a powerful way to build polymorphic types and functions constrained by type sets . Let’s geek out.
From the Zed Blog: In this episode of Zed Decoded, Thorsten and Antonio explore how we use async Rust in the Zed code base to ensure perfect cooperation with macOS to always maintain responsiveness and high-performance.
Debugging with Git Grep, Git Blame, Git Log and Git Bisect
I'm a two hit wonder
In theory, Attention is All You Need. In practice, however, we also need optimized attention implementations like FlashAttention. Although these fused attention implementations have substantially improved performance and enabled long...
Converting character by character isn't good enough any more.
Follow along on a google colab: https://colab.research.google.com/github/philzook58/philzook58.github.io/blob/master/pynb/cbmc_tut.ipynb
Assumed audience: ML researchers who frequently work with PyTorch , but are interested in trying out JAX or have yet to be convinced.
The cross-platform app building toolkit
January 2024
A deep dive into the world of vector networks, and the engineering challenges involved in their implementation.
Xe Iaso's personal website.
Property-based testing is a rare example of academic research that has made it to the mainstream in less than 30 years. Under the slogan “don’t write tests, generate them” property-based testing has gained support from a diverse group of programming language communities. In fact, the Wikipedia page of the original…
This is my story about an adventure into online teaching, video course making, and choosing a hard-to-reach audience, who desperately needs help.
Using Java's Foreign Function API to Call C like fopen, fgets, and fclose.
I have long struggled with understanding what probability-generating functions are and how to intuit them. There were two pieces of the puzzle missing for me, and we’ll go through both in this article.
This article presents the rich text CRDT algorithm implemented in Loro, complying with Peritext's criteria for seamless rich text collaboration. Furthermore, it can be built on top of any List CRDT algorithms and turn them into rich text CRDTs.
CVEs in three strange places and the unique problem of safely processing and handling fonts.
Chess, card games, and Lua.
In a previous article, I explained how I set up a TFT LCD screen on my Raspberry Pi. Because I had been previously using my Pi as a headless server, I hadn’t installed a desktop environment. I wanted to add a lightweight heads-up display to the server, and I wanted a graphical application that could operate without X…
A review after using Rust on embedded in production for over a year
How costly it is to call functions and builtins in your python code? Does inlining help? How have the recent CPython releases improved performance in these areas?
Programmers should be paranoid.
Since I haven't published anything in almost two months, let me jot down one thought that has come to mind frequently over the past few months.
Fang-Pen Lin's blog about programming
With some partial evaluation and specialization hints, it is possible to get pretty decent speedups on interpreters by turning them into compilers.