grep_it

Joined 7 years ago

Karma
1,952
Submissions
84
Member since
May 6
https://siemens.blog
View on Hacker News

Recent submissions

Comment · 4 days ago
Comment · 1 month ago
Comment · 2 months ago
Did you read the article?

“[…]because we can generate 1.2 METRIC BAJILLION valid URLs just for a single fork of linux.git.”

Comment · 2 months ago
Sibling comment touched on it, and I guess rust does offer just that, but void casting and doing explicit offset checks for a field is one reason. You can kind of think of it like a tuple in that way and a db engine might use a similar technique.
Comment · 2 months ago
I think the size of linked binaries and simplicity were always the main features?
Comment · 2 months ago
This reminds me how you can save a bunch of bytes just by making sure your structs are aligned. In go for example:

  type Wasteful struct {
    a int16
    b int
    c byte
  }

  type Aligned struct {
    b int
    a int16
    c byte
  }

Will have sizes of 24bytes and 16bytes (on a 64bit system). Same data 8bytes more. If you are storing millions of those objects, then it adds up.
Comment · 3 months ago
I always come back to this game whenever I'm at a hotel for a conference waiting for the elevator.
Comment · 4 months ago
Awesome resource, thanks for sharing!
Comment · 6 months ago
Except that eventually you'll find you lose a write when things go down because the page cache is write behind. So you start issuing fsync calls. Then one day you'll find yourself with a WAL and buffer pool wondering why you didn't just start with sqlite instead.
Comment · 9 months ago
Last I heard, DuckDuckGo backend was Perl.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton