Topics /

Programming Languages

The most popular blog posts about programming languages on Hacker News. 1,929 posts.

Any year
1501

A bit of background for the unified C++ call proposal

C++ provides two calling syntaxes, x.f(y) and f(x,y). This has bothered me for a long time. I discussed the problem in the context of multimethods in D&E in 1994, referring back to a proposal by Doug Lea from 1991, and again in 2007. Each of the syntaxes has its virtues, but they force design decisions on people…

1502

Nim's author on v1 launch: Personal words about version 1

When I started Nim's development I had a small simple language in mind that compiles to C; its implementation should not be more than 20,000 lines of code. The core guideline has always been that Nim should be a small language with a macro system, which should be capable of extending Nim with all the features that the…

1506

Swift UTF-8 String

Swift 5 switches the preferred encoding of strings from UTF-16 to UTF-8 while preserving efficient Objective-C-interoperability. Because the String type abstracts away these low-level concerns, no source-code changes from developers should be necessary*, but it’s worth highlighting some of the benefits this move gives…

1516

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.]

1519

Python is now Python 3

A major Python update has just been moved from the testing repositories and will be available on a mirror near you. The default "python" package is now for the 3.x series while the 2.x series has been moved to a "python2" package, with python-2.7 having been scheduled to be the last major release in the python-2.x…

1520

Java 9: The State of the Module System

This document is slightly out of date. None of the fundamental concepts has changed but the requires public directive has been renamed to requires transitive , and several additional capabilities have been added. An update is in preparation and will be posted here when ready.

1523

Build a web service with F# and .NET Core 2.0

Earlier this year, I wrote about an update to the roadmap for F# and .NET Core. I had mentioned that there were a number of things you could build with F# and .NET Core today, such as web services. In this post, I’ll walk through building a web service with F# and .NET Core 2.0 […]

1528

Lessons in Managing Haskell Memory

At Channable, we process several billion product data records for our customers every day according to user-customizable rules. Internally, this work is subdivided into jobs, where one job takes a set of products and the rules for how to process them as input, and returns the transformed set of products as output…