Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sam_bishop
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
sam_bishop
1y ago
I could read it once I forced my browser into light mode.
2.
▲
by
sam_bishop
1y ago
I've avoided #pragma once because of reports that it slows down gcc/g++: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58770 But given that I haven't seen any mention of that issue in other comments, I wo
3.
▲
by
sam_bishop
1y ago
I'm not a compiler expert either, but I think LLVM IR is the way it is for the benefit of the optimizer. It wasn't intended to be written by humans, typically. It's more "portable" than assembly so that the same opt
4.
▲
by
sam_bishop
2y ago
One of my beefs with Clean Code is its name. There is no objective measure of code cleanliness. So if "clean code" is your goal, then you have no meaningful criteria to evaluate alternatives. (Including those pitched by Bob Martin
5.
▲
by
sam_bishop
2y ago
I'm an American who lived in the UK for a couple of years. They have many roundabouts there, and I love them. But now I live in an American town with a few, and I've realized that there's a reason that they are less safe in t
6.
▲
by
sam_bishop
2y ago
> If you’re storing doubly linked lists in a DB you’re doing it wrong. Assuming that the database uses B+ trees (like most do), then the database records themselves are very likely to be in a doubly linked list. Not every doubly linked l
7.
▲
by
sam_bishop
3y ago
> But this is not TDD. That's true. Did you miss the part where I mentioned the "TDD process" versus the "TDD mindset"? > Whether your code is easily testable will be challenged by writing tests regardless of
8.
▲
by
sam_bishop
3y ago
I don't use the proscribed TDD process very often, but I use the TDD mindset all the time to great effect. Listing out the tests you're going to write before you write the code (even mentally) can be considered a continuation of t
9.
▲
by
sam_bishop
3y ago
I've heard that the Hotspot JVM uses a bump allocator but don't know the details. I'm sure it's heavily optimized though, so I'm curious about how this compares.
10.
▲
by
sam_bishop
5y ago
Pooling objects (for the purposes of minimizing GC) is consider a bad practice in modern Java. The article suggests that compacting, generational collectors are a bad thing, but they can dramatically speed up the amount of time it takes to
11.
▲
by
sam_bishop
5y ago
I agree. The author seems to know quite a bit about Go and GCs, but doesn't seem to have much experience with Java. As a Java performance engineer, it sounds like he is comparing Go to how he thinks Java works based on what he's
12.
▲
by
sam_bishop
5y ago
I can't think of a really good computer analogy to explain stroads, but if I were to attempt it I would say that it's analogous to forcing everyone to use a CLI, for _everything_. Roads can move a lot of people and material long-d
13.
▲
by
sam_bishop
5y ago
It was a good idea to post this to HN. Back when I was an LLVM contributor I was using an email address from a provider who is no longer around. I had no idea that the LLVM maintainers were trying to get a hold of me. There's probab
14.
▲
by
sam_bishop
5y ago
For what it's worth, in the state I live in it is legal for bike riders to treat stop signs as yield signs. It started in Idaho in the 80s and has been adopted by a growing number of states since then. It's also legal in my state
15.
▲
by
sam_bishop
8y ago
I'm a software developer. I like the idea of accessible web interfaces, but I have, and probably always will, work on user interfaces that have a relatively small user base compared to large sites like the Washington Post or Google.