HNHacker News
TopNewBestAskShowJobs

Remnant44

558 karma · joined April 25, 2014

submissionscomments
Remnant44··on Link Time Optimizations: New Way to Do Compiler Optimizations
Link time optimization is definitely not new, but it is incredibly powerful - I have personally had situations where the failure to be able to inline functions from a static library without lto cut performance in half.

It's easy to dismiss a basic article like this, but it's basically a discovery that every Junior engineer will make, and it's useful to talk about those too!

Remnant44··on xAI's Grok 3 comes to Microsoft Azure
Just like talking to Grandpa!
Remnant44··on Implicit UVs: Real-time semi-global parameterization of implicit surfaces [pdf]
Great timing on this paper. I actually just started tackling a problem that is essentially exactly what is under discussion here (creating a coherent UV set for implicit geometry), so I'm very looking forward to reading it in depth.

At a first glace through, it seems to be written at a good blend between concept and implementation followthrough, something that notoriously is not always there for CG papers :) And it's also refreshing to read something that is not neuro-AI-generation of this or that for a change!

Remnant44··on 21 GB/s CSV Parsing Using SIMD on AMD 9950X
I mean... A single 9950x core is going to struggle to do more than 16 GB/second of direct mem copy bandwidth. So being within an order of magnitude of that seems reasonable
Remnant44··on U.S. Economy Contracts at 0.3% Rate in First Quarter
You're missing half the equation.

It's Risk vs Reward. Anyone who built something great took huge risks, for a huge return.

There is no return here. At best, you've sunk a ton of capital into a low-profit business that is propped up only by government subsidy.

Remnant44··on A cheat sheet for why using ChatGPT is not bad for the environment
It doesn't make it go away. Using your analogy - if you used 300lb to learn and then only made 10 lb of pizza after that, it would be a pretty poor use of resources.

If you instead went on to produce millions of pizzas for people and 30,000lb of flour, that 300lb you used to learn looks like a pretty reasonable investment.

Remnant44··on A cheat sheet for why using ChatGPT is not bad for the environment
I don't really follow this objection. Determining the actual energy usage of AI training+inference is something that is an objective reality. Whether you hate it or love it doesn't change these facts.
Remnant44··on A cheat sheet for why using ChatGPT is not bad for the environment
By the same token, even if you accept that AI usage will incentivize additonal model trainings, that cost is diffused across hundreds of millions of users, and is not a marginal cost, so it gets further reduced on a per-chat basis the more you use AI. I don't know what the per-user environmental cost of training a model is, but that's a pretty big factor to divide energy usage by.
Remnant44··on Fundamental flaws of SIMD ISAs (2021)
That's a good point about increased dependency chain length in simd due to the branchless programming style. Unrolling to break a loop-carried dependency is one of the strongest reasons to unroll especially simd code.

Unrolling trivial loops to remove loop counter overhead hasn't been productive for quite a whole now but unfortunately it's still the default for many compilers.

Remnant44··on Three Fundamental Flaws of SIMD ISAs (2023)
My understanding is that they've changed this for Lion Cove and all future P cores, moving to much more of a Zen-like setup with seperate schedulers and ports for vector and scalar ops.
Remnant44··on Fundamental flaws of SIMD ISAs (2021)
These days, I strongly believe that loop unrolling is a pessimization, especially with SIMD code.

Scalar code should be unrolled by the compiler to the SIMD word width to expose potential parallelism. But other than that, correctly predicted branches are free, and so is loop instruction overhead on modern wide-dispatch processors. For example, even running a maximally efficient AVX512 kernel on a zen5 machine that dispatches 4 EUs and some load/stores and calculates 2048 bits in the vector units every cycle, you still have a ton of dispatch capacity to handle the loop overhead in the scalar units.

The cost of unrolling is decreased code density and reduced effectiveness of the instruction / uOp cache. I wish Clang in particular would stop unrolling the dang vector loops.

Remnant44··on Mozilla launching “Thundermail” email service to take on Gmail, Microsoft 365
Thunderbird is my daily driver email client for all my business email for over a decade.

I've never had a single corruption problem in that time, with probably hundreds of thousands of emails. Take that for what its worth.

The only complaint I've ever had is when they redid their UI a year or two ago it got unbearably slow - which improved over the next few iterations until its now fine again.

Remnant44··on Intel AVX10 Drops Optional 512-Bit: No AVX10 256-Bit Only E-Cores in the Future
Well. That's a pleasant surprise - Intel making the right move here! There was so much unforced error around avx512 strategy.

According to the steam hardware survey for Feb 2025, AVX512 support is already up to around ~16%. That may not sound like a lot, but considering that it's basically all coming from Zen4&5 based CPUs..

Once Intel's next design also supports it, it's probably worth targeting for consumers in relevant markets.

Remnant44··on Tech terms I was pronouncing wrong
Another one I learned recently: The godot engine is not go-dot, it's guh-dow.
Remnant44··on Zen 5's AVX-512 Frequency Behavior
Nothing to fix here. The behavior in the transition regimes is already quite good.

The overall throttling is dynamic and reactive based on heat and power draw - this is unavoidable and in fact desirable (the alternative is to simply run slower all the time, not to somehow be immune to physics and run faster all the time)

Remnant44··on Zen 5's AVX-512 Frequency Behavior
Appreciate the detail! That explains a lot of what is going on.. It also dovetails with some interesting facts I remember reading about the relative power consumption for the zen cores versus the infinity fabric connecting them - The percentage of package power usage simply from running the fabric interconnect was shocking.
Remnant44··on Zen 5's AVX-512 Frequency Behavior
It's interesting that Zen5's FPUs running in full 512bit wide mode doesn't actually seem to cause any trouble, but that lighting up the load store units does. I don't know enough about hardware-level design to know if this would be "expected".

The fully investigation in this article is really interesting, but the TL;DR is: Light up enough of the core, and frequencies will have to drop to maintain power envelope. The transition period is done very smartly, but it still exists - but as opposed to the old intel avx512 cores that got endless (deserved?) bad press for their transition behavior, this is more or less seamless.

Remnant44··on Carbon is not a programming language (sort of)
I thought this was a well written and fair article. My preference would be that C++ is not "forked", but I understand the reasons for the impasse and consequences.

I found the part about member access operators interesting.

I've written C++ for 25 years, and although I've used "pointer"-to-member(function/fields) ability many times (indeed, this is how you bind signals to your member slots statically in QT!), I had no idea that it could both be null, and that -1 was used for a 'null' 'pointer' in this instance.

Good example about how large the language is, with so many weird dark darks. The number of air quotes needed above is pretty illuminating on its own.

Remnant44··on How can a top scientist be so confidently wrong? R. A. Fisher and smoking (2022)
This is my favorite passage from the article:

"Beyond this, people make mistakes. Brilliance represents an upper bound on the quality of your reasoning, but there is no lower bound. The most brilliant scientist in the world can take really dumb stances. Indeed, the success that often goes with brilliance can encourage a blind stubbornness. Not always—some top scientists are admirably skeptical of their own ideas—but sometimes. And if you want to be stubborn, again, there’s no lower bound on how wrong you can be. The best driver in the world can still decide to turn the steering wheel and crash into a tree."

It is one of those profound realizations that seems so obviously true it's irrelevant. But then ask if we evaluate the decisions and statements from smart people this way. Generally the answer is no.

While the brilliant person will have higher quality reasoning on average due to the stretching of the distribution... any individual belief or statement they come up with is being drawn from a distribution that still includes boneheadely wrong.

Remnant44··on Added sugar intake and its associations with incidence of cardiovascular disease
> An orange is 100% fructose

It is not:

https://fdc.nal.usda.gov/food-details/746771/nutrients

In fact an orange is a mixture of glucose, fructose, and sucrose (which itself is glucose and fructose). An orange actually looks surprisingly like table sugar in terms of the sugar types, although you are correct that the pulp / fiber / etc do mean that the response of our body is likely different.

Remnant44··on AMD Disables Zen 4's Loop Buffer
My understanding is that it's a pretty small optimization on the front end. It doesn't have a lot of entries to begin with (144) so the amount of space saved is probably negligible. Theoretically, the loop buffer would let you save power or improve performance in a tight loop. In practice, it doesn't seem to do either, and AMD removed it completely for Zen 5.
Remnant44··on Understanding SIMD: Infinite complexity of trivial problems
I would wager that most real world SIMD use is with direct intrinsics.
Remnant44··on C++ proposal: There are exactly 8 bits in a byte
utf8, for essentially the reasons mentioned in this manifesto: https://utf8everywhere.org/
Remnant44··on Intel and AMD form advisory group to reshape x86 ISA
Agreed.. in a lot of ways, APX is like AVX(512) for scalar code.

Double integer register count, three-operand instructions, improved predication support including conditional load/stores.. If I remember correctly, they actually implement it by having the scalar instructions use the EVEX prefix introduced with avx512.

I would really love to seem them settle on APX + AVX10/512 as a next-generation x86 baseline.

Remnant44··on Intel and AMD form advisory group to reshape x86 ISA
This is hopeful. Whatever the ARM enthusiasts would like, x86 is going to stick around for a long time, and working together to evolve the ISA extensions in a more cohesive manner would go a long way.

In particular, I'd really like AMD and Intel to get on the same page in terms of avx10 / avx512 support.

Many people correctly note that avx512 support is not super relevant today, but this can be laid heavily at the feet of Intel's process troubles and a terrible decision to use ISA for market segmentation purposes.

Zen4/zen5 show that it is possible to implement wide vector units on a cpu in an extremely beneficial way - even if you're running reduced width execution units under the hood, the improved frontend performance is really useful - and also actually saves power, as the decoders and schedulers account for a fair chunk of power consumption these days.

Remnant44··on AMD's Turin: 5th Gen EPYC Launched
I agree! I think people are used to comparing to a single threaded execution of non-vectorized code, which is using .1% of a modern CPU's compute power.

Where the balance slants all the way towards gpus again is the tensor units using reduced precision...

Remnant44··on AMD's Turin: 5th Gen EPYC Launched
The execution units are fully pipelined, so although the latency is four cycles, you can receive one result every cycle from each of the execution units.

For a Zen 5 core, that means 16 double precision FMAs per cycle using AVX 512, so 80gflop per core at 5ghz, or twice that using fp32

Remnant44··on Show HN: Tenno – Markdown and JavaScript = a hybrid of Word and Excel
First of all, I love this concept!

The editable fields within a markdown explainer is really intuitive.

What I'd personally like to see is a better data exploration tab or similar - basically some place that makes it easier to view the cells in use in the doc, and edit them. basically a spreadsheet tab ;)

Remnant44··on Lunar Lake's iGPU: Debut of Intel's Xe2 Architecture
As mentioned in other responses, that part of the GPU simply isn't interesting from an architectural perspective, which is what Chips and Cheese is all about.

GPU compute performance is both technically interesting, and matters to much more than simply gaming!

Remnant44··on Intel's Redwood Cove: Baby Steps Are Still Steps
This is the right answer. :)

I think a lot of folks get mixed up with GPU and/or SIMD architecture, where you execute both sides of the branch out of necessity: Some of the lanes need to go one way and some the other, so you have to do both.

← PreviousPage 2 of 6Next →