Compiling ML models to C for fun
We make micrograd fly with a little compiler magic. In this post, we’ll write a ML compiler from scratch.
Topics /
The most popular blog posts about software engineering on Hacker News. 14,541 posts.
We make micrograd fly with a little compiler magic. In this post, we’ll write a ML compiler from scratch.
The “ hacking ” we'll be talking about in this document is exploratory programming in an open-source environment. If you think “ hacking ” has anything to do with computer crime or security breaking and came here to learn that, you can go away now. There's nothing for you here.
Harry Marr — Member of Technical Staff at Anthropic. Co-founded Dependabot, previously at GitHub, Monzo, and GoCardless.
This is the Part 2 of a series. Feel free to read the prequel for more context: Building the fastest Lua interpreter automatically Building a good VM for a dynamic language takes a ton of engineerin
The Python Package Index, or as most call it “PyPI” is a central part of the ecosystem of Python. It serves as a central registry of names, helping to prevent collision between different projects as well as the default repository that most Python users go to when looking for software. Though it has its issues (of…
Resilience is coping with unexpected events and environmental change. To have resilience, you need slack. Slack in software development lets people do the little tasks that keep the work moving smo…
Similar to the previous post, this post covers my analysis of a benchmark on RISC-V targets. Unlike the previous post, I was able to land a patch to eliminate the performance gap to GCC (for this benchmark)!
Earlier today , Barry Schwartz published a piece over on Search Engine Roundtable called Google Does Not Use rel=me Microformats . The article got shared around Twitter a lot, and those tweets surfaced on the microformats IRC channel . In it he mentions a few things that I would like to respond to, that is probably…
I am very excited to announce the 0.8 release of PyOxidizer , a modern Python application packaging tool. You can find the full changelog in the docs . First time user? See the Getting Started documentation.
I know you're waiting for the release of the Impact Game Engine , and I promise you, it's coming. I just get distracted too easily. So here's my game Biolab Disaster running on the iPhone 3GS with 60 frames per second:
My book, Evidence-based software engineering: based on the publicly available data is now out on beta final release ( pdf , and code+data ). The plan is for a three-month review, with the final version available in the shops in time for Christmas (I plan to get a few hundred printed, and made available on Amazon).
In our company we usually have a fun quiz every sunday and this was one of them
I think this might be my last blog entry on the subject of building SBCL for a while.
This blog post is meant to help my friends get started in reading my other blog posts, that is, this post is a crash course on the notation ...
Upon hearing the word 'bootloader', many people cower in fear. It seems like a scary low-level thing that's very easy to mess up. To dispel some of this fear, I'm going to walk through making a super simple bootloader/OS, assuming only a basic level of familiarity with assembly language and how computers work.
Updated: 2023-01-06 About a year ago I was bitten by the PL bug. It started with reading Crafting Interpreters and discovering the wonders hidden under the hood of a compiler. I am also been a big fan of Emacs, and this started to get me interested in how its interpreter works. At the same time, I was reading the Rust…
In this post we will learn the useful skill of writing a device driver for Unix V6 and run it on an emulator.
Rubinius began as a metacircular implementation of Ruby and was billed as Ruby in Ruby . Today the core and much of the standard library, parser, bytecode compiler, and other components are implemented in Ruby, but the interpreter, runtime, GC and other components, are written in C++.
Writing a minimal x86-64 JIT compiler in C++ that runs on macOS, Linux and WSL - Part 2
My last name is "Graham-Cumming". But here's a typical form response when I enter it: Does the web site have any idea how rude it is to cla...
Types in coding projects are good. Don’t be afraid to create them when you need to.