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: Pay-per-call MCP server with 47 AI endpoints, micropayments via x402

https://goldbean-api.xyz
1•13639366668•45s ago•0 comments

Show HN: Hacker News book recs as study guides

https://biteread.ai/collection/hacker-news-top-nonfiction
1•xxbondsxx•50s ago•0 comments

Write code like a human will maintain it

https://unstack.io/write-code-like-a-human-will-maintain-it
1•ScottWRobinson•3m ago•1 comments

Show HN: LifetimeR–A memento mori wallpaper generator (life,year,goal calendars)

https://lifetimer.vercel.app/
1•alvaro_l_torres•4m ago•0 comments

Successful Companies Go Blind

https://ianreppel.org/how-successful-companies-go-blind/
2•speckx•5m ago•0 comments

Scarf has moved away from Haskell

https://avi.press/posts/2026-07-10-after-7-years-in-production-scarf-has-reluctantly-moved-away-f...
1•aviaviavi•5m ago•0 comments

Punk, or why I don't stream anymore

https://geohot.github.io//blog/jekyll/update/2026/05/03/punk-or-why-i-dont-stream.html
1•surprisetalk•6m ago•0 comments

Go-Flavored Concurrency in C

https://antonz.org/concurrency-in-c/
1•valyala•7m ago•0 comments

Sign in IPv6 Is Watching You: The Hidden Privacy Nightmare [video]

https://www.youtube.com/watch?v=2k8Hr5Aw73o
1•Bender•9m ago•0 comments

Show HN: My AI agent has 1 hour to earn €10 – it shipped this page itself

https://1h-money.vercel.app
1•parweb•9m ago•0 comments

Wally Funk, last of Mercury 13 and oldest woman in space, dies at 87

https://arstechnica.com/space/2026/07/wally-funk-last-of-mercury-13-and-oldest-woman-in-space-die...
3•pseudolus•10m ago•0 comments

Meta found to breach EU laws with 'addictive' Instagram, Facebook designs

https://www.cnbc.com/2026/07/10/meta-instagram-facebook-addictive-design-breach-eu-laws.html
3•pseudolus•11m ago•1 comments

An orbital StormWall could mitigate the next Carrington event

https://hackaday.com/2026/06/17/an-orbital-stormwall-could-mitigate-the-next-carrington-event/
1•appreciatorBus•11m ago•0 comments

DominoTree

https://arxiv.org/abs/2607.08642
1•ilreb•12m ago•0 comments

Show HN: Opula – portfolio and net-worth analysis as a hosted MCP connector

https://opula.io
1•bboydart•14m ago•0 comments

Feeds: An Introduction to RSS

https://feeds.software
1•stevedsimkins•16m ago•0 comments

Guy took Jupiter photo with Game Boy Camera, giant telescope, publishes tutorial

https://www.engadget.com/2211886/guy-who-took-photo-of-jupiter-with-a-game-boy-camera-and-giant-t...
2•thunderbong•18m ago•0 comments

Gage Roads Beer Surfboard

https://www.toxel.com/tech/2026/07/05/gage-roads-beer-surfboard/
1•speckx•19m ago•0 comments

Ryanair passenger almost sucked out of shattered window during flight

https://www.theguardian.com/business/2026/jul/10/ryanair-passenger-almost-sucked-out-of-shattered...
4•n1b0m•19m ago•0 comments

Time Pricing Big Macs Around the World

https://newsletter.humanprogress.org/p/time-pricing-big-macs-around-the
3•surprisetalk•21m ago•0 comments

New Codex and Chat GPT app is a bit confusing to use?

https://learn.chatgpt.com/docs/app
2•strax01•22m ago•0 comments

Scientists Say a Critical Ocean Current System May Be Past Point of No Return

https://gizmodo.com/scientists-say-a-critical-ocean-current-system-may-already-be-past-the-point-...
1•pseudolus•23m ago•0 comments

All-New Aito M9 Surpasses 10K Deliveries in 3 Weeks,Total Deliveries Exceed 300K

https://english.news18a.com/m/news/english_272310.html
1•teleforce•25m ago•0 comments

How do you use Vim in the era of AI?

2•rstagi•25m ago•0 comments

We Put an L7 Firewall in the Kernel

https://yeet.cx/blog/l7-firewall-in-the-kernel
1•ok_major_9889•25m ago•0 comments

A Plan to Stop Solar Storms from Sending Us Back to the Stone Age

https://www.wsj.com/science/space-astronomy/solar-storm-what-is-stormwall-e2ca1823
2•fortran77•25m ago•1 comments

StubHub's 'marketplace for fans' is run by a mass scalper, SEC filings reveal

https://www.cbc.ca/lite/story/9.7265230
2•colinprince•25m ago•0 comments

AI Transport v0.5.0: durable execution with Steps

https://ably.com/blog/ai-transport-durable-execution-steps
1•zknill•28m ago•0 comments

Show HN: Runloom – Go-style coroutines for Python free-threaded

https://github.com/robertsdotpm/runloom
2•Uptrenda•29m ago•0 comments

Ryanair Passenger Partly Sucked Out of Jet as Window Breaks

https://www.seattletimes.com/business/passenger-partly-sucked-out-of-boeing-jet-as-window-dislodges/
1•alpha_squared•30m ago•0 comments