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

$100k H-1B visa fee blocked by judge

https://www.ft.com/content/2ab284d9-eb38-4b42-b01a-2b375a08c1b0
1•petethomas•1m ago•0 comments

Show HN: Z3r0 – Multi-agent red team collaboration platform

https://github.com/yv1ing/Z3r0
1•yv1ing•4m ago•0 comments

OpenAI Preps Overhaul of ChatGPT

https://arstechnica.com/ai/2026/06/chat-is-dead-openai-preps-overhaul-of-chatgpt/
1•jonbaer•6m ago•0 comments

How to have Claude Code run 28× longer before auto-compaction

https://github.com/wiztek-llc/context-ledger/tree/main
1•newtechwiz•12m ago•0 comments

IBM Has a $10B Plan to Build the Ultimate Quantum Computer

https://www.barrons.com/articles/ibm-stock-quantum-computing-aafbb1eb?st=vEn99N&mod=1440&user_id=...
2•gmays•12m ago•0 comments

Kelsey Hightower: Kubernetes and retiring at the top [video]

https://www.youtube.com/watch?v=UlXpOGIpITM
3•juanpabloaj•14m ago•0 comments

Inference: Turning Electricity into Intelligence – Stanford CS336 – Dan Fu [video]

https://www.youtube.com/watch?v=9EEm4iMAF5s
2•matt_d•16m ago•0 comments

Attackers had month-long head start on patched Check Point VPN zero-day

https://www.theregister.com/cyber-crime/2026/06/08/attackers-had-month-long-head-start-on-patched...
2•sbulaev•18m ago•0 comments

Declining Birth Rates Globally

https://flowingdata.com/2026/05/25/declining-birth-rates-globally/
2•gmays•30m ago•0 comments

Berkshirehathaway.com – The Perfect Minimalist Website

https://berkshirehathaway.com
6•SpyCoder77•46m ago•0 comments

Track Political Stories Across the Web

https://plotline.news
2•yshunnar•47m ago•0 comments

How Elon Musk Killed Hundreds of Thousands of People

https://www.currentaffairs.org/news/how-elon-musk-killed-hundreds-of-thousands-of-people
10•tastyface•47m ago•2 comments

WWDC 2026 Platforms State of the Union [video]

https://developer.apple.com/videos/play/wwdc2026/102/
2•ksec•47m ago•0 comments

Show HN: DaysLeft – a bio-age clock that shows a range, not a death date

https://daysleft.io
1•neo-genesis•50m ago•0 comments

Waymo bought Apple's self-driving car proving ground for $220M

https://techcrunch.com/2026/06/08/waymo-bought-apples-self-driving-car-proving-ground-for-220m/
2•sbulaev•53m ago•0 comments

Deciding on secession: how familiar and unknown futures shape loss aversion

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1805138/full
1•PaulHoule•53m ago•0 comments

Screenlet lets you record and export product demo videos from the browser

https://chromewebstore.google.com/detail/screenlet/cdefecgpidbfmcifjecnbhldndpflhod
2•sakhtar0092•54m ago•0 comments

Build a ZeroCost Web Automation Pipeline with OpenRouter, OpenClaw, and MediaUse

https://pub.towardsai.net/build-a-zero-cost-web-automation-pipeline-with-openrouter-openclaw-and-...
1•yooibox•59m ago•0 comments

I Analyzed 163K Lines of Kuzu's Codebase. Here's Why Apple Wanted It

https://medium.com/data-science-collective/i-analyzed-163k-lines-of-kuzus-codebase-here-s-why-app...
2•ksec•1h ago•0 comments

Lscpu for Mac / Apple Silicon

https://github.com/hcarvalhoalves/lscpumac
1•manoDev•1h ago•1 comments

My URL/NSURL bug in the OS 27

https://lapcatsoftware.com/articles/2026/6/1.html
1•ilreb•1h ago•0 comments

Hot path optimization. When float division beats integer division

https://blog.andr2i.com/posts/2026-06-08-optimization-catalog-when-float-division-beats-integer-d...
1•birdculture•1h ago•0 comments

Show HN: Durable, asynchronous LLM workflow engine in Rust

https://crates.io/crates/langcontinuation
1•rescrv•1h ago•0 comments

Ask HN: Do you also feel like KYC is turning you off to the concept of money

2•JumpinJack_Cash•1h ago•0 comments

Faith, Dignity, and Human Flourishing: Hearing God's Voice in an Age of AI [video]

https://www.youtube.com/watch?v=Ts5Z64A0Vv4
2•ldayley•1h ago•1 comments

Show HN: SnakeBaby – Cute symbols, bios, kaomoji, and username ideas

https://snakebaby.com/
1•zylics•1h ago•0 comments

Show HN: Web tools an AI agent pays for per call in USDC, no API key (x402+MCP)

https://superhighway.walls.sh
2•patwalls•1h ago•0 comments

AI, Argentina and the Antichrist: Thiel's Vision Blooms

https://www.thenerdreich.com/ai-argentina-and-the-antichrist-thiels-vision-blooms/
1•prawn•1h ago•0 comments

New command-line in macOS 27 for interacting with Foundation Models

https://bsky.app/profile/alex.zenla.io/post/3mnswr2qxb22i
2•alexzenla•1h ago•0 comments

Reading Buffett and Munger, the stuff that stuck had nothing to do with stocks

https://old.reddit.com/r/ValueInvesting/comments/1u0hbzt/spent_my_first_year_actually_reading_buf...
1•dkga•1h ago•0 comments