Topics /

Programming Languages

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

2012
62

True Scala complexity

Due to the recent php2shell vulnerability , to save time and effort for both users and maintainers alike, and out of an overabundance of caution, all Scripts sites have had PHP (php-cgi) disabled until a patch is available and backported.

66

Both true and false: a Zen moment with C

I ran into a really fun bug at work yesterday, where I discovered that my C program was branching down logically inconsistent code paths. After drinking another cup of coffee and firing up GDB I realized that somehow, a boolean variable in my code was simultaneously testing as both true and not true.

70

LuaJit 2.0 is out

LuaJIT is only made available as source code from a git repository. To access this repository, you need to install the git command for your operating system. Please refer to the git version control system documentation for details.

77

Confession of a Haskell Hacker

I have a confession to make. I recently released two Haskell packages, lens-family-core and lens-family based on my previous blog post and Edward Kmett’s blog post . However, I never tested this code before releasing it. By “never tested”, I mean that I am pretty sure that I never once executed any of this code. I did…

78

A Boggling Return to C

My first real programming class, back in high school, was taught in C. I found it difficult and I remember spending the whole year thinking that I really had no aptitude for programming. I think I got an OK grade in the end, but I felt like I was really struggling compared to the other students in the class. It wasn’t…

80

Common Lisp: The Untold Story

A version of the paper below was published in Celebrating the 50th anniversary of Lisp , edited by Charlotte Herzeel, the conference record of Lisp50 @ OOPSLA’08 (Nashville, Tennessee, USA, 2008). That collection is available through the ACM Digital Library .

87

Why Erlang?

The chance that you are reading this blog post on a device with a multicore cpu is increasing on a daily basis which is why everybody is talking about concurrency now. Concurrency for our web applications and API backends means that we’d like our htop to look like this:

89

Introduction to monads in JavaScript

I know, I know, the world does not need yet another introduction to monads (or yet another article complaining that world does not need yet another introduction to monads). So you’ll be glad to know this isn’t one of those, in the sense that it’s not new. I thought I’d write it because, first, monads are worth knowing…