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

Reth ExEx spawn_critical_task terminates node on any plugin panic

https://github.com/paradigmxyz/reth/security/advisories/GHSA-whc8-8pf6-5ch6
1•eouzoe•46s ago•0 comments

Ask HN: If runnikg a government is a skill

1•julienreszka•4m ago•0 comments

Claude Code Cut Their System Prompt by 80%. Does That Work for Small Models Too?

https://antigma.ai/blog/2026/07/25/short-prompt-small-models
1•ubermon•7m ago•0 comments

Janet Lustgarten: An Oral History of the Founding of Kx Systems

https://medium.com/@Abby.Gruen/janet-lustgarten-an-oral-history-founding-kx-systems-c11d2ccfed24
1•tosh•8m ago•0 comments

French beekeepers' fury at lifting of pesticides ban

https://www.theguardian.com/world/2026/jul/26/french-beekeepers-fury-lifting-of-pesticides-ban
3•geox•18m ago•0 comments

Chat, we've made a terrible mistake

https://sgnt.ai/p/terrible-mistake/
2•petesergeant•19m ago•2 comments

Supervised Fire-and-Forget in Go

https://rednafi.com/go/supervised-fire-and-forget/
2•olexsmir•25m ago•0 comments

Teachers decry plan for humanoid robot in New York high school

https://www.theguardian.com/us-news/2026/jul/25/new-york-humanoid-robot-teachers-school
2•thomascountz•29m ago•0 comments

Let Local LLMs Search the Web Without Burning 100k+ Tokens

https://medium.com/@marcbuilds/tinysearch-let-your-small-local-llm-search-the-web-without-burning...
2•MarcBuilds01•31m ago•0 comments

If another civilisation lived on Earth before us, would we know?

https://www.rnz.co.nz/news/world/801858/if-another-civilisation-lived-on-earth-before-us-would-we...
5•billybuckwheat•37m ago•1 comments

Show HN: OpenSlides – Open-source desktop app for animated code presentations

https://github.com/codewiththiha/OpenSlides
7•codewiththiha•39m ago•0 comments

An agent with write access to my files, and no way to send them anywhere

https://manazir.dev/work/mnzrbrain-secondbrain-part-two
2•mnzrdev•41m ago•0 comments

Tokenflation: When "Hi" triggers 33 tool calls

https://quesma.com/blog/tokenflation-when-hi-triggers-33-tool-calls/
3•jakozaur•46m ago•0 comments

MinHash – How to Find Similarity at Scale

https://spotintelligence.com/2023/01/02/minhash/
2•ankitg12•48m ago•1 comments

Source Code Grep: Use your own grep, but make it source code aware

https://github.com/m-manu/scgrep
1•m-manu•48m ago•1 comments

Show HN: ScreenFocus – keyboard focus follows the pointer across Mac displays

https://github.com/therohitdas/ScreenFocus
1•therohitdas•53m ago•0 comments

Choose Boring Technology

https://boringtechnology.club/
1•ustad•54m ago•0 comments

Show HN: VoiceScroll – a teleprompter that scrolls as you speak

https://www.voice-scroll.com
1•sangkwun•57m ago•0 comments

Best Window Air Conditioners of 2026: Midea, Zafro, GE

https://www.wired.com/gallery/best-window-air-conditioners/
2•joozio•59m ago•0 comments

Connection-Agnostic Presence Tracking for Stateless Distributed Back Ends

1•duckydude20•59m ago•0 comments

Show HN: Inflect TTS v2+ONNX, 9M/4M text-to-speech models running in the browser

https://inflect-tts.geronimo-labs.com
3•g58892881•1h ago•2 comments

Skateboarding Forum on Wood Quality

https://www.slapmagazine.com/index.php?topic=120409.0
2•marysminefnuf•1h ago•0 comments

Ask HN: Is Your Work Relaxing?

2•julienreszka•1h ago•0 comments

Sequentialising Parallel Moves

https://compiler.club/parallel-moves/
1•g0xA52A2A•1h ago•0 comments

Show HN: Mousecrack – Bypass agent mouse detection with deep learning

https://github.com/puffinsoft/mousecrack
2•G3819•1h ago•0 comments

Show HN: Pg_stat_ch, a Postgres extension to export every metric to ClickHouse

https://github.com/ClickHouse/pg_stat_ch
2•saisrirampur•1h ago•0 comments

WezTerm Config Guide

https://gilbertsanchez.com/posts/my-terminal-wezterm/
1•ankitg12•1h ago•0 comments

Stack Overflow for Agents

https://stackoverflow.blog/2026/06/10/announcing-stack-overflow-for-agents/
2•taubek•1h ago•0 comments

Show HN: LaunchRanks – Get actionable SEO steps for growing site authority

https://launchranks.com
1•NataliNy•1h ago•0 comments

Show HN: Record a click-through demo from a Markdown plan into one HTML file

https://github.com/justrinari/handoff
3•justrinari•1h ago•0 comments