How to read C type declarations (2003)
Even relatively new C programmers have no trouble reading simple C declarations such as
The latest blog posts to take off on Hacker News. 5,635 posts.
Even relatively new C programmers have no trouble reading simple C declarations such as
I am a big fan of C, but some part of me always yearn to have just enough higher level constructs.
For a real-life implementation, see how Racket's math/number-theory does it here .
Silo AI is announcing the release of the first open LLM for the Nordic languages
How I build a website for choosing movies
Štar is a concise and extensible iteration construct for Common Lisp which aims to be pleasant to use, easy to understand, fast if needed, general, and not to look like Fortran....
We continue our work on formal verification of Rust programs with our tool coq-of-rust, to translate Rust code to the formal proof system Coq. One of the limitation we had was the handling of primitive constructs from the standard library of Rust, like Option::unwrapordefault or all other primitive functions. For each…
McCarthy's Lisp in Python lists
Many years ago, Kragen complained about the implementation and performance of Java regexes , and suggested that an implementation that emitted JVM bytecode could perform better. It's been a minute, but I'm happy to report that complaining on the Internet has served its purpose.
Learn how asyncio works by recreating it from scratch with Python generators and using the __await__ dunder method for the async/await keywords.
ChaCha8Rand is a new cryptographically secure pseudorandom number generator used in Go 1.22.
Using Java's Foreign Function API to Call C like fopen, fgets, and fclose.
Not sure if your compilers have matching ABIs? Then put them through the ultimate compatibility crucible and pair them up on a shift at The ABI Café! Find out if your one true pairing fastcalls for each other or are just another slowburn disaster. (Maid outfits optional but recommended.)
Let's talk compilers with part one of a whistle stop tour of their history
Figma's team recently converted one of its codebases from a custom programming language to TypeScript without disrupting a single day of development.
piccolo is an interpreter for the Lua language written in pure, mostly safe Rust with an eye towards safe sandboxing and resiliency. It uses gc-arena for its garbage collection system, and in fact gc-arena was originally created as part of piccolo .
Programming blog of Eugene
Other languages are inflexible and broken. Let's fix that.
Go 1.22 adds math/rand/v2 and charts a course for the evolution of the Go standard library.
It took more than ten years of full-time work for Rama to go from an idea to a production system. I shudder to think of how long it would have taken without Clojure. Rama is a programming platform …
TLDR: read the paper and view the gallery of pretty Perl programs. In this paper, we aim to answer a long-standing open problem in the programming languages community: is it possible to smear paint on the wall without creating valid Perl?
My book Crafting Interpreters on programming languages is done. OK, OK. I know I said it was done like fifteen months ago . But now it’s really done. And by that I mean, the print, e-book and PDF versions are done. You can buy it . You can hold it in your hands. And I do mean “hands” plural. Because this little…
Pharo is a pure object-oriented programming language and a powerful environment focused on simplicity and immediate feedback.
I saw a project a couple weeks back which allows writing and running Crystal methods inline inside a Ruby file. It’s a neat project, and I don’t want to take away from it but something in the README example looked off to me. require 'crystalruby' require 'benchmark' module Fibonnaci crystalize [n: