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

From Enlightenment to Alignment

https://smolnero.com/posts/from-enlightenment-to-alignment
1•andsoitis•33s ago•0 comments

Why It's So Hard to Add a Column in the Middle of a PostgreSQL Table

https://www.bytebase.com/blog/why-its-hard-to-add-a-column-in-the-middle-of-postgres-table/
1•thunderbong•3m ago•0 comments

Moore's Law for Everything

https://moores.samaltman.com/
1•dtj1123•7m ago•0 comments

I built an AI operating system after getting tired of repetitive work

https://lynx.apex7ai.com
1•levymartins•9m ago•0 comments

Data Science Weekly – Issue 660

https://datascienceweekly.substack.com/p/data-science-weekly-issue-660
1•sebg•12m ago•0 comments

Is the determinant of this "Fibonacci sum" indicator matrix always -1, 0 or 1?

https://mathoverflow.net/questions/513340/is-the-determinant-of-this-fibonacci-sum-indicator-matr...
1•philipfweiss•13m ago•0 comments

Russian drones spotted using screwed-on magnetic compasses as navigation aids

https://www.tomshardware.com/tech-industry/drones/russian-drones-spotted-using-screwed-on-magneti...
2•rmason•14m ago•1 comments

Mefo Bill

https://en.wikipedia.org/wiki/Mefo_bill
3•handfuloflight•22m ago•0 comments

How to soothe thumb pain when texting and scrolling

https://apnews.com/article/trigger-thumb-de-quervains-tenosynovitis-carpal-tunnel-35728b0142d310c...
3•devonnull•23m ago•0 comments

Tine: A new editor for Jai, Zig and C++

https://travisdp.itch.io/tine
1•travismd•23m ago•0 comments

Heavy TV watching associated with smaller brain structures, study finds

https://dornsife.usc.edu/news/stories/heavy-tv-watching-associated-with-smaller-brain-structures/
24•mashally•24m ago•1 comments

Wall of Optimism – I have reasons to believe the future is beautiful, and you?

https://wallofoptimism.com
2•nikitafaesch•27m ago•0 comments

Can LLMs write Base64 as well as they read it?

https://arvidsu.github.io/encode_bench/index.html
2•ArvidSu•30m ago•0 comments

HMD Fusion easy to repair smartphone

https://www.hmd.com/en_int/hmd-fusion
2•savolai•31m ago•1 comments

Show HN: A schema you change by talking to it, without the model writing SQL

https://github.com/leandrobon/mutable-crm
2•leandrobon•31m ago•0 comments

Prime Flow Field Background Animation

https://www.brt.fyi/posts/prime-flow-field/
4•maxbrt•34m ago•0 comments

Is someone Into process mining? Let's talk in this thread

1•FrancescoMassa•37m ago•0 comments

The Windows laptop market is so bad I'm considering a MacBook

https://old.reddit.com/r/laptops/comments/1uy4hj0/ive_officially_hit_rock_bottom_the_windows_laptop/
3•ksec•39m ago•0 comments

Eric Schmidt tried to convert Google to Java

https://www.youtube.com/watch?v=ceCy2_FRxxo
5•mashally•40m ago•1 comments

Barbarians at the Gateways (2013)

https://spawn-queue.acm.org/doi/10.1145/2523426.2536492
2•tosh•48m ago•0 comments

Pyinfra Is Underrated

https://pyinfra.com
5•zxspectrumk48•56m ago•0 comments

Why Argentina Has Almost No Black People [video]

https://www.youtube.com/watch?v=FiPSZ_eaRPo
6•baranul•58m ago•0 comments

Trend Has Russian Men Smashing Their iPhones for a Manlier Look

https://www.odditycentral.com/videos/bizarre-trend-has-russian-men-smashing-their-iphones-for-a-m...
11•jethronethro•1h ago•1 comments

On Claude's Clotted Writing Style

https://blog.kierangill.xyz/clotted-claude
3•kierangill•1h ago•0 comments

The Newest Vegas Loop Stations Will Blow Your Mind [video]

https://www.youtube.com/watch?v=e7vFCP3PtuA
2•Topfi•1h ago•0 comments

Nvidia DGX Spark as a daily driver

https://daniel.lawrence.lu/blog/2026-07-15-dgx-spark-as-daily-driver/
5•plun9•1h ago•1 comments

Photo going viral of Lionel Messi with baby Lamine Yamal(2024)

https://www.euronews.com/culture/2024/07/16/two-legends-the-story-behind-the-2007-photo-going-vir...
2•rawgabbit•1h ago•1 comments

Wigolo: Local first web search agent

https://knockoutez.github.io/wigolo/
2•handfuloflight•1h ago•0 comments

Welcome to the wild world of AI Argentina

https://www.thenerve.news/p/uki-goni-argentina-javier-milei-peter-thiel-ai-non-human-corporations
4•billybuckwheat•1h ago•0 comments

Show HN: BlazeRules – YAML rule engine for streaming data, 3M records/SEC

3•jspuri•1h ago•0 comments