frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

We Slashed API Response Times by 50% with Go Compiler Optimizations

https://medium.com/@utsavmadaan823/how-we-slashed-api-response-times-by-50-with-go-compiler-optimizations-3c2592c2d241
2•tanelpoder•1y ago

Comments

rvz•1y ago
So as I was saying in [0] and [1], there is no doubt that properly tuning the compiler for performance can make a significant real difference instead of wasting more money and risking an increase in costs just by throwing more servers at the problem.

Also, If you needed to re-architect the entire codebase to solve a performance issue, either you chose one of the most inefficient technologies / languages or the code itself was badly architected in the first place or both.

Before any architectural changes to the codebase first check if you can get performance gains from the compiler flags and measure it. That should be the industry standard practice for high quality efficient software.

We must learn from excellent SWEs teams such as DeepSeek which frankly embarrassed the entire AI industry due to their performance optimizations and savings in inference usage.

[0] https://news.ycombinator.com/item?id=43753443

[1] https://news.ycombinator.com/item?id=43753725

kristianp•1y ago
> -ldflags="-s -w": Strips debugging info, making the binary smaller

> I was honestly shocked when this simple change gave us an 8% speedup right off the bat.

Is that all they did to get 8% speedup? Could be a measurement error?

potato-peeler•1y ago
> Dave (our senior backend dev who’s been coding since before I was born) mumbled something like, “Wonder if we’re even using the Go compiler properly…” Most of us kinda ignored it at first — I mean, compiler optimizations? Really? That’s your big solution?

Young devs ignoring their seniors is a tale as old as time

The Foldable iPhone Is Basically an iPad Mini That Folds in Half

https://gizmodo.com/the-foldable-iphone-is-basically-an-ipad-mini-that-folds-in-half-2000750451
1•thunderbong•6m ago•0 comments

Show HN: Paper Millionaire – A Startup Stock Option Horror Roguelike

https://paper-millionaire.pagey.site/
1•freakynit•13m ago•0 comments

Show HN: Free On-Brand AI Ad Maker

https://www.context.dev/free-tools/ad-maker
1•ICodeSometimes•14m ago•0 comments

Show HN: MemOperator-4B

https://huggingface.co/MemTensor/MemOperator-4B
2•MemTensor•15m ago•0 comments

Branimir Lambov from IBM on Cassandra

https://theconsensus.dev/p/2026/04/26/branimir-lambov-from-ibm-on-cassandra.html
2•SerCe•21m ago•0 comments

Surfshark releases new proprietary VPN protocol

https://www.zdnet.com/article/surfshark-dausos-vpn-protocol/
2•kitchi•21m ago•0 comments

Learning to Repair Lean Proofs from Compiler Feedback

https://arxiv.org/abs/2602.02990
1•matt_d•22m ago•0 comments

Italy to extradite suspected Chinese hacker wanted by US authorities

https://www.reuters.com/world/china/italy-extradite-suspected-chinese-hacker-wanted-by-us-authori...
1•NN88•26m ago•0 comments

Ask HN: Is there a way to render URLs to PDFs on Android?

1•Irongirl1•26m ago•1 comments

California's Billionaire Tax Has the Signatures to Make the Ballot, Backers Say

https://www.wsj.com/politics/policy/californias-billionaire-tax-has-the-signatures-to-make-the-ba...
5•testfoobar•30m ago•0 comments

Banning AI Art – Wallhaven

https://wallhaven.cc/forums/thread/4800
2•thedayisntgray•30m ago•2 comments

Low-Dose Aspirin Usage for Primary Prevention Has Fallen by >50% Since 2018

https://www.epicresearch.org/articles/low-dose-aspirin-usage-for-primary-prevention-of-cardiovasc...
1•salkahfi•31m ago•0 comments

Making UIs like text adventure games

https://en.andros.dev/blog/b5ba872a/making-uis-like-text-adventure-games/
1•andros•32m ago•0 comments

Framework's new Linux laptop is selling faster than its Windows one

https://www.pcworld.com/article/3123900/framework-new-linux-laptop-is-selling-faster-than-its-win...
5•Garbage•33m ago•0 comments

Show HN: Twitter Bulk Delete

https://chromewebstore.google.com/detail/twitter-bulk-delete-bulk/liocepnkgmapkfiplhhgjkokgnolglbc
2•qwikhost•34m ago•0 comments

PLA-Based triboelectric nanogenerators: Pathway to sustainable energy harvesting

https://www.sciencedirect.com/science/article/pii/S2773207X25000193
1•ludicrousdispla•40m ago•0 comments

Cursor Deleted Railway Production Volume and Backups

https://twitter.com/i/status/2048103471019434248
3•fastest963•41m ago•0 comments

YouTube Removes Alt-Right Criticism

https://www.youtube.com/post/UgkxiDyyBsYJwX0PKsnu2_AOGMhMYwm0qPKm
11•pkilgore•44m ago•0 comments

Making a Landing Page Work for Both Humans and AI Agents

https://docsalot.dev/blog/i-redesigned-my-landing-page-so-ai-agents-can-read-it
3•fazkan•45m ago•0 comments

AI and Digitalization in HTA: Enhancing Evidence, Equity and Efficiency [video]

https://www.youtube.com/watch?v=2wN0D-AqUQQ
1•DarkmSparks•49m ago•0 comments

Tin Can: a screen free phone for kids

https://www.tomsguide.com/phones/tin-can-everything-you-need-to-know-about-the-viral-screen-free-...
4•silverdrake11•51m ago•1 comments

Cisco Introduces Universal Quantum Switch Advancing the Path to Quantum Network

https://newsroom.cisco.com/c/r/newsroom/en/us/a/y2026/m04/cisco-introduces-universal-quantum-swit...
2•vismit2000•53m ago•0 comments

The missing piece in quantum computing – Cisco's universal quantum switch

https://finshots.in/archive/the-missing-piece-in-quantum-computing/
1•vismit2000•54m ago•0 comments

Justice-in-Becoming: The Universal Grammar of Stability Under Uncertainty

https://www.mountaineagle.net/articles/display/justice-in-becoming-the-universal-grammar-of-stabi...
1•uswn•55m ago•0 comments

Patch applies fake diffs from commit messages

https://samizdat.dev/phantom-patch/
3•reconquestio•58m ago•0 comments

I built Tinder for movies with Reels-style trailers

https://seenwant.com/en
1•tinolyonne•1h ago•2 comments

What type of code should you generate with AI?

1•hopa•1h ago•1 comments

The AI Guy [Google_made_an_Ooopsie]

https://inv.nadeko.net/channel/UCUYWQzo6AtlFSTHab_qKQaA/community
1•rolph•1h ago•0 comments

Show HN: Discover what could screw you in a contract

https://www.beforeyousign.lol/
1•roozka10•1h ago•0 comments

GDP.pdf: A Benchmark for Parsing PDFs

https://surgehq.ai/blog/gdp-pdf-can-100b-ai-models-master-the-documents-that-run-the-world
1•Olshansky•1h ago•0 comments