Stop Writing Dead Programs
A strong runner up was this quote, which captures the essence of what we should be trying to do when creating new languages:
The latest blog posts to take off on Hacker News. 384 posts.
A strong runner up was this quote, which captures the essence of what we should be trying to do when creating new languages:
A programming language gives us a way structure our thoughts . Each program, has a kind of internal structure, for example:
I've been a programmer for 20+ years, and few things excite me as much as Rust. My background is mostly in C++, though I have also worked in Python and Lua, and dabbled in many more languages. I started writing Rust around 2014, and since 2018 I've been writing Rust full time. In my spare time I've developed a popular…
In this post we take a deeper look into one of the most popular design patterns in Rust web frameworks, the magical handler function.
Code can really be written with any text editor that you're comfortable with. I tend to use Vim for quick edits and writing notes, and on L...
Some make the claim that "all languages depend on C"; 1 not only is this statement ill-typed, as implementations perhaps depend on other languages, and languages rarely do, but the statement would still be wrong if we correct it. Some will retort by writing parts of an implementation in another "system language"; more…
Introduce new interfaces to represent collections with a defined encounter order. Each such collection has a well-defined first element, second element, and so forth, up to the last element. It also provides uniform APIs for accessing its first and last elements, and for processing its elements in reverse order.
Lists play an important role in Lisp--for reasons both historical and practical. Historically, lists were Lisp's original composite data type, though it has been decades since they were its only such data type. These days, a Common Lisp programmer is as likely to use a vector, a hash table, or a user-defined class or…
A discussion of some of the downsides of Zig
A public service announcement about the dangers of utcnow and utcfromtimestamp and the benefits of using their replacements.
Zig lets you run code during compilation. What are the implications?
Tips and narratives around picking a weird language for your project
We announce and explore the possibilities for bringing set-theoretic types into Elixir.
Dave MacQueen (with Robert Harper and John Reppy) has written a 100-page History of Standard ML . Here I offer my brief, personal and utterly subjective impressions of its early days, up to the deeply unfortunate schism that created what was then called Caml . Standard ML was a tragic missed opportunity. But even…
Anubis could not load its JavaScript. The server may be overloaded. Please reload the page to try again.
Today is TypeScript's birthday! But this birthday is a special one - 10 years ago today, on October 1st, 2012, TypeScript was unveiled publicly for the
(Most) C++ implementations provide at least 8, 16, 32, and 64-bit signed and unsigned integer types. There are annoying implicit conversions, discussions about undefined behavior on overflow (some think it’s too much UB, others think it’s not enough), but for the most part they do the job well. Newer languages like…
Short version: the full text of my Introduction to the Theory of Programming Languages book (second printing, 1991) is now available. This page has more details including the table of chapters, and a link to the PDF (3.3MB, 448 + xvi pages). The book is a survey of methods for language description, particularly…
AndreGarzia.com website
Java is one of the most widely taught programming languages in the world. Tens of thousands of educators find that the imperative core of the language combined with a straightforward standard library is a foundation that students can comfortably learn on. Choosing Java gives educators many degrees of freedom: they can…
Attempting to speed up a library without changing the code using mypyc
How the 46 kana letters map onto 80 Unicode code points and how katakana and hiragana compare.
A check-in on the status of Go runtime development
An interview where we talk about how we use embedded Rust in our coming car projects.
Introducing Ezno and the current state of the project.
Java is good by modern standards, from a technical perspective, the platform having received a lot of improvements from Java 8 to 17. Unfortunately, it still stinks, and the problem is its “enterprise” culture.
How you can use metaprogramming in Python and how it can simplify certain tasks.
I’ve just spent over a day, going to sleep at 1:00 am, to upgrade dependencies and fix eviction warnings in the build of a Scala project.
My plans for Go 1.20 include landing the crypto/ecdh package, making progress on moving math/big out of the security perimeter, and a batch of crypto/tls work.