Topics /

Software Engineering

The most popular blog posts about software engineering on Hacker News. 1,420 posts.

2017
693

Ways to paginate in Postgres (2016)

Pagination, pervasive as it is in web applications, is easy to implement inefficiently. This post examines different methods of server-side pagination and their tradeoffs in PostgreSQL. Methods explored include limit-offset, cursors, keyset pagination, as well as more exotic techniques.

704

F# 4.1 and Visual F# Tools for Visual Studio 2017

Announcing F# 4.1 and the Visual F# Tools for Visual Studio 2017 Last year, we announced F# 4.1 via a Peek in F# 4.1. As a recap, we mentioned: Alpha support for .NET Core and .NET Standard Language features for F# 4.1 A big update to the Visual F# tools for Visual Studio 2017 (called […]

714

Goroutines, Nonblocking I/O, and Memory Usage

I am generally a fan of Go's approach to concurrency: writing code with goroutines is a lot easier than writing traditional nonblocking network servers in a language like C or C++. However, while working on a highly concurrent network proxy I came across an interesting realization about how the Go concurrency model…