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

The Lone Lisp Heap

https://www.matheusmoreira.com/articles/lone-lisp-heap
1•matheusmoreira•2m ago•0 comments

Australia launches $2B lawsuit over PFAS 'forever chemicals'

https://www.rnz.co.nz/news/world/596604/australia-launches-massive-2b-lawsuit-over-pfas-forever-c...
1•colinprince•5m ago•0 comments

A Eureka machine that thinks like nature and explores what AI cannot

https://iisc.ac.in/a-eureka-machine-that-thinks-like-nature-and-explores-what-ai-cannot/
1•kunalsin9h•5m ago•0 comments

Japan, South Korea and Taiwan are suffering industrial rot

https://www.economist.com/finance-and-economics/2026/05/27/japan-south-korea-and-taiwan-are-suffe...
1•jnord•7m ago•1 comments

Predicting the 2026 World Cup: Can Anyone Stop Spain?

https://dtai.cs.kuleuven.be/sports/blog/predicting-the-2026-world-cup:-can-anyone-stop-spain/
1•fvankers•15m ago•0 comments

Musk's cut to USAID have made the Ebola outbreak worse

https://www.dw.com/en/ebola-central-africa-us-aid-cuts-uganda-drc-who-vaccines/a-77233437
5•camillomiller•15m ago•0 comments

Can Intel Save America?

https://www.thefp.com/p/can-intel-save-america
1•jazzdev•17m ago•0 comments

SlimTide Exploding in 2026: Viral Weight Management Trend

https://finance.yahoo.com/sectors/healthcare/articles/slimtide-capsules-exploding-2026-slim-19370...
1•farqnaht•20m ago•0 comments

1-Click RCE in Flowise (CVE-2026-40933)

https://www.obsidiansecurity.com/blog/when-is-stdio-mcp-actually-a-vulnerability
1•13ph03nix•21m ago•0 comments

Dispatches from the possibly last days of human relevance

https://scottaaronson.blog/?p=9782
1•gone35•22m ago•0 comments

Don't Delegate the Joy of Building to AI

https://bacist.com/joy-of-building/
1•baCist•23m ago•1 comments

Websites have a new way to spy on visitors: analyzing their SSD activity

https://arstechnica.com/security/2026/05/websites-have-a-new-way-to-spy-on-visitors-analyzing-the...
1•XzetaU8•25m ago•0 comments

Where is API tooling lacking?

1•dhruv3006•26m ago•0 comments

Omniclip: Open-source, powerful video editor right in the browser

https://github.com/omni-media/omniclip
1•maxloh•26m ago•0 comments

Halted ARM64 Port Work

https://github.com/rcarmo/haiku-arm64-build
1•rcarmo•27m ago•0 comments

I Stopped Designing Forms for Only Humans

https://www.indiehackers.com/post/i-stopped-designing-forms-for-only-humans-893ed23599
1•Lovanut•28m ago•0 comments

A one-word answer to why EU lost control of Big Tech: Ireland

https://euobserver.com/218423/a-one-word-answer-to-why-eu-lost-control-of-big-tech-ireland/
2•nemoniac•30m ago•1 comments

Is it better to have fewer components?

https://alokit.substack.com/p/four-components-each-90-reliable
1•avikalp•32m ago•1 comments

UK's rudest chalk figure gets a glow-up to stop it fading in the rain

https://www.bbc.co.uk/news/articles/cpvppe84lnvo
1•FartyMcFarter•34m ago•0 comments

Space, time and Shakespeare – Paul Glendinning [video]

https://www.youtube.com/watch?v=iMHvwhXFrNQ
1•vismit2000•38m ago•0 comments

Breaking macOS App Sandbox with Archive Utility

https://mysk.blog/2026/05/19/cve-2026-28910/
1•goranmoomin•40m ago•0 comments

Even if every California billionaire left tomorrow, it would take 25 years...

https://finance.yahoo.com/economy/policy/articles/even-every-california-billionaire-left-16491874...
1•1vuio0pswjnm7•41m ago•1 comments

Rivian will deliver the first R2 SUVs on June 9

https://techcrunch.com/2026/05/27/rivian-will-deliver-the-first-r2-suvs-on-june-9/
1•01-_-•43m ago•0 comments

Giant cockroach statue brings new life to shrinking Nara village

https://mainichi.jp/english/articles/20260527/p2g/00m/0na/048000c
2•rawgabbit•44m ago•0 comments

Ottawa's latest deal with U.S. data giant Palantir raises warnings

https://www.thestar.com/politics/federal/ottawas-latest-deal-with-us-data-giant-palantir-raises-w...
1•01-_-•44m ago•0 comments

The Ridgeway

https://www.historic-uk.com/HistoryMagazine/DestinationsUK/The-Ridgeway/
1•mellosouls•44m ago•0 comments

Google engineer charged with using inside information to win $1.2M on Polymarket

https://www.washingtonpost.com/technology/2026/05/27/google-employee-charged-with-insider-trading...
3•1vuio0pswjnm7•44m ago•0 comments

TopRec (toprec.io) – AI screening and CRM for recruiters and hiring teams

https://toprec.io
1•girish-fokusly•50m ago•0 comments

The fog is alive: bacteria in fog droplets clear toxins from air

https://news.asu.edu/20260514-environment-and-sustainability-fog-alive-researchers-discover-bacte...
2•XzetaU8•54m ago•0 comments

Rust Will Save Linux from AI, Says Greg Kroah-Hartman

https://www.zdnet.com/article/rust-will-save-linux-from-ai-says-greg-kroah-hartman/
2•signa11•55m ago•0 comments