Topics /
Programming Languages
The most popular blog posts about programming languages on Hacker News. 384 posts.
PHP in 2019
PHP isn't the same old crappy language it was ten years ago
Go is Google's language, not ours
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Nim 1.0
The Nim Team is very proud and happy to announce the much-anticipated version 1.0 of the language.
Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml
During my final term at UWaterloo I took the CS444 compilers class with a project to write a compiler from a substantial subset of Java to x86, in teams of up to three people with a language of the group’s choice. This was a rare opportunity to compare implementations of large programs that all did the same thing…
Parse, Don’t Validate
Historically, I’ve struggled to find a concise, simple way to explain what it means to practice type-driven design. Too often, when someone asks me “How did you come up with this approach?” I find I can’t give them a satisfying answer. I know it didn’t just come to me in a vision—I have an iterative design process…
Open-sourcing Sorbet: a fast, powerful type checker for Ruby
We're excited to announce that Sorbet is now [open source] and you can try it today. Sorbet is a fast, powerful type checker designed for Ruby. It scales to codebases with millions of lines of code and can be adopted incrementally.
Learn more programming languages, even if you won't use them
This article has been translated into Spanish: Por qué debes aprender más lenguajes de programación (incluso si no los vas a utilizar)
Modern C, Second Edition
A new edition of the book Modern C and much more are now available under a CC license via the following page This edition is the result of a collaboration with Manning, and improves a lot over the…
Ten Years of Erlang
For my ten years in the Erlang community, I decided to cover a few topics such as hype phases and how this related to Erlang, the ladder of ideas within the language and how that can impact adoption, what changed in my decade there, and what I think Erlang still has to bring to the programming community at large.
قلب: a non-ASCII programming language written in Arabic
قلب is a programming language exploring the role of human culture in coding. Code is written entirely in Arabic, highlighting cultural biases of computer science and challenging the assumptions we make about programming. It is implemented as a tree-walking language interpreter in JavaScript.
Building Fast Interpreters in Rust
In the previous post we described the Firewall Rules architecture and how the different components are integrated together. We created a configurable Rust library for writing and executing Wireshark®-like filters in different parts of our stack written in Go, Lua, C, C++ and JavaScript Workers.
Some Obscure C Features
Pancakes and computers
Why Go and Not Rust?
What's the role of Go in a universe where Rust exists?
Why are my Go executable files so large?
Golang executable files get too large for reasons that are not relevant to server software with long-running processes, like CockroachDB, and its incurred space cost is particularly inconvenient for large, feature-rich programs.
Implications of Rewriting a Browser Component in Rust
Since our first release in 2002, there have been 69 security bugs in Firefox’s style component. If we'd had a time machine and could have written this component in Rust from the start, 51% wouldn't have happened. That said, Rust is not foolproof. Developers still need to be aware of correctness bugs and data leakage…
Elixir 1.9
Elixir v1.9 is out with releases support, improved configuration and more.
How to not rewrite it in Rust
Once you get past the growing pains of the Borrow Checker and realise Rust gives you the power to do things which would be unheard of (or just plain dangerous) in other languages, the temptation to Rewrite it in Rust can be quite strong. However at best, the temptation to RiiR is unproductive (unnecessary duplication…
Thoughts on Rust bloat
I’m about to accept a PR that will increase druid’s compile time about 3x and its executable size almost 2x. In this case, I think the tradeoff is worth it (without localization, a GUI toolkit is strictly a toy), but the bloat makes me unhappy and I think there is room for improvement in the Rust ecosystem.
Better Language Models and Their Implications
Stay up to speed on the rapid advancement of AI technology and the benefits it offers to humanity.
From Design Patterns to Category Theory (2017)
How do you design good abstractions? By using abstractions that already exist.
I'm writing a book about algorithms and Lisp
Drago — a nice example of a real-world binary tree This was the first post about my book on algorithms and Lisp. Writing it, actually, st...
Moving from Go to PHP Again
After two years on Go, moving our shop applications back to PHP.
Is Perl 6 Being Renamed?
By now, many of you have seen the Perl 6 Github issue "Perl" in the name "Perl 6" is confusing and irritating . The issue suggested renaming Perl 6. While some may think that the name of the issue is trolling, or offensive, the actual issue was created by Elizabeth (Liz) Mattijsen, one of the core Perl 6 developers, a…