frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LLM Can Be a Supercompiler

1•sannysanoff•1h ago
I just took some legacy java code. You know that one, well engineered, extensible, with multiple cases accumulated with years, special cases, kinda slower than it was initially, but still strong for production. Some good ideas were born after it went live, but nobody will break working piece of code.

Yes, it was kinda refactoring for bigger client and his use case with bigger data. I implemented slightly different order in input data, so it now does work more serially than parallel, yes, it takes less memory, and is more cache-friendly. But that's not all.

I also moved it from row-oriented CSV to column oriented. You say good refactor! Yeah, i think so, too. Yes, that uses Clickhouse as a DB. Native Clickhouse column-oriented wire format vs any human oriented format. Yes, I gave it Clickhouse C++ source, because format however stable, is not documented in the "documentation". Yes, it created custom-tailored serializer and de-serializer, including dictionaries (low cardinality columns). Yes, i explained what I expect from it.

Yes, I asked LLM to not implement data transfer objects. Instead, it reads directly from Clickhouse native wire format, without allocations, and writes Clickhouse native wire format, without allocations. It allocates slightly when processing data itself, but I optimized it too.

Code did few passes on data, I asked LLM to perform loop fusion and do all in one pass, because, as a human, that would complicate code, and was not done before, but the client is important, you know.

It contained some suboptimal data layout IN ITS CORE, too. I played and measured several layouts, by just changing it (adding/removing few indirections here and there), all code using this CORE DATA was adapted automatically, so I did quite a few iterations evaluating best one during that morning.

Already efficient code became 20 times faster. Not because it was not efficient. But because it was legacy, human oriented, well designed, and it worked, it was java, even with fast parser/processor optimizations, reduced allocations etc - it was long maintained, it was an asset.

I just applied some transformations to it, in mostly automatic way. Yes, I can do that again.

This is called supercompilation, guys. It can be automated these days. Legacy is original generic program. Like they synthesized rocket engine using AI (see news and pictures circa year ago), we can synthesize supercompiled programs from single legacy source, given various boundary conditions.

My congratulations!

NB Supercompilation is not a cool word, it's quite old concept in IT, for example see https://sites.google.com/site/keldyshscp/Home/supercompilerconcept

PS on the "this code is liability now". Nope. Cost of maintaining this code TODAY is radically lower than ever before.

ByteDance is swallowing the internet–in China and beyond

https://www.economist.com/business/2026/03/23/bytedance-is-swallowing-the-internet-in-china-and-b...
1•andsoitis•4m ago•0 comments

Show HN: AgentDrive – Persistent file storage for AI agents

https://www.getagentdrive.com
1•itstomo•5m ago•0 comments

US bans new foreign-made consumer Internet routers

https://www.bbc.com/news/articles/c74787w149zo
1•g-mork•6m ago•1 comments

It Depends

https://andys.blog/q/
2•andytratt•7m ago•0 comments

Show HN: ContextSpectre – Reasoning hygiene layer for Claude Code sessions

https://github.com/ppiankov/contextspectre
1•ppiankov•8m ago•0 comments

Strategy as Code: Will the Industry of the Future Be Specification-Driven

https://medium.com/ifs-tech/will-the-industry-of-the-future-be-specification-driven-7efe15f6a159
1•mr_andersson•8m ago•1 comments

Driverless Big Rigs Are Coming to American Highways, and Soon

https://www.nytimes.com/2026/03/17/business/self-driving-semi-trucks-texas-us.html
2•bookofjoe•10m ago•1 comments

I stopped promoting my app for 2 days and traffic instantly dropped

https://superbrain.base44.app
2•TommyDotDev•10m ago•0 comments

Show HN: Picca – A Parallel Implementation of Common Checksum Algorithms

https://codeberg.org/bryson/picca
1•brysonsteck•17m ago•1 comments

Little Ax Tool

https://www.npmjs.com/package/botversion
2•EliotHerbst•22m ago•3 comments

Passport Photo Hub

https://www.passportphotohub.com
2•niknackster•24m ago•0 comments

Chinese Publications Claim U.S. Has Two Months of Rare Earths Left

https://oilprice.com/Energy/Energy-General/Chinese-Publication-Claims-US-Has-Two-Months-of-Rare-E...
4•rexbee•29m ago•0 comments

Discover research papers at light speed

https://go.artok.app/
2•cyb0rg0•33m ago•1 comments

Ubisoft's Death by a Thousand Cuts

https://www.thegamebusiness.com/p/ubisofts-death-by-a-thousand-cuts
2•ilamont•37m ago•0 comments

Jensen Huang: Nvidia the $4T Company and the AI Revolution – Lex Fridman Podcast [video]

https://www.youtube.com/watch?v=vif8NQcjVf0
1•nradov•38m ago•0 comments

The more powerful AI becomes, the more it may be narrowing how we all think

https://oswarld.beehiiv.com/p/ai-keeps-getting-smarter-but-it-s-starting-to-think-alike
4•haebom•41m ago•0 comments

Why don't multi-column indices help queries on the second column?

https://huonw.github.io/blog/2026/03/multi-column-index/
2•dbaupp•43m ago•0 comments

Mitata: Benchmark tooling that loves you

https://github.com/evanwashere/mitata
1•jcbhmr•43m ago•0 comments

The First AI-Grown Land

https://twitter.com/alexwg/status/2035349366081216769
2•kristianpaul•43m ago•1 comments

Maxzhub – The platform where your expertise earns per minute, not per project

https://maxzhub.com/
1•alonsoarellano•45m ago•0 comments

Forget my iPhone password: how to get into a Locked iPhone

https://www.aiseesoft.com/tutorial/unlock-iphone.html
1•Jerry_Lane•47m ago•1 comments

Free calculator: Zapier pricing vs. Make.com, Pabbly Connect, and n8n

https://workflowpick.com/zapier-pricing-calculator/
1•hxinbos•52m ago•0 comments

Maxell MXCP-P100 – wireless cassette player

https://maxell-usa.com/product/cassetteplayer/
3•ChrisArchitect•56m ago•1 comments

Everyone Owns Cloud Security. That's Why Nobody Does

https://blog.ebbypeter.com/2026/03/everyone-owns-cloud-security-thats-why-nobody-does/
2•shadowAuror•58m ago•0 comments

Sunsetting the Techempower Framework Benchmarks

https://github.com/TechEmpower/FrameworkBenchmarks/issues/10932
2•nbrady•58m ago•0 comments

Epoch confirms GPT5.4 Pro solved a Frontier Math Open Problem for the first time

https://epoch.ai/frontiermath/open-problems/ramsey-hypergraphs
6•in-silico•59m ago•1 comments

Representation and Invariance of Scientific Structures (2002) [pdf]

https://web.stanford.edu/group/cslipublications/cslipublications/pdf/1575863332.rissbook.pdf
1•o4c•59m ago•0 comments

Why JVM bytecode protection is still an unsolved problem in 2026

https://protector4j.com
7•vlinx•1h ago•0 comments

Patrick Suppes – Foundations of Measurement (1981)[video]

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

Don't tell the AI it's an expert programmer

https://www.theregister.com/2026/03/24/ai_models_persona_prompting/
4•davoneus•1h ago•1 comments