Writing Rust code that's fast by asking agents to make the code faster
c’mon, try doing a breakthrough
Topics /
The most popular blog posts about software engineering on Hacker News. 14,544 posts.
c’mon, try doing a breakthrough
Cyrille Rossant,
λm.me - An alternative frontend for Haskell?
In my last post I talked about building a game in ClojureScript using a Component-Entity-System engine and I hinted that the ideas that underly that architecture inspired how we designed Light Table . The reason why stems from the architectural goals of the project:
What would have happened if Emacs' default buffer had been a terminal emulator? Conceptually, from the outside, it would be perceived as a terminal…
Finally sitting down to learn Rust and how to write parsers.
Cattle not pets The majority of AWS EC2 I need to operate these days are members of Kubernetes clusters. For remote access to them I’m more commonly authenticating to the Kube API to spawn a privileged ephemeral debugger pod rather than accessing the host directly. I have little need for host access even for the…
Back in 2015, Brian Will wrote a provocative blog post: Object-Oriented Programming: A Disaster Story . He followed it up with a video called Object-Oriented Programming is Bad , which is much more detailed. I recommend taking the time to watch the video, but here’s my one-paragraph summary:
A few years ago I got the idea that it would be fun to implement a variant of Scheme targeting the JVM. During my search for different ways to implement numerics I looked deeply at the implementation of two languages: JScheme and a little-known language Clojure . During my explorations with these two languages and the…
Sketches of an interactive arithmetic for programming by Glen Chiacchieri.
Today, I would like to discuss a project that I care very deeply about: the musl libc. One of the most controversial and long-standing debates in the musl community is that musl does not define a p…
R is a very powerful open source environment for data analysis, statistics and graphing, with thousands of packages available. After my previous blog post about likert-scales and metadata in R , a few of my colleagues mentioned that they were learning R through a Coursera course on data analysis . I have been working…
This is a set of tips/tricks for learning and using pytest.
Part of a recent assignment for one of my classes involved calculating the Fibonacci sequence both recursively and iteratively and measuring the speed of each method. (BONUS: For a fun diversion, here is a paper I wrote about using the Golden Ratio, which is closely related to the Fibonacci sequence, as a base for a…
Much has been written about how to generate random 64-bit integers; people might argue over which particular (CS)PRNG is best suited for a given task, but there is agreement on the general shape of the solution: keep some state around, and then extract 64 bits of randomness at a time, where each bit is equally likely…
(Written in July 1999 for www.linuxworld.com ; permanently installed now in Web Tools Review )
Custom Elements are basically Markdown for HTML
I’ve recently been tinkering around with using a Raspberry Pi as a desktop computer. The Pi 4 is fairly powerful; very sufficient for web browsing, audio, video, and terminal use for programming.
Let's take a quick look at what compile-time execution looks like in Zig.
I was 9 years old. A revision of the notebook containing my first Z80 assembly language program
Excessive instruction cache misses are the kind of a performance problem that's going to appear only in larger codebases. In this article, I'm describing some ideas on how to deal with this issue.
Looking for operator or function names? Well have a look at the following and remember using existing one may ease the transition :)
Elixir is a fairly young language that was born when José and a few Rails developers tried to create a modern language optimized for concurrent, distributed, lightweight processes They wanted a modern Ruby-like syntax with a well-tested process ma
So, as previous posts show , I like Go well enough. But as a computer-language polyglot, "Go programmer" is not part of my identity, and I try for a balanced view. It is very human to go overboard in both praise and criticism, both easy to find online.
For a while now, the Ruby community has become enamored in the latest new hotness, evented programming and Node.js. It's gone so far that I've heard a number of prominent Rubyists saying that JavaScript and Node.js are the only sane way to handle a number of