Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 1,929 posts.

Programming Languages
Any year
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…

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…