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

Security tools inside coding agents get ignored unless we do things

https://www.boringappsec.com/p/edition-34-a-consensus-is-finally
1•joj123•1m ago•0 comments

You all think it's normal to sit behind a laptop all day

1•shoman3003•2m ago•0 comments

Yunwu

https://yunwu.ai/
2•handfuloflight•13m ago•0 comments

Wan Streamer v0.1: End-to-End Real-Time Interactive Foundation Models

https://wan-streamer.com/
1•ilreb•17m ago•0 comments

Powerful back-to-back earthquakes strike Venezuela, collapsing buildings

https://www.bbc.com/news/live/c621z18wznet
1•tartoran•20m ago•1 comments

Projectlens v1.0.6 released, supports npkill

https://www.npmjs.com/package/projectlens
1•dagmawibabi•21m ago•1 comments

Alternatives to Nested If Function

https://medium.com/@crispomwangi/7-alternatives-to-nested-if-function-a9cb07f3df1e
1•andsoitis•31m ago•0 comments

LXM: Better Splittable Pseudorandom Number Generators (and Almost as Fast) [video]

https://www.youtube.com/watch?v=XXh86oA-WOE
1•matt_d•32m ago•0 comments

The Unbearable Cheapness of Open Weight Models

https://jamesoclaire.com/2026/06/25/the-unbearable-cheapness-of-open-weight-models/
2•ddxv•34m ago•0 comments

Europe swelters under deadly 'Omega' heatwave, more records broken

https://www.reuters.com/business/environment/power-cuts-france-leave-thousands-sweltering-amid-sc...
3•rawgabbit•35m ago•2 comments

This One's Not AI

https://blog.tacoda.dev/this-ones-not-ai-992c95537790
2•tacoda•36m ago•2 comments

Calculus in Coinductive Form (1998)

https://ieeexplore.ieee.org/document/705675
1•measurablefunc•40m ago•0 comments

Tldr we built the fastest and most compact embedded vector database in the world

https://github.com/Egoist-Machines/LodeDB
1•erinmeryl•42m ago•1 comments

Ask HN: Where is our profession (programmer) going?

5•syntaxbush•43m ago•0 comments

China's Electric Vehicle Exports Reach Record High in May

https://www.bloomberg.com/news/articles/2026-06-24/china-s-electric-vehicle-exports-reach-record-...
2•xbmcuser•44m ago•0 comments

Home Feed does not show releases

https://github.com/orgs/community/discussions/146124
1•oaix•44m ago•0 comments

Supeintelligence Future

1•Siarchitect•46m ago•1 comments

Satteri: A Markdown pipeline forged in Rust for the JavaScript world

https://satteri.bruits.org/
1•handfuloflight•53m ago•0 comments

Show HN: Drive your already-logged-in Chrome from any AI agent

https://github.com/leeguooooo/chrome-use
1•leeguoo•53m ago•0 comments

Medical students are using popular research tool to pump out misleading studies

https://www.science.org/content/article/medical-students-are-using-popular-research-tool-pump-out...
2•rndsignals•55m ago•0 comments

Chinese scientists unveil glowing Avatar-like plants that could light cities

https://www.euronews.com/next/2026/04/02/chinese-scientists-unveil-glowing-avatar-like-plants-tha...
3•thunderbong•57m ago•0 comments

Are you better than the screen watchers?

https://sailsandcommas.com/2026/05/30/are-you-better-than-the-screen-watchers/
1•Curiositry•1h ago•0 comments

Cloudflare launched self-managed OAuth for all

https://blog.cloudflare.com/oauth-for-all/
13•terryds•1h ago•2 comments

Libaui – Tk clone in XCB and C

https://github.com/onanaxm/libaui
2•onuelito•1h ago•0 comments

Zombie unicorns are haunting Silicon Valley

https://www.economist.com/business/2026/06/21/zombie-unicorns-are-haunting-silicon-valley
2•andsoitis•1h ago•2 comments

Electronics can now be printed onto living tissues

https://www.economist.com/science-and-technology/2026/06/24/electronics-can-now-be-printed-onto-l...
3•andsoitis•1h ago•0 comments

Scbkr – an owner-signed responsibility-chain workbench for local LLMs

https://github.com/HIJO790401/scbkr-local-responsibility-model
2•look888•1h ago•0 comments

SystemVerilog

https://en.wikipedia.org/wiki/SystemVerilog
1•handfuloflight•1h ago•0 comments

Accidental Anonymity

https://macwright.com/2026/06/24/accidental-anonymity
1•maxutility•1h ago•0 comments

Mr. Big (Police Procedure)

https://en.wikipedia.org/wiki/Mr._Big_(police_procedure)
5•killingtime74•1h ago•1 comments