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

Show HN: Stop returning raw JSON from MCP servers, build rich inline UIs

https://medium.com/towards-artificial-intelligence/mcp-apps-build-interactive-apps-directly-insid...
1•muhammad-shafat•1m ago•0 comments

The Problem with Political Pearl-Clutching

https://www.playboy.com/read/sex/the-problem-with-political-pearl-clutching
1•bushwart•4m ago•0 comments

Show HN: AI Pair Programmer for Emacs

https://github.com/jaketothepast/codetutor
1•jakewindle47•4m ago•0 comments

Microsoft Hacked to Deliver Malware to Claude and Gemini Users

https://www.404media.co/microsoft-hacked-to-deliver-malware-to-claude-and-gemini-users/
2•guessmyname•5m ago•0 comments

Client-side PDF audiobook reader with AI voice

https://audiobook.vedgupta.in/
1•innovatorved•5m ago•0 comments

LLM Are Universal Simulators

https://invertedpassion.com/llm-are-universal-simulators/
1•speckx•5m ago•0 comments

Show HN: Wallie – Open-source AI streamer that watches and hears your screen

https://github.com/Alradyin/wallie-V2
1•Alrady•6m ago•0 comments

A Dumb Harness: Fundamentals of running coding agents on a loop

https://www.beontheloop.com/deck
1•shekharupadhaya•6m ago•0 comments

Could Switzerland Become the First Country to Cap Its Population?

https://www.newyorker.com/magazine/2026/06/15/could-switzerland-become-the-first-country-to-limit...
1•xnx•7m ago•0 comments

8 years in crypto: Etherean to Crypto Moderate

https://cstein.xyz/posts/2026/4/28/crypto_evolution_part1
1•cstein2•9m ago•0 comments

The Seven Habits That Lead to Happiness in Old Age (2022)

https://www.theatlantic.com/family/archive/2022/02/happiness-age-investment/622818/
1•zdw•9m ago•0 comments

Building Stuff I don't Want to

https://amxmln.com/blog/2026/building-stuff-i-don-t-want-to/
1•speckx•11m ago•0 comments

Ask HN: How do you handle "what did user X do yesterday" from customer support?

2•dezsirazvan•11m ago•1 comments

The Cattle Empire That Turned Out to Be a Giant Ponzi Scheme

https://www.wsj.com/finance/cattle-empire-ponzi-scheme-3d245791
1•bequanna•11m ago•0 comments

Sam Bankman-Fried applies for a pardon from Trump

https://techcrunch.com/2026/06/08/sam-bankman-fried-applies-for-a-pardon-from-trump/
4•pseudolus•12m ago•0 comments

Taleb's Turkey

https://peteweishaupt.medium.com/talebs-tu-e406eb8859a8
1•thunderbong•12m ago•0 comments

Fisker Owners Association

https://fiskeroa.com/
1•fosco•13m ago•0 comments

Trump's $100k H-1B visa fee is unlawful, US judge rules

https://www.reuters.com/world/trumps-100000-h-1b-visa-fee-is-unlawful-us-judge-rules-2026-06-08/
6•pseudolus•15m ago•1 comments

GR IV Monochrome Image Sensor

https://www.ricoh-imaging.co.jp/english/products/gr-4-mono/feature/
1•reconnecting•15m ago•1 comments

Ask HN: What are tools you have made for yourself since the advent of AI

3•aryamaan•16m ago•2 comments

CentOS History: How a Linux hobby project became the enterprise operating system

https://www.theregister.com/os-platforms/2026/06/08/history-of-centos-how-a-biochemists-linux-hob...
2•CrankyBear•18m ago•0 comments

One paywall change beat six months of revenue

https://www.indiehackers.com/post/i-redesigned-the-onboarding-and-paywall-in-my-app-and-in-a-sing...
1•vital_pavlenko•18m ago•0 comments

Mine YouTube for Audio/MIDI and Transmute with Magenta RealTime 2 [video]

https://www.youtube.com/watch?v=l2dSGCldH00
1•processing•18m ago•1 comments

Loop Engineering

https://addyosmani.com/blog/loop-engineering/
1•ulrischa•20m ago•0 comments

Due to DMA, Siri AI delayed in EU for iOS 27 and iPadOS 27

https://www.apple.com/newsroom/2026/06/due-to-dma-siri-ai-delayed-in-eu-for-ios-27-and-ipados-27/
5•surprisetalk•21m ago•2 comments

Siri AI

https://www.apple.com/apple-intelligence/
17•0xedb•21m ago•4 comments

Apple previews new child safety features

https://www.apple.com/newsroom/2026/06/apple-previews-new-child-safety-features/
2•surprisetalk•21m ago•0 comments

Apple introduces Siri AI, a profoundly more capable and personal assistant

https://www.apple.com/newsroom/2026/06/apple-introduces-siri-ai-a-profoundly-more-capable-and-per...
2•surprisetalk•21m ago•0 comments

Learn X in Y Minutes

https://learnxinyminutes.com/
2•sanbor•22m ago•0 comments

Trying Out Vivaldi on Linux

https://taonaw.com/2026/06/07/trying-out-vivaldi-on-linux.html
2•speckx•23m ago•0 comments