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

Aikido Code Audit

https://www.aikido.dev/blog/introducing-code-audit-find-complex-vulnerabilities-hidden-in-your-co...
1•ilreb•2m ago•0 comments

In 1954, engineers shrank a transistor radio into something people could carry

https://economictimes.indiatimes.com/news/international/us/in-1954-engineers-shrank-a-transistor-...
1•dredmorbius•3m ago•0 comments

Claude Monet

https://www.claudemonetgallery.org/
1•andsoitis•3m ago•0 comments

Show HN: Unpuzzld – escape-room style puzzles you can share with a QR code

https://unpuzzld.com
1•4umfreak•5m ago•1 comments

Hidden Order: How Adaptation Builds Complexity [pdf]

https://vdoc.pub/download/hidden-order-how-adaptation-builds-complexity-helix-books-7fb3c54faic0
1•rolph•15m ago•0 comments

Automating model design for edge AI

https://deepgate.ai/blog/neural-architecture-search
1•webstorms•19m ago•0 comments

Our edge AI compiler outperforms Google and vendor toolchains

https://deepgate.ai/blog/compiler
1•webstorms•19m ago•0 comments

Made with Claude for Claude:Interactive Labs:Learn Claude Chat, Cowork, and Code

https://professorprompts.com
1•Anelven•21m ago•0 comments

Iran requires insurance on ships using Strait of Hormuz, fees likely to follow

https://www.lloydslist.com/LL1157571/Iran-imposes-mandatory-insurance-on-ships-transiting-Strait-...
8•decimalenough•25m ago•0 comments

Get with the times – here's what a 'Luddite' means today

https://www.npr.org/2026/06/19/nx-s1-5853589/luddite-meaning-history-ai
2•cdrnsf•26m ago•0 comments

Russell Vought is going to destroy American Science

https://elizabethginexi.substack.com/p/summary-of-key-changes-in-ombs-proposed
2•tacomonstrous•28m ago•0 comments

Boarding Pass Is a Skeleton Key. Frontier Airlines Doesn't Care

https://bobdahacker.com/blog/frontier-airlines-hack
3•scrtm•30m ago•1 comments

What are good benchmarks to test my CLI AI agentic system?

https://www.minovativemind.dev/
1•daniel_ward•34m ago•0 comments

Eve validates the shape. Now pick your runtime

https://dawnai.org/blog/eve-validates-the-shape
1•brian_love•34m ago•0 comments

Email reporting is still a spreadsheet problem in 2026

https://emailcalculator.com
1•emailcalculator•34m ago•0 comments

Liquid glass that bends the page behind it as you scroll

https://codequest.work/generator/liquid-glass-css-generator/en/
1•ORECTIC•34m ago•0 comments

Best Designs on X.com

https://bestdesignsonx.com/
3•vignesh_warar•36m ago•0 comments

Algae clouded Trump's vision for the Reflecting Pool. scientists not surprised

https://www.npr.org/2026/06/19/nx-s1-5863044/dc-reflecting-pool-algae-green-trump
4•rolph•38m ago•0 comments

Accepted proposal: a goroutine leak profiler in the Go standard library

https://rednafi.com/shards/2026/06/go-goroutine-leak-profile/
1•kristianp•40m ago•1 comments

Show HN: Ratchet – let an AI agent reflash your BIOS over a CH341A (MCP server)

https://github.com/jackulau/ratchet
1•JackLau•43m ago•0 comments

GPU Puzzles (2021)

https://github.com/srush/gpu-puzzles
1•sonabinu•44m ago•0 comments

Knowledge workers don't need frontier models

https://mukulsingh105.github.io/articles/slm-routing-knowledge-workers.html
1•azhenley•47m ago•0 comments

Making Sense of Data from Wearable Health Trackers

https://undark.org/2026/06/16/opinion-wearable-health-tracker-data/
2•EA-3167•48m ago•0 comments

Ask HN: Why is there suddenly a downvote button?

2•SpyCoder77•49m ago•2 comments

Show HN: Evaluating Local LLMs as language translators for my app

https://lector.dev/eval/
4•3stacks•50m ago•2 comments

The scandal of two-tier degrees Extra time infantilizes students

https://unherd.com/2026/05/the-scandal-of-two-tier-degrees/
2•grimcompanion•50m ago•0 comments

The AI startup with no AI: Aussie boss jailed for misleading investors

https://www.smh.com.au/technology/australian-start-up-boss-who-faked-revenue-gets-nine-years-jail...
6•contingencies•53m ago•2 comments

Show HN: StaleTrace – A temporal ledger that catches stale-state agent bugs

https://stale-trace.vercel.app/
2•zahraarman•53m ago•0 comments

Need guidance on Go-To-Market strategy

3•brainstorm23•1h ago•4 comments

Claude FM music for thinking and building [video]

https://www.youtube.com/watch?v=tRsQsTMvPNg
4•gjvc•1h ago•0 comments