Java Reflection, 1000x Faster
A few weeks ago I got to make some of my code 1000 times faster, without changing the underlying complexity! As the title implies, this involved making Java reflection calls faster.
Why don't you just rewrite it in X?
Whenever a new programming language becomes popular its fanpersons start evangelizing its virtues by going to existing projects and filing b...
Compiling a subset of Python syntax to x86-64 assembly for fun and zero profit
A toy (but working) compiler that turns Python syntax into x86-64 assembly using Python's built-in AST module.
Shell Has a Forth-Like Quality
This post takes a short break from ASDL to expand on one of my Hacker News comments.
Dependent Types for F#
F# DependentTypes
Metaclasses: Thoughts on generative C++
I’ve been working on an experimental new C++ language feature tentatively called “metaclasses” that aims to make C++ programming both more powerful and simpler. You can find out about it here: Curr…
How (Not?) to Use Python’s List Comprehensions
Lesser known is that you can have nested list comprehensions, that handle nested for loops:
From AST to Lossless Syntax Tree
As noted in ASDL Implementation and Use Cases , I began with a simple AST interpreter for OSH, thinking that the two languages could share the same AST.
An obscure research project could accelerate innovation in language design
An obscure research project could radically accelerate innovation in programming language design
Let’s Stop Ascribing Meaning to Code Points
Update: This post got a sequel, Breaking our latin-1 assumptions. I’ve seen misconceptions about Unicode crop up regularly in posts discussing it. …
Crafting Interpreters: Classes
One has no right to love or hate anything if one has not acquired a thorough knowledge of its nature. Great love springs from great knowledge of the beloved object, and if you know it but little you will be able to love it only a little or not at all.
Where Tcl and Tk Went Wrong (2010)
I’ve been pondering this subject for a while, and I think I’m finally ready to write about it. Tcl was, for many years, my go-to language of choice. It’s still near and dear to me…
The Problem with F# Evangelism
There seems to be a constant struggle to convince seasoned C# developers to give F# a try. Which is a pity because language and concepts deserve better.
The Joy of Erlang; Or, How to Ride a Toruk (2011)
In the movie Avatar , there’s this big badass bird-brained pterodactyl thing called a Toruk that the main character must learn to ride in order to regain the trust of the blue people. As a general rule, Toruks do not like to be ridden, but if you fight one, subdue it, and then link your Blue Man ponytail to the…
Elixir multiple processes: Basics
How to work with multiple processes in Elixir
Why hasn't Haskell taken over the world? And the curious case of Go
Programming is all about managing complexity. Without good tools to manage it, the complexity of programs becomes mentally intractable for our limited brains and we’d lose control and understanding of our programs (imagine writing a big software system entirely in assembly language).
Global Mutable State
Global mutable state is one of the biggest drivers of complexity in software systems. We tackle a definition and how to reduce our reliance on it.
A theory of modern Golang
Peter Bourgon has a web site, and this is that web site.
There is no pass by reference in Go
My post on pointers provoked a lot of debate about maps and pass by reference semantics. This post is a response to those debates.
Getting started with the F# and .Net ecosystem
PAKBOLA88 hadir sebagai situs sepakbola pilihan dengan informasi pertandingan terkini serta peluang odds menarik untuk menemani aktivitas sepakbola Anda setiap hari.
Killing the C++ Modules Technical Specification
In my previous post, I mentioned that have serious issues with the current Modules TS as it is written. I have wanted to say more on the subject since my tweets, posts, and general comments are missing quite a bit of context for why I think the implementation is wrong and will be more trouble than it is worth.
Writing a lexer in Go with Lexmachine (2016)
This article is about lexmachine , a library I wrote to help you write great lexers in Go. If you are looking to write a golang lexer or a lexer in golang this article is for you.