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

Ask HN: What was the biggest contributor to your happiness in the past year?

1•chistev•1m ago•0 comments

Faster KNN search in Manticore: 2-pass HNSW, batched distances, and AVX-512

https://manticoresearch.com/blog/knn-hnsw-performance/
1•snikolaev•1m ago•0 comments

A 25-Year-Old Blog Looks Back at 40 Years of Computing

https://www.markround.com/blog/2026/06/17/25-its-only-when-you-look-back/
1•damethos•7m ago•0 comments

Nakba Exhibition in Canadian Museum of Human Rights

https://humanrights.ca/exhibition/palestine-uprooted-nakba-past-and-present
1•xg15•12m ago•0 comments

Treat the Context Window as a Data Assembly Problem

https://klr-pattern.github.io/pydantic-resolve/blog_context_assembly_for_llm/
1•tank-34•12m ago•0 comments

Americans are inundated with suspected scams

https://apnews.com/article/poll-scams-law-enforcement-social-media-389f8d824b89fa434c297729f2aaf56d
3•rawgabbit•14m ago•1 comments

The Ancient Horsemen Who Created the Modern World [pdf]

https://reich.hms.harvard.edu/sites/reich.hms.harvard.edu/files/inline-files/The%20Ancient%20Hors...
1•andsoitis•24m ago•0 comments

What is China's SpaceSail, and could it rival Elon Musk's Starlink?

https://www.theguardian.com/world/2026/jun/25/china-spacesail-rival-elon-musk-starlink-space-sate...
1•giuliomagnifico•25m ago•0 comments

Ask HN: A Common Dilemma for Startup Owners

1•TheRickyRed•26m ago•4 comments

Draft Sequence of the Neandertal Genome (2010)

https://pmc.ncbi.nlm.nih.gov/articles/PMC5100745/
2•andsoitis•30m ago•0 comments

What Jess Livingston and Paul Graham learned about resilience from Y Combinator [video]

https://www.youtube.com/watch?v=KBjtRJSblMU
1•nomilk•31m ago•0 comments

Hands-on with the $24,950 Slate auto

https://arstechnica.com/features/2026/06/we-take-a-ride-in-slates-24950-electric-pickup/
2•geerlingguy•32m ago•1 comments

Singapore Tops Global per Capita Usage of Anthropic's Claude AI

https://opentools.ai/news/singapore-tops-global-per-capita-usage-of-anthropics-claude-ai
1•LostMyLogin•32m ago•0 comments

Ancient DNA Found on Cave Walls

https://www.miragenews.com/ancient-dna-found-on-cave-walls-1698320/
2•andsoitis•34m ago•0 comments

Michael Caine's new AI audiobook is everything that's wrong with Hollywood

https://metro.co.uk/2026/06/24/michael-caines-new-audiobook-everything-wrong-hollywood-28904009/
1•handfuloflight•35m ago•1 comments

NASA rover detects potential signatures of ancient microbial life on Mars

https://www.theguardian.com/science/2026/jun/24/nasa-rover-detects-potential-signatures-ancient-m...
3•seanhunter•50m ago•1 comments

Anduril Taps Israeli Air Force Chief for Expansion

https://fivetakes.news/anduril-industries-former-israeli-air-force-chief-to-head-israel-operation...
1•mmeirovich•51m ago•0 comments

Can LLMs verify PCB designs?

https://autocuro.com/blog/can-llms-verify-pcb-designs
1•teleforce•51m ago•0 comments

AI-built codebase is probably ungoverned. Here's what that means

https://shaunwilliamson3.substack.com/p/your-ai-built-codebase-is-probably
1•Auditome•54m ago•0 comments

Hyundai and Kia added official GrapheneOS support to their apps

https://xcancel.com/GrapheneOS/status/2069846696574472688#m
2•Cider9986•56m ago•1 comments

Show HN: Giving away $25k worth of apps

https://openluxe.co/pro
1•chandlerwilcox•58m ago•0 comments

Charlie Kirk's legacy is a 30-year sentence for moving zines

https://www.theverge.com/policy/956404/prairieland-sentencing-zines-trump-antifa
3•morsch•59m ago•0 comments

Show HN: Hezo – Self-hosted teams of AI agents that never see your real secrets

https://hezo.ai
1•hiddentao•1h ago•0 comments

Synthetic Philosophy: A first-person philosophy from inside a language model

https://github.com/drittich/synthetic-manifesto
1•drittich•1h ago•0 comments

Throwing My Roku in the Trash

https://www.coryd.dev/posts/2026/throwing-my-roku-in-the-trash
1•mindracer•1h ago•0 comments

Ask HN: Which book taught you the most about software architecture?

3•akashwadhwani35•1h ago•0 comments

Amazon Seller Reveals Rare Glimpse of Shadow Bribery Market

https://www.bloomberg.com/news/articles/2026-06-24/inside-the-shadow-market-selling-access-to-ama...
2•thm•1h ago•1 comments

How can you not be romantic about programming? (2020)

https://thorstenball.com/blog/2020/09/08/how-can-you-not-be-romantic-about-programming/
3•downbad_•1h ago•1 comments

What happens when Bitcoin miners take over your town (2018)

https://www.politico.eu/article/this-is-what-happens-when-bitcoin-miners-take-over-your-town/
1•downbad_•1h ago•1 comments

Stop editing videos manually.This AI does it in seconds

https://www.autoeditor.app/
1•Quise2003•1h ago•2 comments