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

HiFi/Stereo Review-Stereo Review – Audiophile Magazine from 1958 to 1999

https://www.worldradiohistory.com/Archive-All-Audio/HiFI-Stereo-Review.htm
1•PopAlongKid•3m ago•0 comments

Show HN: Phileas – Local-first long-term memory for the AI you chat with

https://github.com/alexajuno/phileas
1•alexajuno•4m ago•0 comments

Jets were 300 feet apart in Boston close call that forced Delta flight to abort

https://www.pbs.org/newshour/nation/jets-were-300-feet-apart-in-boston-close-call-that-forced-del...
1•abixb•5m ago•0 comments

New Super Pac Aims to Rally Tech Workers to Help Limit A.I

https://www.nytimes.com/2026/06/18/technology/ai-super-pac-guardrails-alliance.html
2•reasonableklout•6m ago•0 comments

Napoleon Was a Guitarist

https://www.yamaha.com/en/musical_instrument_guide/classical_guitar/trivia/
2•thunderbong•16m ago•0 comments

Bean – a portable convergence gate for agent work

https://github.com/grainulation/bean/
3•woptober•22m ago•0 comments

Spas Were a Mistake (2022)

https://gomakethings.com/articles/spas-were-a-mistake/
1•kristianp•22m ago•0 comments

FoodFavs

https://foodfavs-euq7bgdf.manus.space/
1•pteridactlecdt•24m ago•0 comments

Show HN: TaxLens – free lodging-tax API for hotels, OTAs, and property managers

https://taxlens.getdynamiq.ai
1•vitalii-duk•25m ago•0 comments

A dead simple personal website engine for developers focused on simplicity

https://github.com/iam-mhaseeb/koji
2•iamhaseeb•27m ago•0 comments

Nix-build in under 100 lines

https://fzakaria.com/2026/06/21/nix-build-in-under-100-lines
2•undeveloper•28m ago•0 comments

AStarGrid2D in Godot 4: The Complete Reference

https://vav-labs.com/blog/astargrid2d-complete-reference/
2•Vav-Labs•29m ago•0 comments

Show HN: ANMA, boundary contracts for cheaper AI coding agents

https://github.com/anma-labs/anma
1•nxy•30m ago•0 comments

Show HN: AI Colours

https://github.com/pilotpirxie/ai-colours
1•__natty__•30m ago•0 comments

Ask HN: What would justify writting an OS kernel in 2026?

3•alonsovm44•32m ago•2 comments

Show HN: PeekAI – Local-first observability for Python AI agents

https://github.com/oussamaKH63/peekai
1•ousskh63•33m ago•0 comments

Petition against Meta's employee training data collection for ML models

https://mcipetition.com/
2•reasonableklout•37m ago•0 comments

Show HN: Lupen – an itemized, verified receipt for Claude Code and Codex spend

https://github.com/momoraul/Lupen
1•momoraul•39m ago•0 comments

Riddle solved: Why was Roman concrete so durable? (2023)

https://news.mit.edu/2023/roman-concrete-durability-lime-casts-0106
1•Jakob•41m ago•0 comments

Tech Workers Are Fighting Against Silicon Valley's AI Push

https://www.techpolicy.press/tech-workers-are-fighting-against-silicon-valleys-ai-push/
4•reasonableklout•41m ago•0 comments

Falcon GX the most powerful brand engineering tool

https://falcon.so/
1•cts-i-cts-d•43m ago•0 comments

China's Z.ai open-sourced a frontier coding model as Washington bans it rival

https://startupfortune.com/chinas-zai-open-sourced-a-frontier-coding-model-the-same-day-washingto...
3•insanetech•43m ago•1 comments

Machine Studying

https://jacobxli.com/blog/2026/machine-studying/
1•meander_water•45m ago•0 comments

PivCo-Huffman "Merge" Operations

https://fgiesen.wordpress.com/2026/06/21/pivco-huffman-merge-operations/
1•luu•46m ago•0 comments

Against the Survival of the Prettiest

https://worksinprogress.co/issue/against-the-survival-of-the-prettiest/
1•Jimmc414•47m ago•0 comments

The Parent Uprising Against Screen Time at School

https://www.wsj.com/us-news/education/school-technology-screens-parents-9fc7384b
1•JumpCrisscross•47m ago•0 comments

Lithp.py (~2008)

https://fogus.me/fun/lithp/
2•wglb•48m ago•0 comments

Keystone – deterministic execution vault with replay‑verifiable proof

https://github.com/cryptictyrant519/keystone-proof
1•DevTyrant519•49m ago•0 comments

TimeFlies – convert flight info to calendar

https://ozgur.ca/projects/time-flies
1•sedatk•49m ago•0 comments

AI is making answers cheap. Curiosity is priceless

https://www.fastcompany.com/91556703/ai-is-making-answers-cheap-curiosity-is-priceless
1•ohjeez•50m ago•0 comments