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 Government releases UFO sighting reports – 'Orbs swarming in all directions'

https://www.bbc.com/news/articles/cn8pzzlyy66o
1•nsoonhui•42s ago•0 comments

There's Never Been a Better Time to Study Computer Science

https://www.theatlantic.com/technology/2026/05/computer-science-major-coding-ai/687279/
1•chrisaycock•2m ago•0 comments

Building a claw-like agent to run in the browser

https://aifoc.us/building-a-claw-in-the-browser/
1•kinlan•3m ago•0 comments

China: Mine death toll rises to 90 after gas blast

https://www.theguardian.com/world/2026/may/23/china-mine-explosion-shanxi-deaths-xi-jinping
2•tosh•10m ago•0 comments

Trump admin to force foreigners in the U.S. to apply for a green card abroad

https://www.npr.org/2026/05/23/nx-s1-5832399/trump-administration-green-card-abroad
1•thinkcontext•12m ago•2 comments

Matrix Multiplications on GPUs Run Faster When Given "Predictable" Data

https://www.thonking.ai/p/strangely-matrix-multiplications
1•tosh•12m ago•0 comments

80386 Microcode Disassembled

https://www.reenigne.org/blog/80386-microcode-disassembled/
8•nand2mario•12m ago•0 comments

macOS-MCP

https://github.com/CursorTouch/MacOS-MCP
2•jeomon•13m ago•1 comments

Judson's Last Ride

https://www.realclearpolitics.com/articles/2026/05/22/judsons_last_ride_154150.html
1•NaOH•15m ago•0 comments

Building Self-Extending CLI Tools with Strands Agent

https://aws.amazon.com/blogs/devops/building-self-extending-cli-tools-with-aws-strands/
1•kiyanwang•21m ago•0 comments

Europe physicists plan to build 91-kilometer particle collider

https://www.science.org/content/article/it-s-official-europe-physicists-plan-build-91-kilometer-p...
2•layer8•21m ago•0 comments

Sundar Pichai Understands Why People Are Anxious About A.I

https://www.nytimes.com/2026/05/22/podcasts/sundar-pichai-understands-why-people-are-anxious-abou...
1•thm•23m ago•1 comments

Nvidia: Nemotron Labs Diffusion 14B

https://huggingface.co/nvidia/Nemotron-Labs-Diffusion-14B
2•GaggiX•24m ago•0 comments

Horizontal vs. vertical context switching for engineering managers

https://blog.incrementalforgetting.tech/p/not-all-interruptions-are-created
1•kiyanwang•26m ago•0 comments

How Helping your rivals makes you harder to beat

https://bigthink.com/the-long-game/how-helping-your-rivals-makes-you-harder-to-beat/
1•RickJWagner•26m ago•0 comments

The Vault – Local memory layer and dashboard for MCP coding agents

https://github.com/aliihsaad/the-vault
1•aliihsaad•29m ago•0 comments

Electrobun 2.0 will be decoupled from Bun due to the rust rewrite

https://twitter.com/i/status/2058064720553222567
3•bundie•29m ago•0 comments

Engineering Metrics for Beginners

https://blog.jgefroh.com/p/engineering-metrics-for-beginners
1•kiyanwang•31m ago•0 comments

Trump Admin Investigating US Taxpayer-Funded Biolabs in over 30 Countries

https://www.newsweek.com/trump-admin-investigating-us-taxpayer-funded-biolabs-in-over-30-countrie...
2•rguiscard•33m ago•0 comments

Making Deep Learning Go Brrrr from First Principles

https://horace.io/brrr_intro.html
8•tosh•34m ago•1 comments

Model is currently experiencing high demand

https://mayberay.bearblog.dev/this-model-is-currently-experiencing-high-demand/
1•mugamuga•41m ago•0 comments

New kind of dark tourism emerging in online 'Backrooms,' study shows

https://phys.org/news/2026-05-kind-dark-tourism-emerging-online.html
1•rbanffy•41m ago•0 comments

Laravel Lang Compromised with RCE Backdoor Across 700 Versions

https://socket.dev/blog/laravel-lang-compromise
3•csmantle•49m ago•1 comments

Superior Orders

https://en.wikipedia.org/wiki/Superior_orders
2•chistev•49m ago•0 comments

Toward better handling of major page faults

https://lwn.net/SubscriberLink/1073071/4174eb93ff7ea356/
1•chmaynard•50m ago•0 comments

Four Russian satellites are now within striking distance of an ICEYE radarsat

https://arstechnica.com/space/2026/05/a-satellite-company-supporting-ukraine-appears-to-be-in-rus...
2•lostmsu•52m ago•0 comments

News about Raspberry Pi 6 and Microcontroller Development

https://www.jeffgeerling.com/blog/2026/news-about-raspberry-pi-6-and-microcontroller-development/
2•nfriedly•55m ago•0 comments

Europe Shifts Strategy as CHIPS Act 2.0 Targets Technological "Indispensability"

https://altairmedia.eu/europe-shifts-strategy-as-chips-act-2-0-targets-technological-indispensabi...
1•rbanffy•56m ago•0 comments

OpenCode is using CPU for doing nothing

https://github.com/anomalyco/opencode/issues/19466
2•wg0•1h ago•0 comments

Bruce Balfour's favorite science fiction novels about Mars colonization

https://bookdna.com/best-books/science-fiction-about-mars-colonization
3•bwb•1h ago•1 comments