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

US to Withdraw Troops from Germany

https://www.dw.com/en/us-to-withdraw-thousands-of-troops-from-germany/a-77016071
1•pera•2m ago•0 comments

Dazzle Camouflage

https://en.wikipedia.org/wiki/Dazzle_camouflage
1•tosh•2m ago•0 comments

AMD Posts HDMI 2.1 FRL Patches for Their Amdgpu Linux Driver

https://www.phoronix.com/news/AMDGPU-HDMI-2.1-FRL-Patches
1•type0•4m ago•0 comments

Andrej Karpathy: From Vibe Coding to Agentic Engineering

https://www.youtube.com/watch?v=96jN2OCOfLs
1•swolpers•7m ago•0 comments

Study: AI models that consider user's feeling are more likely to make errors

https://arstechnica.com/ai/2026/05/study-ai-models-that-consider-users-feeling-are-more-likely-to...
1•rbanffy•13m ago•0 comments

Show HN: I built Male Hormone Lab Interpreter that does what LLMs can't

https://www.longevity-tools.com/male-hormones-interpreter
2•zsolt224•14m ago•0 comments

Spirit Airlines Is Winding Down All Operations

https://spiritrestructuring.com/
1•KoftaBob•15m ago•0 comments

Show HN: Shutt – Turn Strava activities into shareable photo/video posts

https://shutt.run
1•zzarcon•16m ago•0 comments

Who's the First Person in History Whose Name We Know? (2015)

https://www.nationalgeographic.com/science/article/whos-the-first-person-in-history-whose-name-we...
1•downbad_•16m ago•1 comments

Show HN: Browser-based light pollution simulator using real photometric data

https://iesna.eu/?wasm=skyglow_demo
4•holg•18m ago•0 comments

Show HN: PythonStarter – now with Bitcoin Lightning payments

https://pythonstarter.co/
1•dan_easterman•21m ago•0 comments

Intel Inside the Micro Revolution: 8008 Origins

https://thechipletter.substack.com/p/intel-inside-the-micro-revolution
1•klelatti•22m ago•0 comments

Show HN: Filling PDF forms with AI using client-side tool calling

https://copilot.simplepdf.com/?share=a7d00ad073c75a75d493228e6ff7b11eb3f2d945b6175913e87898ec96ca...
2•nip•32m ago•1 comments

Brace for the patch tsunami: AI is unearthing decades of buried code debt

https://www.theregister.com/2026/05/02/ncsc_brace_for_patch_tsunami/
3•zeristor•32m ago•0 comments

Show HN: From Beats to Notes and Beyond

https://bookerapp.replit.app/book/fom/from-temporal-structure
1•ersinesen•36m ago•0 comments

Ask HN: Is it possible to upgrade the RAM of a MacBook Air M2?

1•julienreszka•36m ago•0 comments

CPanel CVE-2026-41940 Exploitation from a Honeypot Perspective

https://defusedcyber.com/cve-2026-41940-cpanel-exploitation-honeypot-perspective
1•waihtis•40m ago•0 comments

Ask HN: Is the AI running out of capacity?

1•roschdal•42m ago•0 comments

Show HN: Large Scale Article Extract of Newspapers 1730s-1960s

https://snewpapers.com/
2•brettnbutter•44m ago•1 comments

ScopeGuard 0.0.7: Your Go-to linter for scope and shadow issues, now with MCP

https://old.reddit.com/r/golang/comments/1t0nw27/scopeguard_007_your_goto_linter_for_scope_and/
2•eik•45m ago•0 comments

AI coding tools are silently disagreeing with each other

https://github.com/sampleXbro/agentsmesh
2•samplexBro•45m ago•0 comments

Dabbling in Erlang, part 2: A minimal introduction (2013)

https://agis.io/post/dabbling-in-erlang-a-minimal-introduction/
1•pasxizeis•49m ago•0 comments

Claude Code: Creating Kubernetes Debugging AI Agent for VictoriaMetrics

https://rtfm.co.ua/en/claude-code-creating-kubernetes-debugging-ai-agent-for-victoriametrics/
1•valyala•51m ago•0 comments

The Three Durable Function Forms

https://jack-vanlightly.com/blog/2025/12/10/the-three-durable-function-forms
1•birdculture•58m ago•0 comments

Why are there both TMP and TEMP environment variables, and which one is right?

https://devblogs.microsoft.com/oldnewthing/20150417-00/?p=44213
1•ankitg12•1h ago•0 comments

Shadcn/UI: A set of beautifully designed components that you can customize

https://github.com/shadcn-ui/ui
3•doener•1h ago•0 comments

Hanami, Dry and ROM are joining as Hanakai

https://hanakai.org/blog/2026/05/01/welcome-to-hanakai
1•makenosound•1h ago•0 comments

Lucide: Open-source icon library with 1600 vector (SVG) files for icons

https://github.com/lucide-icons/lucide
2•doener•1h ago•0 comments

A collection of Tailwind CSS v4.0 utilities for creating beautiful animations

https://github.com/Wombosvideo/tw-animate-css
2•doener•1h ago•0 comments

There is no Shopify for service businesses. Prove me wrong

https://www.indiehackers.com/post/there-is-no-shopify-for-service-businesses-i-keep-waiting-for-s...
1•stangineer•1h ago•0 comments