Topics /

Programming Languages

The most popular blog posts about programming languages on Hacker News. 399 posts.

2021
211

When zero cost abstractions aren't zero cost

Rust is built around the concept of “zero cost abstraction”. The idea is that you can write human-friendly high level code and the compiler will give you for free performance at least as good as any optimized low level code you could have written yourself. With zero cost abstraction, you no longer have to trade off…

214

Racket 8.1

_posted by John Clements_ Racket version 8.1 is now available from https://racket-lang.org/. DrRacket tabs can be dragged, and have new close buttons. Racket CS supports cross-compilation using `raco exe`. Racket CS supports Android on 32-...

219

Julia's multiple dispatch explained with Pokemons

T hese days, I find myself evangelizing for Julia quite a bit. It’s a good language, especially for scientific computing, but I believe its focus on performance also makes it a good general language as well. At some level, programmers who know multiple languages have an abstract understanding of the constructs used…

233

Lisp as an alternative to Java (2000)

It turns out my hopes were answered. First, Prechelt published another article that covers Tcl, Python, Perl, and Rexx. Also, Ron Garret (nee Erann Gat) did a follow-up study in which he asked programmers to write Prechelt's test program in Lisp. His results show that the resulting Lisp programs ran faster on average…

235

Implementing a LLVM Micro C compiler in Haskell

In this series, we will explore how to write a compiler for a small subset of C to LLVM in Haskell. Our language, Micro C, is basically a small subset of real C. We'll have basic numeric types, a real bool type, pointers, and structs. At the end of the series, we'll have a beautiful executable, mcc (Micro C…

237

Racket v8.3

_posted by John Clements_ Racket version 8.3 is now available from https://download.racket-lang.org. Racket removes syntax arming and disarming in favor of a simpler system of protected syntax operations, along with other updates to the syntax sys...