HN Hall of Fame Weekly email

Why is C faster than Java: git vs JGit

Screenshot of marc.info captured 2026-07-20
Page preview · captured 2026-07-20

The originally submitted URL now redirects to the address above. Updating the destination does not change the item’s HN history, Hall membership, or rank.

Resurfaced independently across 2 calendar years, with breakout response in 2 of them.

submissions
3
submitters
3
observed span
2010–2012
peak thread · 107 comments
325 pts
latest 20+ return · 2012-01-12
325 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

I almost skipped this link; I assumed it was typical borring blog noise. It's not. This is an insightful post from the git mailing list which shows some of the real limitations that a top tier developer hits when trying to write Java code as fast as neatly optimized C code. Definitely worth reading.

I find it interesting to read that every single one of his criticisms of JGit would not need to apply to a C# implementation. Unsigned types, unmanaged memory allocation (Marshal.Alloc), unsafe code with pointers, native P/Invoke access, value types (e.g. fixed arrays for his SHA-1 point), and an IDisposable convention for managing all the unmanaged trickery, C# has pretty much all the needed features. When optimizing C# for space use in particular (which ends up being a time optimization for…

barrkel·139-point thread·

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
472

reference only — not used in Hall rules or ranking

Total comments
209

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2010-01-02Why git is so fast (or why Java is not as fast as C)First breakoutssp139107
2010-11-16Why Git is so fast (versus JGit)kqr280
2012-01-12Why is C faster than Java: git vs JGitBest thread · Latest 20+ point returnacqq325102