Hacker Blogs
Work in progress: 15,409 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #1083

B

Ben Hoyt

Personal blog · benhoyt.com · on HN as benhoytprogramming

Ben Hoyt's personal blog at benhoyt.com covers programming. Since 2007, 65 different Hacker News readers have linked it 189 times, most often “Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust”. No feed was found, so read it on the site itself.

No feed foundVisit the blog
189mentions?
65HN people?
2007–2026first – last linked?
Links on Hacker News per year · peak 42 in 2023

Ben Hoyt is an experienced software engineer at Canonical. He and his wife and three daughters live in Christchurch, New Zealand.

The author on HN?

benhoyt · 7,375 karma · member since 2007

Software engineer and manager at Canonical. Author of GoAWK, a POSIX-compatible AWK interpreter with CSV support (written in Go). Author of Python's os.scandir(). Husband, father, Christian. See my personal website: https://benhoyt.com/

From their public HN profile, which links to this site.

Most-linked posts?

  1. Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
    9 people · 9 mentions · first linked 2021-03-15
  2. Don’t try to sanitize input – escape output
    5 people · 8 mentions · first linked 2020-02-27
  3. The small web is beautiful
    5 people · 7 mentions · first linked 2021-03-01
  4. GoAWK: an AWK interpreter written in Go
    5 people · 6 mentions · first linked 2018-11-17
  5. Every dependency you add is a supply chain attack waiting to happen
    5 people · 5 mentions · first linked 2026-04-02
  6. Designing Pythonic Library APIs
    5 people · 5 mentions · first linked 2023-06-18
  7. Show HN: I use the WordStar Diamond in 2023
    4 people · 7 mentions · first linked 2023-08-17
  8. Structural pattern matching in Python 3.10
    4 people · 5 mentions · first linked 2021-09-20
  9. Using a Markov chain to generate readable nonsense with 20 lines of Python
    4 people · 4 mentions · first linked 2023-11-11
  10. Learning Elm by porting a medium-sized web frontend from React (2019)
    4 people · 4 mentions · first linked 2019-10-02

What Hacker News says?

  1. Google is your friend: https://benhoyt.com/writings/the-small-web-is-beautiful/ https://ar.al/2020/08/07/what-is-the-small-web/ https://blog.kagi.com/small-web Another related term: https://en.wikipedia.org/wiki/IndieWeb see also: https://en.wikipedia.org/wiki/Gemini_(protocol) (NOT web, but similar in spirit - an extended "Gopher"-like protocol)

    Comment linking /writings/the-small-web-is-beautiful/

    on “ICQ will stop working from June 26”
  2. Submitted The One Billion Row Challenge in Go: from 1m45s to 4s in nine solutions as a story · 499 points

    HN discussion
  3. Cover topics around software development, math, programming languages, and academia: http://stuffwithstuff.com/ https://ericlippert.com/ http://thume.ca/archive.html https://medium.com/@mdwdotla https://faculty.washington.edu/ajko/posts https://computinged.wordpress.com/ https://blog.acolyer.org/ https://blog.sigplan.org/blog/ https://blog.paranoidcoding.com/ https://blog.regehr.org/ https://eli.thegreenplace.net/ h…

    Comment linking /writings/

    on “Ask HN: Favorite Blogs by Individuals?”
  4. Submitted Show HN: I replaced Google Analytics with simple log-based analytics as a story · 475 points

    HN discussion
  5. I actually use GoAccess on my personal site, which runs on GitHub Pages. Obviously you don't get the actual web server logs (only GitHub has those), but I have a few lines of JavaScript that hits a 1x1 image on CloudFront with the page and referrer information, and then I download the CloudFront logs and use those with GoAccess. Read more here: https://benhoyt.com/writings/replacing-google-analytics/

    Comment linking /writings/replacing-google-analytics/

    on “Lightweight Alternatives to Google Analytics”
  6. Submitted Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust as a story · 441 points

    HN discussion
  7. https://benhoyt.com/ - mainly a place to share my Go and Python technical writing and open source projects (also has my CV/resume). Basic GitHub Pages static website with custom template. Uses GoatCounter for analytics.

    Comment linking /

    on “Ask HN: Share your personal site”
  8. Submitted Performance comparison: counting words in Python, C/C++, Awk, Rust, and more as a story · 368 points

    HN discussion
  9. Excellent article -- despite (like others) disagreeing with several of his specific points, I think his overall take to optimize for predictability, readability, and simplicity is great. A few years ago I took over as tech lead at a previous workplace where the only tool they had used was C++ (really more like C with classes) with no use of the STL or other libraries they didn't build in-house. And this was for a ho…

    Comment linking /writings/dont-sanitize-do-escape/

    on “Django for Startup Founders: A better software architecture for SaaS startups”
  10. Submitted Go performance from version 1.2 to 1.18 as a story · 340 points

    HN discussion
  11. Also sometimes called the small web. See The small web is beautiful by Ben Hoyt https://benhoyt.com/writings/the-small-web-is-beautiful

    Comment linking /writings/the-small-web-is-beautiful

    on “The Monospace Web”
  12. Submitted How to implement a hash table in C as a story · 302 points

    HN discussion
  13. Sounds like you might be interested in the Tigris preview: - https://www.tigrisdata.com/ - https://benhoyt.com/writings/flyio-and-tigris/ (discussed here: https://news.ycombinator.com/item?id=39360870 ) - https://fly.io/docs/reference/tigris/

    Comment linking /writings/flyio-and-tigris/

    on “Fly.io has GPUs now”
  14. Submitted Don’t try to sanitize input – escape output as a story · 297 points

    HN discussion
  15. They're about to get an S3 replacement, called Tigris (it's a separate company but integrated into flyctl and runs on Fly.io infra): https://benhoyt.com/writings/flyio-and-tigris/

    Comment linking /writings/flyio-and-tigris/

    on “Fly.io has GPUs now”
  16. Submitted Rob Pike's simple C regex matcher in Go as a story · 292 points

    HN discussion
  17. How did you generate the timings on: https://benhoyt.com/images/go-1brc-profile-r9-source.png ?

    Comment linking /images/go-1brc-profile-r9-source.png

    on “The One Billion Row Challenge in Go: from 1m45s to 4s in nine solutions”
  18. Submitted Structural pattern matching in Python 3.10 as a story · 273 points

    HN discussion
  19. > but the performance profiles & characteristics that we must know about in order to make a choice on which tool to use. And it shouldn't be that each user has to figure it out on their own, dig into PR's or whatever. That's an interesting take – I like the idea of a catalog of standard tasks with implementations in several languages as well as their performance characteristics. I suppose Rosetta Code gets the ball…

    Comment linking /writings/count-words/

    on “How to rapidly improve at any programming language (2016)”
  20. Submitted Modernizing AWK, a 45-year old language, by adding CSV support as a story · 258 points

    HN discussion
  21. There is a whole lot more to this than just whether content creators or publishes should get paid, and whether there should be ad blockers (and whether they get paid). There are people who have been fed up by this because they remembered how the web was like in the late 90s, before social media pushes became the dominant experience. People have formulated ideas around the Small Web ( https://benhoyt.com/writings/the…

    Comment linking /writings/the-small-web-is-beautiful/

    on “How I Experience Web Today (2021)”
  22. Submitted Learning Go by porting a medium-sized web back end from Python as a story · 242 points

    HN discussion
  23. As someone who's just written about the "small web" [1], this warms my heart. The lite version is probably a little too bare-bones for most people's tastes, but it sure is tiny -- great for people on very slow or flakey connections. Some numbers: HTML homepage transfers 34KB (94KB uncompressed) over 6 requests. HTML search results page transfers 133KB (248KB uncompressed) over 31 requests. Lite homepage transfers 13…

    Comment linking /writings/the-small-web-is-beautiful/

    on “DuckDuckGo – two non-JavaScript versions of search results”
  24. Submitted Using a Markov chain to generate readable nonsense with 20 lines of Python as a story · 230 points

    HN discussion
  25. They parse the script to a parse tree (abstract syntax tree) and then either interpret that directly (tree-walking interpreter) or compile to bytecode and then execute that. The original awk ("one true awk") uses a simple tree-walking interpreter, as does my own GoAWK implementation. gawk and mawk are slightly faster and compile to bytecode first. If you're interested, you can read more about how GoAWK works and per…

    Comment linking /writings/goawk/

    on “Removing duplicate lines from files keeping the original order with Awk”
  26. Submitted GoAWK: an AWK interpreter written in Go as a story · 228 points

    HN discussion
  27. Little enrages me more, especially when the forbidden special characters betray a shockingly backwards mitigation for injection attacks. [1] https://benhoyt.com/writings/dont-sanitize-do-escape/

    Comment linking /writings/dont-sanitize-do-escape/

    on “We didn't encrypt your password, we hashed it”
  28. Submitted Show HN: Pygit – Just enough git to push itself to GitHub as a story · 208 points

    HN discussion
  29. > sanitize their inputs. For anyone confused about why "sanitizing your inputs" isn't the right approach, please read (shameless self-promotion, but I think the concept is important): https://benhoyt.com/writings/dont-sanitize-do-escape/

    Comment linking /writings/dont-sanitize-do-escape/

    on “Log4Shell Log4j vulnerability (CVE-2021-44228) – cheat-sheet reference guide”
  30. Submitted Contributing os.scandir() to Python as a story · 194 points

    HN discussion

Search all of HN for benhoyt.com

Linked by the same people?