frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

What Is the Next Moat?

https://substack.com/profile/73011963-ming/note/c-248876715
1•dooku0721•1m ago•0 comments

South Africa's Draft Capital Flow Management Regulations, 2026

https://bitcoinke.io/2026/04/the-south-africa-capital-flow-management-draft-regulations-2026/
1•DavGit•2m ago•0 comments

•3m ago

Different AI Models All in One Platform

https://www.chatcomparison.ai/
1•chatcomparison•5m ago•0 comments

Rust Memory Management: Ownership vs. Reference Counting

https://slicker.me/rust/ownership_and_borrowing_vs_reference_counting.html
1•vinhnx•11m ago•0 comments

Caching Expensive Functions in Rust

https://kocharhook.com/post/5/caching-expensive-functions-in-rust/
2•vinhnx•11m ago•0 comments

What Happens When You Build an Inode-Style Vector in Rust

https://sot.dev/inode-style-vector-in-rust.html
2•vinhnx•12m ago•0 comments

FlipHTML5 Pdf Downloader

https://fliphtml5.aivaded.com
1•godsbee•18m ago•0 comments

APL – A Glimpse of Heaven

https://web.archive.org/web/20250316112937/https://archive.vector.org.uk/art10011550
1•tosh•18m ago•0 comments

Show HN: Kaniop – Kubernetes Operator for Kanidm

https://github.com/pando85/kaniop
2•pando85•20m ago•1 comments

Carnival of the Wicked

https://cinemasojourns.com/2026/04/24/carnival-of-the-wicked/
1•jjgreen•22m ago•0 comments

Well, this is embarrassing: The Lunar Gateway's primary modules are corroded

https://arstechnica.com/space/2026/04/well-this-is-embarrassing-the-lunar-gateways-primary-module...
2•taubek•23m ago•0 comments

NodeLLM: RubyLLM in JavaScript

https://github.com/node-llm/node-llm
1•earcar•26m ago•0 comments

Show HN: My self-custodial trading platform

https://www.aulico.com
1•kiosktryer•28m ago•0 comments

Show HN: GitHub Directory for Public APIs

https://github.com/public-apis/public-apis/blob/master/README.md
1•wasimsk•29m ago•1 comments

Zhenguan Zhengyao

http://www.chinaknowledge.de/Literature/Historiography/zhenguanzhengyao.html
1•teleforce•32m ago•0 comments

Apple to Launch 'MacBook Ultra' with These Six New Features

https://www.macrumors.com/2026/04/24/macbook-ultra-up-to-six-new-features/
2•cjaackie•32m ago•0 comments

Ask HN: What's Your Biggest Fear?

2•wasimsk•38m ago•1 comments

Show HN: A Karpathy-style LLM wiki your agents maintain (Markdown and Git)

https://github.com/nex-crm/wuphf
29•najmuzzaman•38m ago•8 comments

Quantization for Neural Networks

https://leimao.github.io/article/Neural-Networks-Quantization/
2•eigenBasis•40m ago•0 comments

My New York Misadventure (1932)

https://winstonchurchill.org/publications/finest-hour/finest-hour-136/my-new-york-misadventure/
1•downbad_•44m ago•1 comments

Aspirin can reduce the risk of cancer – and we're starting to understand why

https://www.bbc.com/future/article/20260420-cancer-how-aspirin-may-be-a-powerful-new-weapon-again...
2•selvan•47m ago•0 comments

Show HN: LLMs consume 5.4x less mobile energy than ad-supported web search

https://dupr.at/thermodynamic-efficiency-inversion
2•duprat•47m ago•0 comments

Soundtrack of the sea: divers use underwater speakers to help dying coral reefs

https://www.theguardian.com/environment/2026/apr/24/coral-reefs-jamaica
1•Almured•50m ago•1 comments

The Word for World: The Maps of Ursula K Le Guin

https://www.aaschool.ac.uk/public/exhibitions/the-word-for-world
1•zeristor•52m ago•1 comments

The QEII garden – built from its own ruins – opens in Regent's Park

https://www.ianvisits.co.uk/articles/a-garden-built-from-its-own-ruins-opens-in-regents-park-89152/
1•zeristor•53m ago•1 comments

Zerodha

1•-R-•54m ago•0 comments

Hii

10•-R-•55m ago•5 comments

Brilliant Maps: Which Countries Censor the Internet the Most?

https://brilliantmaps.com/which-countries-censor-the-internet-the-most/
2•nephihaha•56m ago•1 comments

DoctorSV: El Salvador's health data in Google's hands

https://www.heise.de/en/news/DoctorSV-El-Salvador-s-health-data-in-Google-s-hands-11264996.html
1•catlikesshrimp•58m ago•1 comments