Printf-Tac-Toe

printf-tac-toe

A c implementation of tic-tac-toe in a single call to printf. Written for IOCCC 2020.

About memory pressure, lock contention, and Data-oriented Design

about-memory-pressure,-lock-contention,-and-data-oriented-design

I’m here to narrate you a story about performance. Recently, I was in the same room as some Memory Pressure and some Lock Contention. It took me a while to recognize them. Legend says it only happens in obscure, low-level systems, but I’m here to refute the legend. While exploring, I had the pleasure of […]

Tested: How Many Times Can a DVD±RW Be Rewritten? Methodology and Results

tested:-how-many-times-can-a-dvd±rw-be-rewritten?-methodology-and-results

Now that we’ve covered the contenders for this test, I will cover how this test will be performed and go through the results. It was a long time for me, but for you, it’ll just be a few hours between posts … Methodology & Limitations It might sound simple to experimentally determine how many times […]

Show HN: Eyot, A programming language where the GPU is just another thread

Eyot is a new language I’m building to make offloading work to the GPU as seamless as spawning a background thread. Eyot source code is transparently compiled for both CPU and GPU, with communication between the two handled by the runtime. Traditional GPU programming expects you to handle many tasks, such as memory allocation, compiling […]

Apple’s 512GB Mac Studio vanishes, a quiet acknowledgment of the RAM shortage

apple’s-512gb-mac-studio-vanishes,-a-quiet-acknowledgment-of-the-ram-shortage

If the only thing you had to go off was Apple’s string of product announcements this week, you’d have little reason to believe that there is a historic AI-driven memory and storage supply crunch going on. Some products saw RAM and storage increases at the same prices as the products they replaced; others had their […]

Segagaga Has Been Translated into English

segagaga-has-been-translated-into-english

The headline you see above is not some form of freaky clickbait, nor is it a two-month-early April Fool’s prank. It is, however, signalling one of the biggest pieces of Sega Dreamcast news that we will probably ever report here on this website. Some thought it would never happen, but the day has finally arrived: […]

PeppyOS: A simpler alternative to ROS 2 (now with containers support)

peppyos:-a-simpler-alternative-to-ros-2-(now-with-containers-support)

Input { // This is an AI brain that can plug to any hardware controller schema_version: 1, manifest: { name: ”robot_brain”, tag: ”0.1.0”, language: ”python” }, process: { add_cmd: [”uv”, ”sync”], start_cmd: [”uv”, ”run”, ”src/main.py”] }, parameters: {}, interfaces: { exposes: {}, subscribes_to: { // The brain receives inputs from sensors topics: [ { id: […]

Julia Snail – An Emacs Development Environment for Julia Like Clojure’s Cider

julia-snail-–-an-emacs-development-environment-for-julia-like-clojure’s-cider

Snail is a development environment and REPL interaction package for Julia in the spirit of Common Lisp’s SLIME and Clojure’s CIDER. It enables convenient and dynamic REPL-driven development. Snail works on platforms which support libvterm or Eat, which currently means Unix-like systems. It should also work on Windows using WSL. Refer to the changelog for […]

Notes on Writing WASM

notes-on-writing-wasm

I’ve been writing an increasing amount of Rust‑based Wasm over the past few years. The internet has many opinions about Wasm, and wasm-bindgen is — let’s say — not universally beloved, but as I get more experience with it and learn how to work around its shortcomings, I’ve found some patterns that have dramatically improved […]

Invoker Commands API

A common pattern on the web is to have elements control various aspects of the page, such as opening and closing popovers or elements, formatting text, and more. Historically creating these kinds of controls has required JavaScript event listeners added to the button which can then call the APIs on the element they control. The […]