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

I Learned to Stop Worrying and Love the Mask

https://dispatchesfromtheautismwars.substack.com/p/how-i-learned-to-stop-worrying-and
2•barry-cotter•1m ago•0 comments

Show HN: Vice Signalling – A narrative game about infiltrating a secret society

https://store.steampowered.com/app/4836310/Vice_Signalling/
1•pmwkaa•1m ago•0 comments

Ships stranded in Gulf could pose global invasive-species threat, study says

https://www.cbc.ca/lite/story/9.7293025
1•colinprince•2m ago•0 comments

Everyone is so annoying about AI

https://cailinpitt.com/blog/2026/8/01/everyone-is-so-annoying-about-ai
1•classictraffic•2m ago•0 comments

Show HN: Atomadic – Zero-LLM Sub-200us MCP Action Interlock

https://atomadic.tech/
1•Atomadic•5m ago•0 comments

The Coldcard Disaster Gets Worse: The Hack May Have Reached $88.6M

https://medium.com/mountain-movers/the-coldcard-disaster-gets-worse-the-hack-may-have-reached-88-...
1•paulpauper•10m ago•0 comments

Show HN: I added a client-side SQL sanitizer so schema never touches our servers

https://www.querytuner.com/
1•autoshiftops•10m ago•0 comments

Create Embedded Software with Swift

https://www.swift.org/get-started/embedded/
1•frizlab•12m ago•0 comments

Galaxy Research Coldcard hack update: 1,158.81 BTC stolen from 2,673 addresses

https://twitter.com/glxyresearch/status/2083560979128820105
3•paulpauper•13m ago•0 comments

Let Sand Think

https://magzimof.com/let-the-sand-think/
1•shaimagz•13m ago•0 comments

Show HN: MCP Emails – An MCP Server for Gmail and IMAP/SMTP Inboxes

https://github.com/Albretsen/MCPEmails/tree/main/self-host
2•asgeiralbretsen•14m ago•0 comments

Peter Principle

https://en.wikipedia.org/wiki/Peter_principle
2•num42•14m ago•0 comments

Is it time to stop using glue and labels on paper?

https://www.bbc.co.uk/news/articles/c872nj1n4xyo
2•edward•14m ago•0 comments

AI learns language from skewed sources. It could change how humans speak/think

https://www.theguardian.com/commentisfree/2026/apr/14/ai-language-human-speech
1•fzeindl•15m ago•0 comments

Show HN: LLM Tools that I made that I cant live without

1•dleech•16m ago•0 comments

Don't grab any seat on a rocket ship

https://hunterwalk.com/2026/08/02/why-grab-any-seat-on-the-rocketship-is-a-bad-career-strategy-th...
1•andsoitis•17m ago•0 comments

The Debate of Mockist vs. Classicist TDD Is Like OOP vs. FP

https://fagnerbrack.com/the-debate-of-mockist-classicist-tdd-is-like-oop-fp-c9124185f3d2
1•theanonymousone•19m ago•0 comments

Why Gen Z is nostalgic for a world it never knew

https://bigthink.com/mind-behavior/why-gen-z-is-nostalgic-for-a-world-it-never-knew/
5•LordAtlas•23m ago•0 comments

Show HN: NixOS-DGX-Spark – Nix and NixOS on the DGX Spark

https://github.com/graham33/nixos-dgx-spark
7•graham33•24m ago•2 comments

Yahoo Finance rate-limits you harder if you spoof a browser User-Agent

https://github.com/AdityaSBisht/finance-mcp
2•adityabisht2700•26m ago•0 comments

Feedback wanted: Reflex – A low-cost retrieval API for recurring documents

https://aivax.net/blog/reflex-retrieval-built-for-recurring-documents/
1•cypherpotato•26m ago•0 comments

Poles of Inaccessibility in the San Gabriel Mountains

https://notes.secretsauce.net/notes/2015/05/06_poles-of-inaccessibility-in-the-san-gabriel-mounta...
1•dima55•27m ago•0 comments

How fast is C++26's std:hive?

https://lemire.me/blog/2026/08/02/how-fast-is-c26s-stdhive/
2•usdogu•27m ago•0 comments

Pushes to arch AUR are suspendended right now.

https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/message/YPJ3FQYJTJXXY3R...
8•EbNar•27m ago•0 comments

Best Office Chairs of 2026– We Tested 70 to Pick Them

https://www.wired.com/gallery/best-office-chairs-button-1/
1•joozio•28m ago•0 comments

Prevent cognitive debt by manually retyping LLM-generated code

https://ankursethi.com/blog/prevent-cognitive-debt-by-manually-retyping-llm-generated-code/
2•philipportner•29m ago•0 comments

Epipe on write might mean you're doing it wrong

https://rachelbythebay.com/w/2026/07/09/pipe/
1•mpweiher•30m ago•0 comments

Understanding VC signals part I

https://www.admnt.com/blog/understanding-vc-signals-part-1
2•kekqqq•31m ago•0 comments

GNU Hurd News 2026-Q2

https://www.gnu.org/software/hurd/news/2026-q2.html
3•plaguna•32m ago•0 comments

The Secret Thrill of Paying to Open Someone Else's Unwanted Package

https://www.bloomberg.com/news/features/2026-07-31/why-amsterdam-s-mystery-parcel-shops-are-sprea...
3•p1anecrazy•32m ago•1 comments