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

Granite Switch: Building AI more like software

https://research.ibm.com/blog/granite-libraries-project-switch
1•yangikan•2m ago•0 comments

Bonsai Browser: Reader-mode for every page, powered by a local LLM, Nothing Else

https://drive.google.com/drive/folders/1qDYvycW4Ki0gAppMGhvSixUCioIRXcmN
1•coolwulf•2m ago•0 comments

Show HN: OWASP VulnerableApp: Break It.Scan It.Benchmark Against It.Improve It

https://github.com/SasanLabs/VulnerableApp
2•newaccount12344•2m ago•0 comments

The Anatomy of a Learning Stall

https://tagide.com/blog/llm/the-anatomy-of-a-learning-stall/
1•azhenley•2m ago•0 comments

Siddhartha (1922): Competence Porn – before it was cool

https://acxreviews.robennals.org/reviews/siddhartha-1922-by-hermann-hesse
2•Gooblebrai•2m ago•0 comments

The Man Whose Job Is Making Sure We Don't Have Blackouts This Summer

https://www.wsj.com/business/blackouts-electricity-data-centers-david-mills-pjm-d1c499fe
1•impish9208•3m ago•1 comments

I Just watched "We just launched Paxel" by narrated by Garry Tan [video]

https://www.youtube.com/shorts/ywS7Ytkx3A0
1•mockingloris•4m ago•1 comments

Do I Need to Learn the Domain? Do I Want To?

https://ianmcnaughton.net/blog/do-i-need-to-learn-the-domain/
1•wc_nomad•5m ago•0 comments

I am getting sick and tired of our AI oligarchs

https://news.ycombinator.com/from?site=eversoleken.substack.com
1•kennethops•6m ago•1 comments

The Legacy of Spam

https://siderite.dev/blog/legacy-of-spam
1•speckx•6m ago•0 comments

China builds an economic fortress as global tensions rise

https://www.nytimes.com/2026/06/05/business/china-investment-rules.html
1•leonidasrup•6m ago•0 comments

Lateos/NPM-scan v1.2.0: Detecting Native Addon Malware (node-gyp Abuse)

https://github.com/lateos-ai/npm-scan/blob/main/VALIDATION.md
1•lateos-ai•7m ago•1 comments

Show HN: I rebuilt a tiny old volleyball game I loved

https://volleyhop.com/
1•cebceb•9m ago•0 comments

Reason Behind a Startup's Success

https://orchidfiles.com/reason-behind-startups-success/
1•theorchid•10m ago•0 comments

RemotePower – self-hosted remote power management

https://github.com/tyxak/remotepower
1•stenit•13m ago•0 comments

What Is an Agent?

https://tidydesign.substack.com/p/what-is-an-agent
1•yurivish•14m ago•0 comments

Google to pay SpaceX $920M a month for compute capacity at xAI data centers

https://www.cnbc.com/2026/06/05/google-to-pay-spacex-920-million-a-month-for-xai-compute-capacity...
8•toephu2•15m ago•0 comments

Partitions over Permutations

https://www.johndcook.com/blog/2026/06/04/partitions-over-permutations/
1•ibobev•15m ago•0 comments

Chatting via Meshtastic in Emacs

https://en.andros.dev/blog/1a6f3018/chatting-via-meshtastic-in-emacs/
1•ibobev•16m ago•0 comments

Constants and pure functions in Python: how to do it right

https://en.andros.dev/blog/5afd804f/constants-and-pure-functions-in-python-how-to-do-it-right/
1•ibobev•16m ago•0 comments

Gullible Bots Gobbling Slop

https://old.reddit.com/r/PoisonFountain/comments/1tx2vlo/gullible_bots_gobbling_slop/
2•busymom0•18m ago•0 comments

AI's Wrong Answers Are Bad. Its Wrong Reasoning Is Worse

https://www.msn.com/en-us/news/technology/ai-s-wrong-answers-are-bad-its-wrong-reasoning-is-worse...
3•galaxyLogic•19m ago•0 comments

Writing vs. Shipping: Productivity Effects Across Generations of AI Coding Tools

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6843118
2•b-man•19m ago•0 comments

Netty VirtualThread Scheduler

https://github.com/franz1981/Netty-VirtualThread-Scheduler
1•mfiguiere•20m ago•0 comments

Phoenix Code Now with AI (Via Claude)

https://phcode.io/pricing.html
1•janandonly•22m ago•0 comments

Show HN: A backwards dough fermentation scheduler

https://impastopizza.app/
1•Floppyrom•22m ago•1 comments

What Dogs See That We Can't

https://www.theatlantic.com/newsletters/2026/06/what-i-learned-from-my-dog/687437/
3•paulpauper•22m ago•0 comments

Defeated! Picking Works by Design's Unpickable Lock [video]

https://www.youtube.com/watch?v=rMi1dIqMwNw
1•austinallegro•22m ago•1 comments

Killing Lake Powell Won't Save the Colorado River

https://www.bloomberg.com/opinion/articles/2026-06-05/killing-lake-powell-won-t-save-the-colorado...
1•littlexsparkee•23m ago•0 comments

Trump to meet AI leaders to discuss US investment in their companies

https://www.bbc.com/news/articles/c98r8r7dz5no
4•artninja1988•25m ago•2 comments