How to write a tree-sitter grammar in an afternoon
This article was discussed on Hacker News.
Topics /
The most popular blog posts about software engineering on Hacker News. 1,001 posts.
This article was discussed on Hacker News.
Before asking the question, how do I build AGI, you first must ask the question, what would I recognize as AGI?
In my previous article I looked at the ways that Rust could be better at pointers. Half of the problems were fundamental issues that affect basically every programming language that lets you mess with pointers directly, and the other half were rust-specific issues. My article also proposed two solutions: for the…
Overall discussion on compilers and IRs (LLVM IR, SPIR-V, and MLIR): why they are in their current manner and how they would evolve
Only nine months after I suggested Tailwind might someday hit an unpleasant inflection point, that may now be happening.
Virtual Threads are an excellent addition to Java platform and here's how Clojure is going to benefit from it.
A little much about C++, Game Development, Programming and Web
Advanced Web Application Architecture allows you to spot what kind of code you're dealing with:
I spotted a new (to me) pattern which I think is pretty interesting: projects are bundling compiled binary applications as part of their Python packaging wheels. I think it’s really …
A few months ago, exhausted by a constant stream of people perennially disappointed about reward structures at companies, I made what…
Why ReSTIR is good for you.
The observability problem - Why is the system exhibiting this behaviour?
In C, the length of a string in marked by a 0 byte at the end of the string. Thus to determine the length of the string, one must scan it, looking for the 0 byte. Recent ARM processors have a powerful instruction set (SVE) that is well suited for such problems. It allows you … Continue reading Implementing ‘strlen’…
Recently I gave a guest lecture in a graduate level software engineering course on the value of technical writing for software engineers. This post is a sort of rough transcript of my talk. I live-…
How to disable heap (dynamic memory allocation) in an embedded application? This article goes into the details of linker files and how to detect dynamic memory allocation.
You sometimes feel the need to make all of your integers positive, without losing any information. That is, you want to map all of your integers from 'signed' integers (e.g., -1, 1, 3, -3) to 'unsigned integers' (e.g., 3,2,6,7). This could be useful if you have a fast function to compress integers that fails to ……
At my company we use a small SQLite database. We define the schema in a single file with SQL CREATE TABLE statements. If we add tables, columns, or indexes, our application will create them automatically the next time it starts up.
Ruby can work asynchronously with just a Fiber Scheduler and a couple built-in methods - no frameworks are required! It's easy to use, scales well, and has amazing performance benefits.
It's been a while since I've last rewritten my favorite lexical analyzer :-) That post is the last in a series implementing a lexer for the TableGen language in a variety of programming languages, using multiple techniques. The last lexer written, in Go, was very fast indeed - processing 1 MiB of source in about 20…
The virtual machine? Yep, but not the Java Virtual Machine.
Note : The \037 sequence appearing in the code snippets is one character, escaped for readability.
Veja o post original em português em How does find by example work in the Pharo Finder. How does find by example work in the Pharo Finder One of the things that looks like magic is the search for m…
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
I occasionally do talks about curl. In these talks I often include a few slides that say something abut curl's coverage and presence on different platforms. Mostly to boast of course, but also to help explain to the audience how curl has manged to reach its ten billion installations. This is current incarnation of…