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

Know thyself: LLM schema for personal memory

https://github.com/parrik/know-thyself
1•parrik•50s ago•0 comments

Valletta: A City in History [pdf]

https://www.um.edu.mt/library/oar/bitstream/123456789/15640/1/Valletta%20-%20A%20city%20in%20hist...
1•andsoitis•52s ago•0 comments

Daily Dots

https://dailydots.dev/
1•oliver-zink•1m ago•0 comments

Should You Be Able to Experiment on Your Own Cancer? (2024)

https://unchartedterritories.tomaspueyo.com/p/should-you-be-able-to-experiment
1•Ariarule•2m ago•0 comments

The Science of French Fries

https://foodcrumbles.com/science-making-perfect-fries/
1•lagniappe•3m ago•0 comments

Fake Notepad++ for Mac

https://notepad-plus-plus.org/news/npp-trademark-infringement/
2•birdculture•5m ago•1 comments

Said it couldn't see her eyes. The car then automatically disabled

https://twitter.com/WallStreetApes/status/2051079891316248860
3•bilsbie•7m ago•0 comments

(not) using "cryptographic hashes" for hash table keys

https://runxiyu.org/comp/ch4ht/
1•runxiyu•8m ago•0 comments

Show HN: Using Tailscale with Apple's containerization stack

https://github.com/highpost/tailscale-macos-container
1•highpost•8m ago•0 comments

Trump blocks wind farms on national security grounds

https://www.telegraph.co.uk/business/2026/05/03/trump-blocks-wind-farms-national-security-grounds/
4•pseudolus•9m ago•1 comments

The text mode lie: why modern TUIs are a nightmare for accessibility

https://xogium.me/the-text-mode-lie-why-modern-tuis-are-a-nightmare-for-accessibility
2•SpyCoder77•11m ago•0 comments

Why I Created phpc.tv

https://afilina.com/why-phpc-tv
1•luu•17m ago•0 comments

Can a quantum sensor detect your heartbeat from 60 km away? [video]

https://www.youtube.com/watch?v=N3zU7sV4bJE
1•areoform•24m ago•1 comments

Conclave – make LLMs debate each other before they respond

https://adndvlp.github.io/conclave/
1•andngd•24m ago•0 comments

ProteinView

https://github.com/001TMF/ProteinView
1•ray__•27m ago•0 comments

How many e's are in strawberry?

https://smileplease.mataroa.blog/blog/how-many-e-are-in-strawberry/
2•Imustaskforhelp•30m ago•3 comments

Let's Buy Spirit Air

https://letsbuyspiritair.com/
4•bjhess•34m ago•0 comments

Vertical agrivoltaics in a temperate climate: Technical and social dimensions

https://www.sciencedirect.com/science/article/pii/S2772427125001664
3•bookofjoe•43m ago•0 comments

GameStop Is Offering to Buy eBay for $56B, CEO Ryan Cohen Says

https://www.wsj.com/business/deals/gamestop-is-offering-to-buy-ebay-for-56-billion-ceo-ryan-cohen...
3•momentmaker•43m ago•1 comments

Show HN: Special Days

https://special-days.pressbin.com/
2•jawns•44m ago•0 comments

Every American interacting with chatbot would need to upload a government ID

https://reclaimthenet.org/senate-panel-backs-guard-act-ai-age-verification-bill
6•g42gregory•48m ago•0 comments

xAI (Grok) Text-to-Speech and Speech-to-Text Are Now Available in Puter.js

https://developer.puter.com/blog/xai-tts-stt-in-puter-js/
1•ent101•50m ago•0 comments

Modern Standby is draining your laptop's battery, and Microsoft won't fix it

https://www.xda-developers.com/modern-standby-draining-windows-11-laptop-battery-microsoft-wont-f...
1•unddoch•53m ago•0 comments

WASM interpreter fits in a QR code

https://purplesyringa.moe/blog/this-wasm-interpreter-fits-in-a-qr-code/
4•curryhoward•56m ago•1 comments

Show HN: Three-step Reader an experimental App for speed reading books

https://vernetit.github.io/s4/
1•Vernetit•57m ago•0 comments

The 'Hidden' Costs of Great Abstractions

https://jdgr.net/the-hidden-costs-of-great-abstractions
30•jdgr•58m ago•7 comments

Want to Watch button missing for movie searches

https://support.google.com/websearch/thread/414738182/want-to-watch-button-missing-for-movie-sear...
1•chatmasta•59m ago•0 comments

Three cruise ship passengers die in suspected hantavirus outbreak

https://www.reuters.com/business/healthcare-pharmaceuticals/three-passengers-dead-one-case-hantav...
3•vld_chk•1h ago•0 comments

No Joke. Unification of (GR/Qt)

https://twitter.com/CTibedo/status/2051071923849723947
2•GeometryKernel•1h ago•1 comments

H4ckf0r0day/obscura: The headless browser for AI agents and web scraping

https://github.com/h4ckf0r0day/obscura
4•rezaprima•1h ago•3 comments