frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•7mo ago

Comments

rvz•7mo 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•7mo 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•7mo 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

Iron-sodium grid batteries just took a big step toward US rollout

https://electrek.co/2025/12/11/iron-sodium-grid-batteries-just-took-a-big-step-toward-us-rollout/
2•Bender•1m ago•0 comments

Utah Leaders Are Hindering Efforts to Develop Solar Despite Energy Supply Goal

https://www.propublica.org/article/utah-solar-energy-operation-gigawatt-spencer-cox
2•hn_acker•3m ago•1 comments

From Chips to Security, China Is Getting Much of What It Wants from the U.S.

https://www.nytimes.com/2025/12/12/world/asia/nvidia-china-trump-security-japan.html
1•mikhael•3m ago•0 comments

Around the World, Part 28: Scaling Up: Frozen Fractal

https://frozenfractal.com/blog/2025/12/12/around-the-world-28-scaling-up/
1•ibobev•4m ago•0 comments

Golden Iteration

https://www.johndcook.com/blog/2025/12/12/golden-iteration/
1•ibobev•4m ago•0 comments

Teens prepared for puberty report fewer mental health issues

https://medicalxpress.com/news/2025-11-teens-puberty-mental-health-issues.html
1•PaulHoule•4m ago•0 comments

Typeframe

https://www.typeframe.net/
1•ibobev•5m ago•0 comments

What if building an app was as simple as describing your idea out loud? [video]

https://www.youtube.com/watch?v=-kApTkD0wKw
2•rchachra•5m ago•0 comments

Crypto Entrepreneur Do Kwon Gets 15-Year Prison Sentence

https://www.wsj.com/finance/currencies/crypto-entrepreneur-do-kwon-gets-15-year-prison-sentence-1...
1•perihelions•6m ago•0 comments

Can AI bring trust to India's $5T real estate market? [video]

https://www.youtube.com/watch?v=ilN0VXnCxf4
1•rchachra•6m ago•0 comments

Researchers trained foundation model on 3M days of Apple Watch data

https://9to5mac.com/2025/12/09/researchers-used-3-million-days-of-apple-watch-data-to-train-a-dis...
1•brandonb•7m ago•0 comments

Eight Capital X YC F25

2•rchachra•8m ago•0 comments

PX: From laptop to cloud cluster within seconds

https://amontalenti.com/2025/12/11/px-launch-overview
2•AznHisoka•8m ago•0 comments

Students, Spies, and Self-Inflicted Wounds

https://www.lawfaremedia.org/article/students--spies--and-self-inflicted-wounds
1•hn_acker•8m ago•0 comments

Songs Are Brain Medicine

https://twitter.com/MissSassbox/status/1999321026141045075
1•keepamovin•9m ago•0 comments

US pop music has grown darker and more stressed over 50 years

https://www.nature.com/articles/s41598-025-28327-5
1•robtherobber•10m ago•0 comments

Ask HN: Is writing without AI worse than sharing your medical records online?

2•amichail•11m ago•0 comments

Show HN: GitHug – Find your code mate

https://githug.link
1•daviducolo•11m ago•0 comments

Software engineering: Should it be a product, or a craft?

https://gokhan.sari.me/software-engineering-should-it-be-a-product-or-a-craft/
1•th0th•12m ago•0 comments

GTKX: React Bindings for GTK4 via Rust FFI – No Electron

https://eugeniodepalo.github.io/gtkx/
2•perpetuus•13m ago•0 comments

One Big Server Is Probably Enough

https://oneuptime.com/blog/post/2025-12-12-one-big-server-is-enough/view
2•ndhandala•14m ago•1 comments

Show HN: A local runtime for stateless LLMs with persistent memory

1•nodeEHRIS•14m ago•0 comments

Show HN: Base UI v1.0 Unstyled UI Components from the Creators of Radix and MUI

https://github.com/mui/base-ui
6•colmtuite•17m ago•5 comments

Epic celebrates "the end of the Apple Tax" after court win in iOS payments case

https://arstechnica.com/tech-policy/2025/12/epic-celebrates-the-end-of-the-apple-tax-after-appeal...
2•nobody9999•17m ago•1 comments

Don't Build a General Purpose API (4 Years Later)

https://max.engineer/server-informed-ui-p2
1•hakunin•17m ago•1 comments

New review challenges the idea that highly intelligent people are hyper-empathic

https://www.psypost.org/new-review-challenges-the-idea-that-highly-intelligent-people-are-hyper-e...
2•bovermyer•18m ago•0 comments

A Code Centric Journey into the Gleam Language [video]

https://www.youtube.com/watch?v=LMrKEaAi4RI
1•todsacerdoti•18m ago•0 comments

Tell HN: AI is good for software hackers because we will be more substantial

2•keepamovin•19m ago•0 comments

Executive order to reclassify marijuana as soon as Monday

https://www.cnbc.com/2025/12/12/cannabis-stocks-trump-regulations.html
2•perihelions•20m ago•0 comments

Show HN: atsphinx-stlite – Embed Streamlit application on Sphinx document

https://atsphinx.github.io/stlite/en/
1•attakei•21m ago•0 comments