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

Cuelume – Tiny interaction sounds that make interfaces feel alive

https://cuelume-site.pages.dev/
1•lumannnn•3m ago•0 comments

Fdisk and the Importance of Sleep

https://parlaiment.bearblog.dev/fdisk-and-the-importance-of-sleep/
1•vonargo•3m ago•0 comments

LingBot-World 2.0: Open-source world model with hour-long interactive generation

https://github.com/Robbyant/lingbot-world-v2
1•Kajaking•4m ago•0 comments

Rebuilding My Homelab with Compose, Ruby, IPv6, and No Kubernetes

https://www.petekeen.net/homelab-resolved/
1•zrail•6m ago•1 comments

Apple sues OpenAI over mass IP theft

https://appleinsider.com/articles/26/07/10/apple-sues-openai-previous-vp-of-product-design-over-m...
2•kristianpaul•9m ago•1 comments

Show HN: I turned my quote collection into a walkable 3D library

https://jakubhalmes.com/library/
2•jac08h•10m ago•1 comments

The Mind-Bending Company That Gets a Million Job Applications–and Rejects 99.9%

https://www.wsj.com/business/bending-spoons-jobs-hiring-stock-eaed2b8e
2•fortran77•12m ago•1 comments

Barbarians at the Gateways (2013)

https://queue.acm.org/detail.cfm?id=2536492
1•tosh•12m ago•0 comments

Show HN: Learn by rebuilding Redis, Git, a database from scratch

https://shipthatcode.com
2•acley•14m ago•0 comments

Speculations Concerning the First Ultraintelligent Machine (1965) [pdf]

https://languagelog.ldc.upenn.edu/myl/Good1964.pdf
4•zetalyrae•21m ago•0 comments

DOGE Officially Shuts Down

https://thehill.com/homenews/administration/5955468-doge-shuts-down-operations/
3•thunderbong•24m ago•0 comments

Kairos Engine – a pipeline that kills trading strategies before they cost money

https://github.com/mohamadomar-ai/kairos-engine
1•Mohamad_Omar•29m ago•0 comments

Most ArXiv papers contain information never meant to be shared

https://www.nature.com/articles/d41586-026-02057-8
2•bookofjoe•33m ago•2 comments

Five Foreign Words English Should Steal Immediately

https://commonplacefacts.com/2026/07/11/foreign-words-english-needs/
2•theanonymousone•34m ago•0 comments

World oil demand set for first annual decline since 2020, IEA says

https://www.cnbc.com/2026/07/10/iea-world-oil-demand-declines-iran-war.html
2•geox•36m ago•0 comments

Introduction to Reinforcement Learning and Its Role in LLMs

https://huggingface.co/learn/llm-course/en/chapter12/2
2•tosh•39m ago•0 comments

Fable 5 made a Fireship Video for GPT 5.6 Sol

https://www.youtube.com/watch?v=cSsVNtGPOIg
1•mesmertech•40m ago•1 comments

Forking an Open Source Project

https://codeblog.jonskeet.uk/2026/07/11/forking-an-open-source-project/
1•ingve•40m ago•0 comments

Rollup Table

https://questdb.com/glossary/rollup-table/
1•tosh•42m ago•0 comments

FAA approves first space mirror

https://spacenews.com/fcc-approves-first-reflect-orbital-satellite/
1•stogot•43m ago•2 comments

Reimplementing pf as an eBPF/XDP dataplane on Linux

https://blog.nfsensei.org/the-packet-filter-reborn.html
1•882542F3884314B•44m ago•0 comments

CyberNom: Self-Hosted Threat Intel and SoC Monitoring Platform, Single Go Binary

https://github.com/Hayder-Rzaigui/cybernom-community
1•Hayderrr•45m ago•0 comments

G# – A modern .NET language with Go, Kotlin, and Swift ergonomics

https://davidobando.github.io/gsharp/
1•serial_dev•49m ago•0 comments

Semantic/Hybrid Search in the Browser

https://bart.degoe.de/semantic-search-in-your-browser/
6•bartdegoede•50m ago•0 comments

Show HN: Browser-only tools with no uploads and no accounts

https://toolsdeck.app/
1•biplabwagle•51m ago•0 comments

Two Database Migrations and a Divorce

https://usefathom.com/blog/two-database-migrations-and-a-divorce
1•tosh•54m ago•0 comments

Show HN: Sfotty Pie – A browser-based Atari 8-bit emulator in TypeScript

https://a8.aygun.me
1•cyco130•56m ago•0 comments

If You Want Taste, You're Gonna Have to Eat

https://jxnl.co/writing/2026/07/05/taste/
3•JumpCrisscross•1h ago•0 comments

Ask HN: What are some of the use-cases of the frontier models's max mode?

1•avinoth•1h ago•0 comments

Show HN: Mtg – Arcade games for the terminal, in Rust with Ratatui

https://github.com/modern-terminal-games/mtg
3•funnyfoobar•1h ago•0 comments