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

OB-GYN pay overhaul spells changes for maternal care

https://www.axios.com/2026/07/13/ob-gyn-pay-overhaul-changes-maternal-care
1•brandonb•21s ago•0 comments

The Efficiency Gains from Mergers

https://nicholasdecker.substack.com/p/the-efficiency-gains-from-mergers
1•surprisetalk•36s ago•0 comments

The Prompt Stops Mattering When You Leave the Room

https://x.com/i/article/2076675078620909569
1•deepakguptacse•1m ago•0 comments

Rewriting the Accreditation Playbook

https://pen.org/rewriting-the-accreditation-playbook/
1•hn_acker•1m ago•0 comments

AI-authored motion graphics with a compiler in the loop

https://samsonaligba.com/video-compiler-for-agents-and-humans
1•sa_gdi•1m ago•0 comments

I Built an AI System That Codes, Runs and Improves Itself

https://fatihkoc.net/posts/ai-system-that-improves-itself/
1•fatihkocnet•3m ago•0 comments

The Meridian of Her Greatness (2017)

https://samzdat.com/2017/06/01/the-meridian-of-her-greatness/
1•jxmorris12•4m ago•0 comments

Show HN: Stinger – Catch secret-stealing activity via local traps on macOS/Linux

https://github.com/0x4D31/stinger
1•0x4d31•4m ago•0 comments

Settling a 2006 conjecture on Huffman codes

https://iczelia.net/blog/settling-a-2006-conjecture-on-huffman-codes/
1•speckx•4m ago•0 comments

Harmonic, client-side additive models with uncertainty bands

https://chrismac860.github.io/harmonic/
2•cmackle•5m ago•0 comments

CortexWP AI: WordPress Agentic system for debugging and development

https://cortexwp.ai/blog/cortexwp-ai-wordpress-agent
1•mdrajinsharwar•5m ago•0 comments

The Cell Phone Novel Craze of Early 2000s Japan Did Not Destroy Literature

https://lithub.com/the-cell-phone-novel-craze-of-early-2000s-japan-did-not-in-fact-destroy-litera...
1•theanonymousone•8m ago•0 comments

Why Am I Left-Handed?

https://www.quantamagazine.org/why-am-i-left-handed-20260713/
2•Brajeshwar•8m ago•0 comments

Spaceflight is hard on the heart, yet artificial ones grow better in space

https://www.space.com/space-exploration/human-spaceflight/spaceflight-is-hard-on-the-heart-yet-ar...
1•marc__1•9m ago•0 comments

SynapseOS – Where the Kernel Thinks

https://github.com/velle999/SYNAPSE
1•vellesinclair•9m ago•0 comments

Reading Well

https://map.simonsarris.com/p/reading-well
1•simonsarris•10m ago•0 comments

The AI Safety Paradox

https://pointersgonewild.com/2026-07-03-the-ai-safety-paradox/
1•ibobev•12m ago•0 comments

Show HN: FDrive – Mount Anything as a FS (SFTP, S3, FTP, IPFS, ...)

https://github.com/mickael-kerjean/fdrive
1•mickael-kerjean•12m ago•0 comments

Building a Clang Back End and Porting Doom to My Custom Bytecode VM

https://pointersgonewild.com/2026-07-07-building-a-clang-backend-and-porting-doom-to-my-custom-by...
1•ibobev•12m ago•0 comments

Intuitive Quantum Electrodynamics

https://www.forwardscattering.org/page/Intuitive%20Quantum%20Electrodynamics
1•ibobev•13m ago•0 comments

Kitty Chases the Mouse

https://lwn.net/Articles/1080821/
2•leephillips•13m ago•1 comments

Real GDP growth by state: First quarter 2026

https://fredblog.stlouisfed.org/2026/07/real-gdp-growth-by-state-first-quarter-2026/
1•loughnane•14m ago•0 comments

Y Combinator Paxel

https://paxel.ycombinator.com/
2•flippant•18m ago•1 comments

Show HN: A DNA motif/feature scanner on a single Cloudflare Worker, in Rust

https://github.com/dhruvkjain/argus-ligand
1•dhruvkjain•18m ago•0 comments

LAPD lets contract with surveillance giant Flock expire

https://techcrunch.com/2026/07/13/lapd-lets-contract-with-surveillance-giant-flock-expire-citing-...
4•forks•18m ago•1 comments

CATL Debuts First Field-Validated Sodium-Ion Bess

https://www.catl.com/en/news/6861.html
1•ksec•18m ago•1 comments

Show HN: A developer tool guide for AI coding agents (900 tools and counting)

https://zairalabs.ai/guide/
1•harkdif•20m ago•3 comments

Show HN: WaitToUnlock – Lock yourself out of iOS ScreenTime

https://waittounlock.com/
4•shorekey•22m ago•0 comments

Show HN: Yes-Brainer – A council of LLMs that debate in the browser, BYOK

https://yesbrainer.ai/
1•trekhleb•22m ago•1 comments

The Verge

https://www.theverge.com
1•MO_Emara•22m ago•0 comments