Topics /

Programming Languages

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

2014
211

Allocators in Rust

There has been a lot of discussion lately about Rust’s allocator story, and in particular our relationship to jemalloc. I’ve been trying to catch up, and I wanted to try and summarize my understanding and explain for others what is going on. I am trying to be as factually precise in this post as possible. If you see a…

212

Things from Python I'd miss in Go

Let's assume Go has one killer feature – cheap concurrency – not present in any other language with similar serial performance (ruling out say Erlang). And let's agree that it gives Go its perfect niche – and we're only discussing uses of Go outside that niche from now on. So we won't come back to concurrency till the…

222

Programming without objects

Recently I gave an itemis internal talk about basic functional programming (FP) concepts. Towards the end I made a claim that objects and their blueprints (a.k.a. classes) have severe downsides and that it is much better to "leave data alone", which is exactly how Clojure and Haskell treat this subject.

227

Popular Myths about C++, Part 3

[For your winter reading pleasure, we're pleased to present this three-part series of new material by Bjarne Stroustrup. Part one is here , part two is here . Today we complete the series just in time for the holidays. Enjoy. -- Ed.]

228

Value Types for Java – A sketch of proposed enhancements

This is a sketch of proposed enhancements to the Java Virtual Machine instruction set, and secondarily to the Java Language, to support small immutable, identityless value types . (They may also be considered as identityless aggregates, user-defined primitives, immutable records, or restricted classes.) This is an…

235

Why Ada isn't Popular (1998)

Rick Thorne writes: > In truth, I like Ada too. I'm a former Ada man myself, as I believe I > mentioned. There are great things about the language, and since we're all > aware of them there's no point in going into them. I also prefer Beta to > VHS. Mathew Heaney responds: This is actually a specious comparison…