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

Democrats Unveil Flood of AI Proposals in Potential Challenge to Tech Giants

https://www.wsj.com/tech/ai/democrats-unveil-flood-of-ai-proposals-in-potential-challenge-to-tech...
1•1vuio0pswjnm7•2m ago•0 comments

Functional Source License

https://fsl.software/
1•roschdal•2m ago•0 comments

AI Agents Can't Help with Intent Debt

https://addyosmani.com/blog/intent-debt/
1•moebrowne•3m ago•0 comments

Ask HN: Any good language learning apps/sites that don't use LLMs/GenAI?

1•olivierestsage•3m ago•0 comments

The Future Is Undecidable, Duty Is Not

https://dhanjit.me/blog/2026-06-08-the-future-is-undecidable-duty-is-not.md/
1•themagicalyang•5m ago•0 comments

Profitable AI UGC Ads for Meta and TikTok

https://anivision.ai/
1•sgfgross•5m ago•0 comments

Design Thinking Tools: Reverse Brainstorming

https://www.designorate.com/design-thinking-tools-reverse-brainstorming/
1•surprisetalk•5m ago•0 comments

Show HN: Proxee – Your localhost on your iPhone, synced

https://proxee.dev
1•pio_dubro•10m ago•0 comments

The Environmental Cost of AI: Carbon, Water, and Land Footprints

https://unu.edu/inweh/collection/environmental-cost-of-AIs-Enrgy-Use-Carbon-water-and-land-footpr...
2•_____k•13m ago•0 comments

Never Retire

https://www.economist.com/business/2024/01/25/why-you-should-never-retire
2•andsoitis•16m ago•1 comments

A Spatiotemporal Hardening Framework and Evaluation Method for Soft Error

https://www.mdpi.com/2079-9292/15/9/1889
1•PaulHoule•16m ago•0 comments

Two New Studies Ask: Did the iPhone Cause Birthrates to Decline?

https://www.nytimes.com/2026/06/08/us/iphone-birthrate-decline-studies.html
2•reaperducer•16m ago•0 comments

How to Retire at 30

https://www.economist.com/podcasts/2026/06/06/how-to-retire-at-30
2•andsoitis•16m ago•0 comments

Show HN: I made an ad-free game collection for my grandparents

https://stiuvou.ch/grandpagames/
1•nahakiole•18m ago•0 comments

Visidata: A terminal spreadsheet multitool for discovering and arranging data

https://github.com/saulpw/visidata
1•tosh•19m ago•0 comments

UK PM tells Apple and Google to ban nude images on children's phones

https://www.bbc.co.uk/news/articles/cly752ydjw6o
3•xenocratus•19m ago•1 comments

xcesp: Developing for ESP32 Devices with Xcode

https://kohlschuetter.github.io/blog/posts/2026/06/08/xcode-esp/
1•kohlschuetter•20m ago•0 comments

How to Get Out of a Funk

https://sublimeinternet.substack.com/p/how-to-use-sublime-to-get-out-of
1•surprisetalk•20m ago•0 comments

Show HN: RepoSignal scores GitHub repos for adoption risk. No AI, no servers

https://github.com/udit-rawat/RepoSignal
1•udit-r•22m ago•0 comments

The purist's model of spaced repetition

https://www.natemeyvis.com/the-purists-model-of-spaced-repetition/
2•ingve•22m ago•0 comments

Anti-social: It's fads, not friends, which now dominate social media feeds

https://www.bbc.com/worklife/article/20260520-how-social-media-ceased-to-be-social
4•1vuio0pswjnm7•23m ago•0 comments

Skills Are Rotting Inventory

https://blog.danielvaughan.com/skills-are-inventory-0ad323081324
1•dvaughan•26m ago•0 comments

XWiki and OpenProject as an open-source alternative to Confluence and Jira

https://xwiki.com/en/webinars/Open-Project-XWiki-June-2026
2•lorinab•27m ago•3 comments

SpaceX ($SPCX): AI, Chips, Sats, Launches and Orbital Compute Under One Roof

https://twitter.com/StockAnalystPro/status/2063675760725160211
1•bilsbie•27m ago•0 comments

Caddy Defender Plugin: return garbage responses for AI crawlers

https://github.com/jasonlovesdoggo/caddy-defender
2•hamburgererror•29m ago•1 comments

Japanese city shuts down nearly 100 schools after unprecedented bear sighting

https://www.theguardian.com/world/2026/jun/08/utsunomiya-city-japan-bear-sighting-all-primary-sec...
2•bookofjoe•29m ago•0 comments

Majority of US's new AI datacenters to be built on drought-hit land

https://www.aol.com/news/majority-us-ai-datacenters-built-110023869.html
2•1vuio0pswjnm7•29m ago•0 comments

Apple's Meeting That Led It to Take AI Seriously

https://www.bloomberg.com/news/newsletters/2026-06-07/wwdc-2026-apple-s-secret-meeting-that-led-i...
1•shortlived•29m ago•1 comments

Cholesky Decomposition

https://en.wikipedia.org/wiki/Cholesky_decomposition
3•tosh•30m ago•0 comments

The Next Big Leap

https://arkvis.com/blog/2026-06-05_the-next-big-leap.html
1•phyzix5761•31m ago•0 comments