Topics /
Programming Languages
The most popular blog posts about programming languages on Hacker News. 433 posts.
Red programming language 0.6.2: LibRed and Macros
It is with great pleasure that we announce the 0.6.2 release of the Red programming language and toolchain. This release is the second heavi...
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.
High-Performance GPU Computing in the Julia Programming Language
Julia is a high-level programming language for mathematical computing that is as easy to use as Python, but as fast as C. The language has been created with performance in mind…
Kotlin 1.2 Released: Sharing Code Between Platforms
Members of our community have translated this blog post into several languages: Today we're releasing Kotlin 1.2. This is a major new release and a big step on our road towards enabling the use of
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...
Nim Programming Language v0.16.0 released
The Nim programming language is a concise, fast programming language that compiles to C, C++ and JavaScript.
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
Transitioning entirely to neural machine translation
Visit the post for more.
Notes on Programming in C – Rob Pike (1989)
What follows is a set of short essays that collectively encourage a philosophy of clarity in programming rather than giving hard rules. I don't expect you to agree with all of them, because they are opinion and opinions change with the times. But they've been accumulating in my head, if not on paper until now, for a…
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).