frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Bio-Mimetic Legislative Engine

1•Mycobacterium•42s ago•0 comments

U.S. Pauses Immigration Applications from Nations on Travel Ban List

https://www.nytimes.com/2025/12/02/us/politics/trump-travel-ban-citizenship-green-cards-dc-shooti...
1•garbawarb•4m ago•0 comments

Seedream 4.5

https://seed.bytedance.com/en/seedream4_5
3•meetpateltech•8m ago•0 comments

This Month in Ladybird: November 2025

https://buttondown.com/ladybird/archive/this-month-in-ladybird-november-2025/
1•bpierre•11m ago•0 comments

Ask HN: Have you ever skipped filing a patent due to cost or uncertainty?

1•shaheeniquebal•17m ago•1 comments

What Does IHS Really Mean?

https://www.catholicshare.com/what-does-ihs-really-mean/
1•thunderbong•18m ago•0 comments

Tell HN: Compliance is not equal to Security

1•introvertmac•21m ago•0 comments

Brussels pushes for 70% of critical goods to be 'made in Europe'

https://www.ft.com/content/b0200e50-dd3a-4e9e-8908-40ead49e7daa
4•doener•23m ago•0 comments

AWS Lambda announces durable functions

https://aws.amazon.com/about-aws/whats-new/2025/12/lambda-durable-multi-step-applications-ai-work...
1•pallevante•24m ago•0 comments

Bitplane-Cursor: An iconic mouse Cursor theme for X

https://bastian-frank.de/tech-blog/bitplane-cursor
1•doener•26m ago•0 comments

Ask HN: Contract shops who can prepare codebases for internationalization

1•sarabande•26m ago•0 comments

Paint the Code

https://adelbordbari.github.io/code/2025-12-03-paint-the-code/
1•imnitwit•27m ago•0 comments

GNU Taler v1.2 Released

https://www.taler.net/en/news/2025-12.html
1•F3nd0•29m ago•0 comments

A Technical Tour of the DeepSeek Models from V3 to v3.2

https://magazine.sebastianraschka.com/p/technical-deepseek
1•giuliomagnifico•32m ago•0 comments

Vite 8 Beta

https://vite.dev/blog/announcing-vite8-beta
2•TheAlexLichter•32m ago•0 comments

VMK Extractor for BitLocker with TPM and Pin

https://post-cyberlabs.github.io/Offensive-security-publications/posts/2024_09_tpmandpin/
1•pregnenolone•32m ago•0 comments

Dell family to donate $6B to 'Trump accounts' of 25M US children

https://www.reuters.com/technology/michael-susan-dell-pledge-625-billion-investment-accounts-us-c...
3•geox•35m ago•0 comments

Spotting Astroturfing on Reddit

https://rmoff.net/2025/12/01/using-graph-analysis-with-neo4j-to-spot-astroturfing-on-reddit/
3•rmoff•36m ago•0 comments

When your customer leads your Series A

https://antithesis.com/blog/2025/series_a/
2•wwilson•36m ago•0 comments

You Can't Fool the Optimizer

https://xania.org/202512/03-more-adding-integers
35•HeliumHydride•37m ago•9 comments

Product Discovery Without Access

https://holenventures.substack.com/p/product-discovery-without-access
1•hholen•38m ago•0 comments

Amazon SQS Fair Queues

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fair-queues.html
1•siws•39m ago•0 comments

The Tune of Things – Is Consciousness God?

https://harpers.org/archive/2025/12/the-tune-of-things-christian-wiman-consciousness-god/
2•jmfldn•43m ago•0 comments

AutoPilot AI News Platform – Automated, Monetizable and Ready to Launch

1•dhren•43m ago•0 comments

LLMs are great at box diagrams

https://joeblu.com/blog/2025_12_llms-are-great-at-box-diagrams/
1•joeblubaugh•45m ago•0 comments

Satellite captures the first detailed look at a giant tsunami

https://www.earth.com/news/satellite-captures-the-first-detailed-look-at-a-giant-tsunami/
2•stevenjgarner•45m ago•0 comments

OpenAgent – a portable, framework-agnostic specification for defining AI agents

https://github.com/chrisbarry/openagent
5•chrisbarry•46m ago•1 comments

Amazon Previews 3 AI Agents, Including 'Kiro' That Can Code on Its Own for Days

https://techcrunch.com/2025/12/02/amazon-previews-3-ai-agents-including-kiro-that-can-code-on-its...
1•skx001•50m ago•0 comments

Show HN: Open-source AM32 ESC configurator with thrust test bench

https://vayu-dun.vercel.app
1•shodh-varun•50m ago•0 comments

DeepSeek's new model could push China ahead in the global AI race

https://restofworld.org/2025/deepseek-china-r2-ai-model-us-rivalry/
3•donohoe•51m ago•0 comments
Open in hackernews

You Can't Fool the Optimizer

https://xania.org/202512/03-more-adding-integers
33•HeliumHydride•37m ago

Comments

jagged-chisel•17m ago
I always code with the mindset “the compiler is smarter than me.” No need to twist my logic around attempting to squeeze performance out of the processor - write something understandable to humans, let the computer do what computers do.
qsort•7m ago
> I always code with the mindset “the compiler is smarter than me.”

Like with people in general, it depends on what compiler/interpreter we're talking about, I'll freely grant that clang is smarter than me, but CPython for sure isn't. :)

More generally, canonicalization goes very far, but no farther than language semantics allows. Not even the notorious "sufficiently smart compiler" with infinite time can figure out what you don't tell it.

adrianN•5m ago
This is decent advice in general, but it pays off to try and express your logic in a way that is machine friendly. That mostly means thinking carefully about how you organize the data you work with. Optimizers generally don't change data structures or memory layout but that can make orders of magnitude difference in the performance of your program. It is also often difficult to refactor later.
toonewbie•16m ago
Sometimes you can fool the compiler :-)

See "Example 2: Tricking the compiler" in my blog post about O3 sometimes being slower than O2: https://barish.me/blog/cpp-o3-slower/

317070•9m ago
"The compiler" and "The optimizer" are doing a lot of the heavy lifting here in the argument. I definitely know compilers and optimizers which are not that great. Then again, they are not turning C++ code into ARM instructions.

You absolutely can fool a lot of compilers out there! And I am not only looking at you, NVCC.

amelius•5m ago
One undesirable property of optimizers is that in theory one day they produce good code and the next day they don't.
sureglymop•4m ago
With this one I instead wondered: If there are 4 functions doing exactly the same thing, couldn't the compiler also only generate the code for one of them?

E.g. if in `main` you called two different add functions, couldn't it optimize one of them away completely?

It probably shouldn't do that if you create a dynamic library that needs a symbol table but for an ELF binary it could, no? Why doesn't it do that?

daft_pink•4m ago
Is this an argument for compiled code?