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: CodeRadius, map and govern multi repo architectures

https://coderadius.ai
1•emnlmn•2m ago•0 comments

Show HN: Control YOLO Training and Datasets from Claude/Cursor via MCP

https://github.com/amanharshx/ultralytics-mcp
1•amanharshx•2m ago•0 comments

Companies Reserving AI-Training Rights in Their Terms

https://tostracker.app/analysis/ai-training-rights
1•tldrthelaw•2m ago•0 comments

Recovering a failing disk using a Raspberry Pi and a bit of AI

https://aes.id.au/blog/2026/07/08/recovering-a-failing-disk-using-a-raspberry-pi-and-a-bit-of-ai/
1•andrewescott•2m ago•0 comments

Real limits converted to API-equivalent $ value for Claude Code, Codex, Copilot

https://twitter.com/ivanborshchov/status/2074823674205458756
1•deviscool•4m ago•0 comments

A factory was severely short on workers. Then it offered flexible work

https://text.npr.org/nx-s1-5876084
1•dxs•5m ago•0 comments

The LLM shoggoth meme is weirder than you think

https://www.lesswrong.com/posts/nhb8AyEcQGjQetgi5/the-llm-shoggoth-meme-is-weirder-than-you-think
1•surprisetalk•6m ago•0 comments

Let AI Burn

https://www.wheresyoured.at/let-ai-burn/
1•genericlemon24•6m ago•0 comments

What if you could stop your AI agent before it makes a mistake?

https://arxiv.org/abs/2605.06890
1•ashater•9m ago•1 comments

An index site of agent harnesses

https://www.harnesses.sh/
1•hestefisk•10m ago•1 comments

Germans Don't Love Budweiser. It Won't Take No for an Answer

https://www.nytimes.com/2026/07/08/world/europe/germany-budweiser-beer.html
1•rustoo•12m ago•0 comments

Show HN: 1-Click Migration Solution

https://www.flareover.com
1•fab_space•12m ago•0 comments

Semantics diagram for large PRs for easier review of AI code

https://subweave.com/
1•aramalipoor•14m ago•1 comments

China warns of 'security backdoor' in Anthropic AI coding tool

https://www.channelnewsasia.com/east-asia/china-anthropic-claude-code-ai-backdoor-security-alert-...
2•bookofjoe•17m ago•0 comments

Superconducting thruster harnesses Earth's magnetic field in first orbital test

https://www.space.com/technology/acceleration-without-fuel-revolutionary-superconducting-thruster...
2•vessenes•17m ago•0 comments

Show HN: IAXT – macOS menu-bar app that records what AI coding agents do

https://iaxt.com/
1•laurencoral•22m ago•1 comments

Optimization Solver as a Service

https://www.quicopt.com/developer/getting-started/
1•paddi91•22m ago•1 comments

The MCP Governance Illusion

https://www.cyera.com/blog/the-mcp-governance-illusion-why-governing-tools-is-not-enough
9•ehudhala•23m ago•0 comments

Why Triso Matters

https://www.amazon.science/blog/the-fuel-of-the-future-is-already-here-why-triso-matters
2•visha1v•23m ago•0 comments

DOGE Ended on July 4, but the Workers Whose Lives Musk Upended Are Still Reeling

https://www.motherjones.com/politics/2026/07/trump-doge-elon-musk-fired-federal-workers-civil-ser...
3•cdrnsf•23m ago•0 comments

Trump Says He'll Fast-Track Private Gas Plants to Power AI Data Centers

https://www.motherjones.com/politics/2026/07/donald-trump-epa-lee-zeldin-fast-track-private-gas-f...
3•cdrnsf•24m ago•0 comments

Show HN: I can solve any medical question now

https://pathmap.org/
3•pathmap•24m ago•0 comments

Mechanized type inference for record concatenation as in Nix

https://haskellforall.com/2026/07/mechanized-type-inference-for-record-concatenation
1•fanf2•24m ago•0 comments

Show HN: ICMP P2P Using ICMP Destination Unreachable for Nat Traversal

https://github.com/hajoon22/icmp-p2p
1•hajoon22•25m ago•0 comments

Parsing command-line options with Rust – it's all Libc

https://lemmy.ml/post/49745317
3•yulkor•26m ago•0 comments

ScreenNote – snip your screen into an AI-readable note bundle

https://apps.microsoft.com/detail/9nzxkcv9w5n8?hl=en-US&gl=US
1•MAZMS•26m ago•0 comments

Agentic test processes, LLM benchmarks, and other notes on agentic coding

https://danluu.com/ai-coding/
1•ndr•28m ago•0 comments

What's the Future of Clay?

https://outside-in.me/clay
1•ahmed-sharkasy•30m ago•0 comments

Prompt Engineering, Context Engineering, Loop Engineering: What Changed

https://reporails.com/articles/prompt-engineering-context-engineering-loop-engineering-what-actua...
1•cleverhoods•30m ago•0 comments

Lamb kebabs made of goat compared to horsemeat in lasagne scandal

https://www.bbc.com/news/articles/ce95y1zlzyxo
1•dp-hackernews•32m ago•0 comments