The Memory Models That Underlie Programming Languages
There are about six major conceptualizations of memory, which I’m calling “memory models”, that dominate today’s programming.
The latest blog posts to take off on Hacker News. 221 posts.
There are about six major conceptualizations of memory, which I’m calling “memory models”, that dominate today’s programming.
Some general warnings about the use of str.format in Python.
I have recently become quite an enthusiast for the language Clojure . But why? Why would someone who has spent the last 30 years programmi...
Byte-code compilation is an underdocumented — and in the case of the recent lexical binding updates, undocumented — part of Emacs. Most users know that Elisp is usually compiled into a byte-code saved to .elc files, and that byte-code loads and runs faster than uncompiled Elisp. That’s all users really need to know…
Many functional programming articles teach abstract functional techniques. That is, composition, pipelining, higher order functions. This one is different. I...
Update: There is a nice discussion on Hacker News about this blog post. As a developer I think it is important to stay up to date with new…
Personal website of Benedikt Meurer, JavaScript Engine Hacker and Programming Language Enthusiast.
How a programming language can be an idea.
Bluesky: @simonmar.bsky.social Github: simonmar Email: marlowsd@gmail.com LinkedIn: Simon Marlow
For the past two months I've been spending half my time on Tauthon . Tauthon is a backwards-compatible Python interpreter that runs Python 2 code and C-extensions exactly as-is, while also allowing Python 2 programmers to use the most exciting new language features from Python 3. These new backported language features…
A common problem I see in object-oriented design is: A wizard is a kind of player. A warrior is a kind of player. A staff is a kind of weapon. A sword is a kind of weapon. A player has a weapon. Bu…
[Edit: Welcome Hacker News readers! Before we dive into the neat memory management esoterica, I want to briefly note that as engineers we have an ethical obligation in our work to consider the "safety, health, and welfare of the public" , because if we don't, terrible things happen . This is a challenging…
Let me start this article with a confession: I suck at writing parallel code. I have only a vague idea about mutexes, locks and other low level primitives for handling data between threads. And since I work mostly with Python, I tend to use multiprocessing (if I bother to parallelize at all) rather than threads…
Dmitri's blog about programming, Clojure, and software development
Few weeks ago a bug was filed against Dart SDK citing "very low performance of String.substring " . Here is a core of microbenchmark developer submitted together with the issue:
The Rust compiler is written in Rust. This is overall a pretty common practice in compiler development. This usually means that the process of …