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

Show HN: Squishword, a word game where meaning, not spelling, matters

https://squishword.com/
1•sbloz•26s ago•0 comments

Ask HN: What's the Point of Your Startup?

1•sawyers•2m ago•0 comments

OpenBao Features – Declarative Plugins

https://openbao.org/blog/features-declarative-plugins/
1•cipherboy•3m ago•0 comments

AI labels to be compulsory on authentic-looking content under EU rules

https://www.theguardian.com/technology/2026/jul/31/ai-labels-to-be-compulsory-on-authentic-lookin...
2•root-parent•4m ago•0 comments

Drifting SpaceX rocket heading for accidental collision with moon

https://www.theguardian.com/science/2026/jul/31/spacex-rocket-moon-collision
2•root-parent•5m ago•0 comments

AI Data Center Turbines, Backlogged for Years, Are Suffering Early Deaths

https://www.investors.com/news/turbine-generator-ai-data-center-power-threat/
2•speckx•6m ago•0 comments

OpenAI's Second Attempt at Health

https://healthapiguy.substack.com/p/openais-second-attempt-at-health
1•brandonb•6m ago•0 comments

The Art of Decision-Making (2019)

https://www.newyorker.com/magazine/2019/01/21/the-art-of-decision-making
1•EndXA•7m ago•0 comments

Show HN: How I built Remembered checkout for Voice

https://ringup.dev/
1•atifnayeem•7m ago•0 comments

Atmospheric retrieval evidence for water isotopologue HDO on exoplanet WASP-39B

https://arxiv.org/abs/2607.19579
1•root-parent•8m ago•0 comments

A GTK4 SSH-askpass in Zig

https://xn--gckvb8fzb.com/a-gtk4-ssh-askpass-in-zig/
2•surprisetalk•9m ago•0 comments

AI models need moral support to make discoveries

https://www.seangoedecke.com/ai-models-need-moral-support/
1•Brajeshwar•10m ago•0 comments

A discarded SpaceX rocket is on a high-speed collision course with the moon

https://apnews.com/article/spacex-rocket-moon-crash-512c4dd708b4cda1160d30b764f9fdb5
2•everybodyknows•13m ago•0 comments

Inflammation-targeting drug misses mark in heart disease study

https://www.statnews.com/2026/07/31/novo-nordisk-inflammation-heart-disease-ziltivekimab/
2•brandonb•13m ago•1 comments

Make Everything to Markdown

https://klartext.it-handwerk-stuttgart.de/
1•Beko2210•14m ago•0 comments

Great, Gaudy Artifice

https://www.nplusonemag.com/online-only/online-only/great-gaudy-artifice/
1•herbertl•15m ago•0 comments

New Defcon Badges Pack a Unique Open-Source Chip That Doubles as a Security Key

https://www.wired.com/story/defcon-34-badge-baochip-andrew-bunnie-huang/
10•hn_acker•17m ago•1 comments

Show HN: Prompt-scrub – local-first PII redaction for LLM prompts and responses

https://nanocollective.org/blog/prompt-scrub-v100-a-local-first-scrubber-for-prompts-and-their-re...
2•mrspence•17m ago•1 comments

Teaching cloud coding agents to dream

https://www.survivingdreams.com/
1•Aeroi•19m ago•0 comments

Puberty blockers trial can start recruiting children

https://www.bbc.com/news/articles/c0jl4np49w1o
3•ksec•19m ago•0 comments

Is AI Reasoning Right for the Wrong Reasons?

https://www.quantamagazine.org/is-ai-reasoning-right-for-the-wrong-reasons-20260731/
26•retupmoc01•20m ago•2 comments

Ask HN: What are some promising fields in computer science in the next 5 yrs?

1•anonymoosestdnt•21m ago•1 comments

13 Models and 4 Agents on SWE Tasks: Go, Java, Python, Rust, TS

https://swe-rebench.com
2•ibragim_bad•21m ago•0 comments

The anti-IMAX populist backlash

https://www.patreon.com/MaxRead/posts/anti-imax-164065060
1•speckx•22m ago•0 comments

Why Pascal Is Not My Favorite Programming Language ( 1981 )

https://www.lysator.liu.se/c/bwk-on-pascal.html
1•ksec•24m ago•0 comments

Admin: Terminally Ill Patients Aren't Exempt from Medicaid Work Requirements

https://www.commondreams.org/news/trump-medicaid-work-requirements-2677293170
3•hn_acker•24m ago•1 comments

Another Wave of Malicious AUR Packages, Package Adoptions Halted

https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/P4WIRHTFNH2YZWQH...
3•DemiGuru•25m ago•1 comments

Where .env Went Wrong

https://secretspec.dev/blog/where-env-went-wrong/
4•domenkozar•25m ago•0 comments

LinkedIn Introduces a 'Seems Like AI Slop' Button

https://www.404media.co/linkedin-introduces-a-seems-like-ai-slop-button/
3•Octoth0rpe•26m ago•1 comments

The Mistake That Cost Me a Year

3•wyrior•26m ago•0 comments