Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    G

    Graham Jenkins

    darkcoding.net · Personal blog · on HN since 2010

    Graham Jenkins writes about Go, Rust, Linux internals, and code quality, including a post on building a tiny Rust binary.

    Visit blogRSSHN submissions
    Systems & PerformanceLanguages & CompilersProgramming
    What HN says

    HN commenters link it for the guide to building a tiny Rust binary of around 500 bytes, and for the critique of Facebook's code quality.

    Stats for nerds
    44HN people shared it
    27linked in comments
    2.2Kstory points
    Mar 2025last shared
    2010people per year2025

    Top posts on HN

    1. 1
      Facebook’s code quality problem (2015)
      11 people · 602 points · first shared 2015 · 226 comments on HN
    2. 2
      A developer goes to a DevOps conference
      2 people · 409 points · first shared 2019 · 291 comments on HN
    3. 3
      Linux: What Can You Epoll?
      1 person · 264 points · first shared 2022 · 125 comments on HN
    4. 4
      epoll: The API that powers the modern internet (2022)
      2 people · 245 points · first shared 2022 · 65 comments on HN
    5. 5
      In-memory key-value store in C, Go and Python
      1 person · 186 points · first shared 2012 · 56 comments on HN
    6. 6
      The memory remains: Permanent memory with systemd and a Rust allocator
      1 person · 132 points · first shared 2024 · 76 comments on HN
    7. 7
      A day in the life of a professional software engineer
      1 person · 122 points · first shared 2021 · 12 comments on HN
    8. 8
      Evaluating LLMs for my personal use case
      1 person · 120 points · first shared 2025 · 47 comments on HN
    9. 9
      A small Rust binary indeed (2022)
      5 people · 102 points · first shared 2023 · 47 comments on HN
    10. 10
      Go after four months
      2 people · 12 points · first shared 2012 · Discussion on HN

    What HN people wrote when they linked it

    • segphaultApr 2017

      Facebook is the world's largest PHP shop. Does that mean that everyone should use PHP?

      As it turns out, moving fast and breaking things isn't all that conducive to quality engineering[1][2]. Facebook has a massive legacy code base maintained by an enormous team that is under pressure to iterate quickly while supporting what is arguably the world's largest user base. They are dealing with extremely specialized constraints that most of us will never encounter. Many of the trade-offs they consider acceptable aren't trade-offs that make sense elsewhere.

      And that's exactly what the blog post is getting at. A lot of these emerging technologies are situationally useful in a particular set of scenarios and environments, but developers with cargo cult mentality convince themselves that these things will solve all of their problems if they use them everywhere. When the disappointment sets in and they figure out that isn't the case, yesterday's darling stack becomes the subject of today's "considered harmful" essays and everybody moves on to the next shiny thing.

      The point here is that maybe you should make a sober assessment of new technologies and objectively evaluate whether they are actually practical for your usage scenario rather than just blindly jumping on the bandwagon and using something.

      The examples from the blog post are totally on point. I previously worked at a company that built a NoSQL database and I have great affinity for the technology, but there's no question…

    • mpweiherMar 2025

      Yes, I think the promises of the "we can JIT all the overhead away"-camp were always overblown, and never materialized in practice. This is another very strong datapoint for that hypothesis[1].

      However, it is important not to conflate "scripting language" and "dynamic language" and "interpreted". While there is some correlation there, it is not a necessary one.

      Objective-C is an example of a fast AOT-compiled pretty dynamic language, and WebScript was an interpreted scripting language with pretty much identical syntax and semantics.[2]

      What do I mean with fast? In my experience, Objective-C can be extremely fast [3], though it can also be used very much like a scripting language and can also be used in ways that are as slow or even slower than popular scripting languages. That range is very interesting.

      So I don't actually think the tradeoff you describe between low-level unergonomic fast and high-level ergonomic slow is a necessary one, and one of the goals of Objective-S is to prove that point.[4]

      So far, it's looking very good. Basically, the richer ways of connecting components appear to allow fairly simple "scripted" connections to achieve reasonably high performance [5]. However, I now have a very simple AOT compiler (no optimizations whatsoever!) and that gives another factor 2.6 [6].

      Steve Sinowsky wrote: "Does developer convenience really trump correctness, scalability, performance, separation of concerns, extensibility, and accidental…

    • 9ec4c12949a4f3Jul 2010

      I've seen medical stuff and there's a good reason I won't work in that industry...

      What REALLY bothers me is things like credit cards.

      http://www.merriampark.com/anatomycc.htm

      There's encoded data on something that's supposed to be a UUID thing: Industry, Issuer (card company), Lender (banking institution), Account number, and Checksum

      This is a good way to prevent fraud? Or have they just given me the keys to generate "valid" credit cards?

      http://www.darkcoding.net/credit-card-numbers/

      Slap a name from the phonebook on there and see what you can purchase. Now we have PCI compliance trying to tell people to somehow lock this crap down? So they invent the CV2 codes, a 1 in 1000 hit-or-miss, I don't think my odds are too bad when I can generate any creditcard. Dates will also only fall into a specific range of time anyway. Yeah, we keep putting up bandages to creditcard security processing, but why do we need to? Honestly, the world of standards sucks.

    • JelteFMay 2021

      > If your slice has a million entries, it's definitely a different story.

      Searching through a map is much faster than you think. At 20 entries searching through a slice of strings is already slower than searching in a map. For ints this threshold is 100 entries. Feel free to test on your own machine, my benchmark code is here: https://gist.github.com/JelteF/1251f180966eb974d7732ea6c3d3b7ff

      You can run it with:

      go test -bench='.' -benchtime=1s slicemap_test.go

      The benchmark code is based on the one from this blogpost: https://www.darkcoding.net/software/go-slice-search-vs-map-lookup/

      After looking at that code though I didn't trust the results too much anymore, because of various issues with it. So I decided to fix those issues.

    • patcheudorJun 2017

      I got a Rachel from Cardholder Services call once during an in-office meeting so I put the call on speaker for everyone to enjoy, then immediately went to Graham King: https://www.darkcoding.net/credit-card-numbers/ to get some credit-card numbers that would pass their basic Mod 10 check and go to their CC merchant service, thus costing them money. By the sixth failed card and 20 minutes later the 'agent' figured out I was messing with him and threatened to rape my wife and kill me while screaming obscenities. It went very NSFW in a matter of seconds.

    • graham_king_3Jul 2012

      Very nicely presented. My credit card page and code have been top search result for years - it's about time someone improved upon it! Thanks.

      http://www.darkcoding.net/credit-card-numbers/
      http://www.darkcoding.net/credit-card-generator/

      If the code on darkcoding helped you build your project (we have the exact same card issuers), could you give attribution?

      It would also be very cool if you open-sourced that site. The code on darkcoding is GPL, not AGPL, so you're not required to. Would still be cool of you :-)

    Related

    Rust Blogblog.rust-lang.org533 people

    Announcing Rust 1.0

    Rust Blog
    Company · last shared 2026
    Dave Cheneydave.cheney.net271 people

    Why Slack is inappropriate for open source communications

    Dave Cheney
    Personal · last shared 2026
    Chris Siebenmannutcc.utoronto.ca/~cks388 people

    Go is Google's language, not ours

    Chris Siebenmann
    Personal · last shared 2026
    fasterthanli.mefasterthanli.me236 people

    A half-hour to learn Rust

    fasterthanli.me
    Personal · last shared 2026
    Graham Christensengrahamc.com57 people

    Erase your darlings: immutable infrastructure for mutable systems

    Graham Christensen
    Personal · last shared 2026
    commaokcommaok.xyz25 people

    Simpler Backoff

    commaok
    Personal · last shared 2026
    Federico Mena-Quinteropeople.gnome.org/~federico46 people

    Rust things I miss in C

    Federico Mena-Quintero
    Personal · last shared 2021
    Dart Blogmedium.com/dartlang68 people

    Announcing Dart 2 Stable and the Dart Web Platform

    Dart Blog
    Company · last shared 2025