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

List of words banned by the USA government

https://pen.org/banned-words-list/?unique
1•inigyou•4m ago•0 comments

Niu Lai (The Ox Comes): Bad Chinese Animated Movie Becomes Viral Box Office Hit

https://economictimes.indiatimes.com/news/international/global-trends/niu-lai-aka-the-ox-comes-th...
1•yanhangyhy•4m ago•1 comments

Sana.cpp – Nvidia's Sana T2I model in C++, 4.8x faster than PyTorch

https://github.com/cconthekeyboard/sana.cpp
1•cconthekeyboard•11m ago•1 comments

Octopuses could help us conceptualize a different form of intelligence

https://www.cbc.ca/lite/story/1.6871036
1•colinprince•14m ago•0 comments

Amodei Re. Regulation

https://twitter.com/DarioAmodei/status/2088758816376807762
1•jacquesm•20m ago•1 comments

Python's http.server – Add support for HTTP Range header in HTTPServer

https://github.com/python/cpython/pull/118949
2•gregsadetsky•21m ago•0 comments

Show HN: An open-source workspace for your agents

https://github.com/gigeey/launchpad-studio
1•SEArongo•23m ago•1 comments

A gas-enshrouded and gas-reddened black hole at cosmic dawn

https://www.nature.com/articles/s41586-026-10846-4
2•diwank•24m ago•0 comments

DeepSeek V4 Pro at 207 tok/s with the full 1M context, no quantization

https://runinfra.ai/inference-api/deepseek-v4-pro
3•OsamaJaber•24m ago•0 comments

Cross-Sectional Stock Selection: Where Returns Come from and Why Models Fail

https://wangqiao.me/posts/cross-sectional-stock-selection-models/
1•unliftedq•28m ago•0 comments

An app to streamline data analytics – and do it cheaply

https://app.verbagpt.com/
1•symuz•31m ago•0 comments

AGI-64 Brings Sierra Adventures to the Commodore 64

https://meanhamster.com/news/agi-64-brings-sierra-adventures-to-the-commodore-64
4•erickhill•34m ago•0 comments

Why Young Men Are Abandoning the Workforce

https://www.wsj.com/opinion/free-expression/young-men-are-abandoning-the-workforce-a021228a
2•bilsbie•44m ago•2 comments

BlockArena: AI-Generated FPS Game

https://blockarena.puter.com/
1•ent101•47m ago•0 comments

AI Agent Safety Is Still Thinking Like Permissions

https://jeffreyflynt02.medium.com/ai-agent-safety-is-still-thinking-like-permissions-45878337bd98
5•jflynt76•47m ago•0 comments

Why I vibecoded my own terminal multiplexer

https://www.codedsleep.com/posts/wv-multiplexer
1•codedsleep•49m ago•0 comments

Show HN: Adding friction to my automatic open Claude reaction

2•aqureshi8•50m ago•0 comments

Hacking Legends

https://opensourcelegends.com/hacking-legends
1•buffer_overlord•52m ago•0 comments

Rare things become common at scale (2014)

https://longform.asmartbear.com/scale-rare/
2•mooreds•53m ago•0 comments

Protecting water systems from cyberattacks: 5 steps cities can take now

https://www.smartcitiesdive.com/news/protecting-water-systems-cyberattacks-5-steps-cities/827560/
3•mooreds•53m ago•0 comments

Forecasting Andean rainfall and crop yield from influence of El Niño on Pleiades

https://www.nature.com/articles/47456
1•mooreds•54m ago•0 comments

Why Chinese Citizens Are More Optimistic About AI Than Americans

https://www.bloomberg.com/news/articles/2026-08-14/why-ai-optimism-is-so-much-higher-in-china-tha...
2•pella•54m ago•0 comments

PPS Watch – The Most Accurate Watch That Doesn't Tell Time

https://www.instructables.com/PPS-Watch-the-Most-Accurate-Watch-That-Doesnt-Tell/
1•sudo_cowsay•57m ago•0 comments

Code Is the Byproduct

https://yagmin.com/blog/code-is-the-byproduct/
2•lubujackson•1h ago•0 comments

Path Protocol – an open-source browser precision game and course editor

https://github.com/argentquest/protocol
2•EricMSilver•1h ago•0 comments

Inverse Problem

https://en.wikipedia.org/wiki/Inverse_problem
2•soupspaces•1h ago•0 comments

Physicists discover a hidden gluon structure inside protons

https://www.sciencedaily.com/releases/2026/08/260815064805.htm
7•gradus_ad•1h ago•0 comments

Play Anthakshari Online

https://anthakshari.ai/
3•hareeshimo•1h ago•0 comments

Israeli minister calls for killing '30 to 40′ Palestinians in Gaza nightly

https://www.aljazeera.com/news/2026/8/16/israeli-minister-calls-for-killing-30-to-40-palestinians...
28•LAC-Tech•1h ago•6 comments

Prolly: A content-addressed ordered map built on prolly trees

https://github.com/crabbuild/prolly
2•forhappy•1h ago•0 comments