Goja: A Golang JavaScript Runtime
The personal website of JT Archie. Includes a blog, work ethic, and projects they have worked on.
Topics /
The most popular blog posts about programming languages on Hacker News. 246 posts.
The personal website of JT Archie. Includes a blog, work ethic, and projects they have worked on.
From the highly eclectic blog of Mark Dominus
A somewhat compact implementation of the awk programming language
Design patterns are these cool things that make you go 'hell yeah' because they make a certain problem easier to deal with. Whether it's applicable to all languages, or due to a language constraint, they're pretty nice. Of course, some people go crazy with them rather than doing the simple thing that works. Other…
Laurent Le Brun's blog
A short explanation of what is preemption and how it works
Some time ago, during a code review, I had a discussion with a colleague of mine about preferring dict() over {} in new Python code. They argued that dict() is more readable — and expresses intent more clearly — therefore should be preferred. I wasn’t convinced by that, but at that time I didn’t have any…
(Discussion on HackerNews)
Projects and articles by Chris Gioran
A guide to domain-specific types that make sense.
An implemenation of the SuperMemo-2 algorithm.
Update : I forgot that I did a brief analysis on this many years ago, using ROT13 as example.
A somewhat compact implementation of the awk programming language
Anyone trying to make a new mainstream language is completely insane, unless they're backed by a large corporation. 0
Inspired by Jack Wrenn’s post on Undroppable Types in Rust, I set out to see if it’s possible to create types that must be used exactly once. From my understanding, those things are called linear types, but don’t quote me on that1. Unless you are quoting the title of this article which explicitly says linear types… I…
A blog about modern PHP, the web, and programming in general. Follow my newsletter and YouTube channel as well.
My own concatenative programming language
No, I’ve not gone to the click-baiters (“10 tips that will change your life today!!!”), but I chose to limit myself to just 10 so that I don’t pull what is considered a R…
As the story of C’s birth goes hand in hand with the creation of Unix, the first C compiler can be traced back to the early 1970’s.
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:
This article attempts to outline, in informal terms, a new theory of combinators, related to the theory of Combinatory Logic pioneered by Moses Schonfinkel, Haskell Curry, and others in the 1930s. Although not essential, an understanding of the classical theory of combinators may be helpful (see the links at the…
Getting started with Zig's meta programming capabilities by leveraging a few useful functions
I just finished reading the paper Borrow checking Hylo . It outlines the basic design of Hylo . Hylo is an early-stage programming language, but unlike other contenders of C++, it provides memory safety like rust. Specifically it merges rust’s borrow checking ideas into the framework of moveable value semantics (MVS)…
Static or dynamic, a program's design is written in its types.
The evolution of the C++ language continues to bring powerful features that enhance code safety, readability, and maintainability. Among these improvements, we got changes and additions to enum class functionalities across C++17, C++20, and C++23. In this blog post, we’ll explore these advancements, focusing on…
I was asked (again) today to explain why integer division in Python returns the floor of the result instead of truncating towards zero like...
Usually in C identifiers are not directly followed by strings. But when U prefixed literals were introduced in C. there still were some rare clashes with existing code. This happened were a macro U…
Three months ago, I wrote about why you might want to use panics for error handling. Even though it’s a catchy title, panics are hardly suited for this goal, even if you try to hack around with macros and libraries. The real star is the unwinding mechanism, which powers panics. This post is the first in a series…
Andrey Mokhov, Neil Mitchell, Simon Peyton Jones Published in Journal of Functional Programming, Vol 30(E11) View PDF Download BibTex