Blogs / Personal blogs

Nathaniel J. Smith

vorpus.org

Home page of Nathaniel J. Smith, research scientist at UC Berkeley who studies how people use and understand language.

Popular posts
5
Total points
1,558
HN comments
1,002
Rank
#1,177 personal

Visit vorpus.org → On Hacker News Nov 2016 – Mar 2020

Software Engineering 4Systems & Performance 2Programming Languages 2Society, Policy & Culture 1Career & Management 1

1

Why does calloc exist?

[Edit: Welcome Hacker News readers! Before we dive into the neat memory management esoterica, I want to briefly note that as engineers we have an ethical obligation in our work to consider the "safety, health, and welfare of the public" , because if we don't, terrible things happen . This is a challenging…

5

Timeouts and cancellation for humans (2018)

Your code might be perfect and never fail, but unfortunately the outside world is less reliable. Sometimes, other people's programs crash or freeze. Networks go down; printers catch on fire . Your code needs to be prepared for this: every time you read from the network, attempt to acquire an inter-process lock, or…