frontpage.
newsnewestaskshowjobs

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

Alberta referendum: Province awaits results after delays on voting day

https://www.cbc.ca/news/canada/edmonton/livestory/alberta-referendum-results-live-updates-separat...
1•mooreds•5m ago•0 comments

Textideo Director – an AI video creation tool for scenes, shots

https://textideo.com/director
1•Yummiy•5m ago•0 comments

How to read QR codes by hand (and make bad ones that work) [video]

https://www.youtube.com/watch?v=RYqX8CNgzwM
1•gregsadetsky•6m ago•0 comments

Don't Choose. Join

https://github.com/ckir/clavity
1•ckir1508•7m ago•0 comments

Healthy Reef Sounds Can Boost Coral and Fish Recovery Efforts

https://today.ucsd.edu/story/healthy-reef-sounds-can-boost-coral-and-fish-recovery-efforts
1•gmays•11m ago•0 comments

Edward Snowden on Palestine and Sam Altman [video]

https://www.youtube.com/watch?v=zMG6aRZhIGE
1•matteohorvath•12m ago•0 comments

Go will reject certificate chains containing eight distrusted SPKIs

https://github.com/golang/go/issues/82345
3•mendym•13m ago•1 comments

CNN's Christiane Amanpour to depart network after 43 years

https://www.nbcnews.com/business/media/cnns-christiane-amanpour-depart-network-43-years-rcna604365
1•theanonymousone•14m ago•0 comments

Show HN: Search for AI-agents and usefulness score

https://xtract-production-2efc.up.railway.app/
1•Ayobamiu•20m ago•0 comments

Supercapacitor cement is key to buildings that store their own power

https://newatlas.com/energy/cement-based-supercapacitor/
1•gmays•21m ago•0 comments

LinSparkle: A sparkle style auto updated for AppImages

https://github.com/medcelerate/LinSparkle
1•medcelerate•21m ago•1 comments

Scaling to Test-Time Iterations with Loop-Native Attention

https://arxiv.org/abs/2610.11570
1•simonpure•22m ago•0 comments

Show HN: AppMaker – Build business apps with AI, visual editing and code

https://appmaker.io/
1•codeguppy•23m ago•0 comments

SOMETHING WORTH READING: About the pressure of writing

https://mvndy.cl/blog/something-worth-reading
1•yuna2k•27m ago•0 comments

Wearing headphones during surgery may reduce nausea and vomiting afterward

https://www.eurekalert.org/news-releases/1146699
1•gmays•29m ago•0 comments

Show HN: Yana – A local-first, human-governed AI runtime and IDE in Rust

https://github.com/yanacuti1121/yana-ai
1•vutam•30m ago•0 comments

Anthropic calls human attention the bottleneck in the botsitting world to come

https://fortune.com/2026/10/19/work-botsitting-meetings-army-of-claudes-anthropic/
2•handfuloflight•30m ago•1 comments

Triton Notes

https://junupark.xyz/triton-notes/
1•qwertyforce•37m ago•0 comments

Show HN: Approve Sudo with Android Biometrics

https://github.com/hparadiz/kdesu-android-biometric-auth
1•hparadiz•39m ago•0 comments

Rabbit Holes: The Secret to Technical Expertise (2019)

https://blog.bityard.net/articles/2019/August/rabbit-holes-the-secret-to-technical-expertise
1•1317•39m ago•0 comments

The Deadly 1.5-Mile Corridor That Shows the Fatal Flaw in America's Road Design

https://www.wsj.com/us-news/the-deadly-1-5-mile-corridor-that-shows-the-fatal-flaw-in-americas-ro...
1•bcaulfield•41m ago•0 comments

Russians Snap Up Chinese EVs as Ukrainian Attacks Make Fuel Scarce

https://www.nytimes.com/2026/10/04/world/europe/russia-ukraine-war-ev-sales.html
1•lxm•46m ago•0 comments

"Saga Is Decentralized, 2PC Is Centralized" Is Mostly a Myth

https://medium.com/scalar-engineering/saga-is-decentralized-2pc-is-centralized-is-mostly-a-myth-7...
1•feeblefakie•46m ago•0 comments

Everyone Recommends Saga. Almost Nobody Mentions How Hard It Is to Get Right

https://medium.com/scalar-engineering/everyone-recommends-saga-almost-nobody-mentions-how-hard-it...
1•feeblefakie•46m ago•0 comments

Show HN: Free text classification piece for Activepieces

https://jeffyclassify.com/blog/activepieces-jeffy/
1•nico•52m ago•0 comments

US trial begins for Rwandan-American accused of role in genocide

https://www.aljazeera.com/news/2026/10/13/us-trial-begins-for-rwandan-american-accused-of-role-in...
1•snarky-comments•53m ago•0 comments

Playing It Sfape: Code Execution in Isolated User Mode

https://blog.doyensec.com/2026/10/13/Sfape.html
1•santiago-pl•56m ago•0 comments

Newly identified green star leaves astronomers amazed

https://tech.yahoo.com/science/articles/newly-identified-green-star-leaves-090252472.html
1•gmays•1h ago•0 comments

Craft and beauty: The business value of form in function

https://stripe.com/sessions/2024/craft-and-beauty-the-business-value-of-form-in-function
1•andsoitis•1h ago•0 comments

OpenBSD 8.0

https://www.openbsd.org/80.html
11•privong•1h ago•2 comments