Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atq2119
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
781.
▲
by
atq2119
5y ago
People are perfectly capable of writing spaghetti code in structured programming languages (without goto) and such programs are always reducible in the sense of this article. Actually, I have a hunch that every program that is reducible in
782.
▲
by
atq2119
5y ago
> CPUs do OOO because they don’t trust compilers to get the order of instructions right. Not really. CPUs do out-of-order because cache hits are unpredictable and it is crucial for single-threaded performance to make progress on dependen
783.
▲
by
atq2119
5y ago
Pretty sure you can add the US to this list. Try being a resident (or even a non-resident citizen! The US is pretty unique in that regard) working for a non-US company without declaring the income for tax purposes and see how it goes...
784.
▲
by
atq2119
5y ago
I don't think it's necessarily a neurotypical vs -diverse thing. It's more about social awareness that certain forms of online communication work differently from offline communication and as a consequence, different rules of
785.
▲
by
atq2119
5y ago
How long are they going to wait? On low traffic asynchronous chats it's not unusual to get an answer 12 hours later, especially when the chat spans timezones.
786.
▲
by
atq2119
5y ago
I don't think there's anything specifically different about the reorder buffer between x86 and ARM. The reorder buffer size is just a logical consequence of the frontend width. And yes, scaling an Aarch64 frontend is dead simple c
787.
▲
by
atq2119
5y ago
Are both cases compiling to the same target architecture? If not, you may well be comparing the relative performance of different compiler backends instead of comparing the performance of your CPUs. (+ now I see it's rust: how parallel
788.
▲
by
atq2119
5y ago
Most of the stuff that is well known to some group of people isn't well known to everybody, so maybe don't just be that dismissive? Also, the article is ~10 years old. I wouldn't be surprised if it actually contributed to how
789.
▲
by
atq2119
5y ago
Sorry to say it, but your C++ knowledge seems outdated. What the gp comment explained is perfectly viable due to (Named) Return Value Optimization is for. Compilers have been doing that for a while and it's mandatory since C++17. Yes,
790.
▲
by
atq2119
5y ago
It only took ~two decades to remove a.out support from the Linux kernel :) (I wonder when software engineers will more commonly think about their work on a generational time scale. Like how the cathedral builders of old must have thought ab
791.
▲
by
atq2119
5y ago
C++ is opinionated, just not in the same way as other programming languages. That is its strength. (Perhaps the clearest C++ opinion is "zero cost abstractions")
792.
▲
by
atq2119
5y ago
I think you're mostly right, but there is a bunch of fluctuation around just how much ugly template magic you're supposed to use vs. plain old imperative control flow (<algorithm>, ranges, I'm looking at you!)
793.
▲
by
atq2119
5y ago
If your service is public facing and therefore subject to DoS attacks, you should design around the error path being fast. Which really should be possible with exceptions. It's a shame that it isn't.
794.
▲
by
atq2119
5y ago
Since this is about immutable "side car" data structures used during unwinding: could this be achieved using a soft ABI transition as opposed to a hard, flag day ABI break? Basically, going forward the compiler would emit two vers
795.
▲
by
atq2119
5y ago
True, that's quite a puzzling situation. It must be the case that the bean counters at Intel would prefer to have the reduced area for those products because it certainly affects margin. Was Intel's design team really unable to
796.
▲
by
atq2119
5y ago
Any feature that's a serious benefit for raw performance takes up serious area. At Intel's volumes, it's better to produce a different (and smaller) die for performance-based market segmentations. Expect this to be used for f
797.
▲
by
atq2119
5y ago
If you want to eliminate memory-safety bugs you cannot use unsafe Rust. Restricting yourself to safe Rust also has a performance cost.
798.
▲
by
atq2119
5y ago
Arguably yes.
799.
▲
by
atq2119
5y ago
Mis-labeling a product is literally fraud. Looked at from first principles, the market cannot work efficiently if people are allowed to lie. Lies create an enormous amount of waste through direct and indirect effects. Government as the mono
800.
▲
by
atq2119
5y ago
> You won't find many atheists (if any) that will take Jesus as in any shape or form a historical person. Raises hand: Atheist here who thinks that a historical Jesus is at least plausible. Obviously not a son of god, though, that w
801.
▲
by
atq2119
5y ago
Amusingly, there's the same trap here as with the "who created the world" problem. Sure, religious people get their morals largely from their religion. But where do the morals of the religion come from?
802.
▲
by
atq2119
5y ago
Written on the website whose reason for existence is innovations that restructure society.
803.
▲
by
atq2119
5y ago
Payment can also appear in the form of collaborators helping improve a tool you want for yourself, especially if you choose the right license.
804.
▲
by
atq2119
5y ago
> If you're going to sing praises to cooperation and mediation, how about you try to get people to do that during marriage? What makes you think that people don't do that? I would imagine that most people don't divorce for
805.
▲
by
atq2119
5y ago
Yes, rebase is awesome and every Git user should learn about it. But why not both? When I'm working on a more complex patch series, it's not uncommon for me to have a bunch of already cleaned up, or semi-cleaned up commits on top
806.
▲
by
atq2119
5y ago
+1 for tig, and for the folks that are less TUI-inclined, there's `git gui`; a neat little tool which is far too little known considering that it's part of core Git. One of the nice things about `git gui` is that it has an "a
807.
▲
by
atq2119
5y ago
And don't forget about Embraer.
808.
▲
by
atq2119
5y ago
UUIDs are integers, they just happen to be 128 bits long instead of the more common 32 or 64, and they are usually printed in a specific way that differs from how integers are usually printed. But that's just smoke and mirrors. UUIDs a
809.
▲
by
atq2119
5y ago
Eh, I'd say the Holocaust makes a good argument in favour of it genuinely being a good vs evil thing. I mean, that certainly wasn't the only (or even main) motivation, but come on. The actual myth is that the West is/was syst
810.
▲
by
atq2119
5y ago
It's arguably not a tangent but simply a more holistic view. Twitter is a lot of posturing, and the tweet is posturing "look how progressive/ethical/whatever I am". GP is simply pointing out that yes, supporting gay
More ›