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

Aspartame is not that bad?

https://dynomight.net/aspartame/
1•pHequals7•3m ago•0 comments

Side-stepping the Secretary Problem, unwittingly

https://www.evalapply.org/posts/side-step-secretary-problem-hiring/index.html
1•pvdebbe•4m ago•0 comments

Giving AI Hands: How KDP Makes Infrastructure Agent-Ready

https://www.kubermatic.com/blog/giving-ai-hands-how-kdp-makes-infrastructure-agent-ready/
1•mstruebing•4m ago•0 comments

Every Trade Contract Needs These 12 Clauses

https://www.documentorium.com/blog/every-trade-contract-needs-these-12-clauses
1•documentorium•5m ago•0 comments

The monstrous number sequences that break the rules of mathematics

https://www.newscientist.com/article/2521354-the-monstrous-number-sequences-that-break-the-rules-...
1•ColinWright•11m ago•0 comments

GIMP at LGM2026: committee, grants, no-AI policy, and that GSoC thing

https://librearts.org/2026/04/gimp-at-lgm2026/
1•prokoudine•13m ago•0 comments

NTSB LaGuardia Aviation Investigation Preliminary Report

https://data.ntsb.gov/carol-repgen/api/Aviation/ReportMain/GenerateNewestReport/202674/pdf
1•tomalpha•15m ago•1 comments

Stack Trace for Distributed Systems

https://github.com/leandromoreira/distributed-stack-trace
1•dreampeppers99•15m ago•0 comments

This Robot Can Beat You at Table Tennis [video]

https://www.youtube.com/watch?v=EH8kZDc7OLk
1•mhb•16m ago•0 comments

When our 'local' journalist confronted Michael Jackson

https://mazharfarooqui.substack.com/p/the-night-i-didnt-know-i-was-confronting
1•Sam6late•17m ago•1 comments

Show HN: CSP Benchmarks – Go vs. core.async (Clojure) vs. libgoc (C)

https://github.com/libgoc/libgoc/blob/81798b3dd5e27d7f1e752b6cff0bdf3a95d381b7/bench/README.md
1•divs1210•17m ago•0 comments

Punctuated Decline of Human Cooperation

https://www.nature.com/articles/s41586-026-10380-3
1•bookofjoe•17m ago•0 comments

Ask HN: Scaling a targeted web crawler beyond 500M pages/day

1•honungsburk•18m ago•0 comments

Vanished in Paradise: Dark Secrets of Hawaii's Big Island [video]

https://www.youtube.com/watch?v=Y-nc9TalADk
1•keepamovin•22m ago•0 comments

Show HN: I built an AI alternative to NoBroker/MagicBricks that never calls you

https://www.abodex.space/
2•soorajsanker•28m ago•0 comments

Free Book "Rust Projects – Write a Redis Clone" Version 2.0.0

https://rust-projects-write-a-redis-clone.github.io/
1•thedigicat•29m ago•0 comments

WellaBack Posture Corrector

https://www.facebook.com/WellaBackPostureCorrector.Get
1•Bannersons•32m ago•0 comments

Show HN: Llm.sql – Run a 640MB LLM on SQLite, with 210MB peak RSS and 7.4 tok/s

4•aldielshala•33m ago•0 comments

8087 Emulation on 8086 Systems

https://www.os2museum.com/wp/learn-something-old-every-day-part-xx-8087-emulation-on-8086-systems/
2•ingve•35m ago•0 comments

2026 Annual C++ Developer Survey "Lite"

https://isocpp.org/blog/2026/04/2026-annual-cpp-developer-survey-lite1
1•pyjarrett•37m ago•0 comments

Do you need a SoC 2 report?

https://www.getprobo.com/blog/2026-04-22-do-you-need-a-soc-2-report
2•gearnode•40m ago•0 comments

Meta is revamping its cross-app management system

https://techcrunch.com/2026/04/23/meta-is-revamping-its-cross-app-management-system/
1•DropDead•41m ago•0 comments

The FBI faked a field of forensic science. (2015)

https://slate.com/news-and-politics/2015/04/fbis-flawed-forensics-expert-testimony-hair-analysis-...
2•downbad_•41m ago•1 comments

Static Types for Dynamic Targets

https://intertwingly.net/blog/2026/04/23/Static-Types-for-Dynamic-Targets.html
1•ingve•42m ago•0 comments

Health-care AI is here. We don't know if it helps patients

https://www.technologyreview.com/2026/04/24/1136352/health-care-ai-dont-know-actually-helps-patie...
3•joozio•43m ago•0 comments

Open grid data has a public benefit

https://nworbmot.org/blog/open-grid-data.html
1•lyoncy•45m ago•0 comments

UK Biobank leak: Health details of 500 000 people are offered for sale

https://www.bmj.com/content/393/bmj.s781
42•dberhane•52m ago•5 comments

Show HN: PhotoSharpener – sharpen and upscale photos in the browser with AI

https://photosharpener.com/
1•wbemaker•53m ago•0 comments

Face (Sociological Concept)

https://en.wikipedia.org/wiki/Face_(sociological_concept)
1•acqbu•55m ago•0 comments

Microsoft plans voluntary employee buyout for up to 7% of U.S. workforce

https://www.cnbc.com/2026/04/23/microsoft-plans-first-voluntary-retirement-program-for-us-employe...
3•layer8•57m ago•0 comments