frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

14 Killed in protests in Nepal over social media ban

https://www.tribuneindia.com/news/world/massive-protests-in-nepal-over-social-media-ban/
230•whatsupdog•2h ago•124 comments

ICEBlock handled my vulnerability report in the worst possible way

https://micahflee.com/iceblock-handled-my-vulnerability-report-in-the-worst-possible-way/
92•FergusArgyll•1h ago•42 comments

RSS Beat Microsoft

https://buttondown.com/blog/rss-vs-ice
74•vidyesh•2h ago•41 comments

Package Managers Are Evil

https://www.gingerbill.org/article/2025/09/08/package-managers-are-evil/
37•gingerBill•1h ago•37 comments

Indiana Jones and the Last Crusade Adventure Prototype Recovered for the C64

https://www.gamesthatwerent.com/2025/09/indiana-jones-and-the-last-crusade-adventure-prototype-re...
25•ibobev•1h ago•1 comments

Using Claude Code to modernize a 25-year-old kernel driver

https://dmitrybrant.com/2025/09/07/using-claude-code-to-modernize-a-25-year-old-kernel-driver
699•dmitrybrant•13h ago•225 comments

VMware's in court again. Customer relationships rarely go this wrong

https://www.theregister.com/2025/09/08/vmware_in_court_opinion/
84•rntn•1h ago•27 comments

The MacBook has a sensor that knows the exact angle of the screen hinge

https://twitter.com/samhenrigold/status/1964428927159382261
873•leephillips•22h ago•423 comments

Why Is Japan Still Investing in Custom Floating Point Accelerators?

https://www.nextplatform.com/2025/09/04/why-is-japan-still-investing-in-custom-floating-point-acc...
132•rbanffy•2d ago•33 comments

Formatting code should be unnecessary

https://maxleiter.com/blog/formatting
241•MaxLeiter•14h ago•325 comments

GPT-5 Thinking in ChatGPT (a.k.a. Research Goblin) is good at search

https://simonwillison.net/2025/Sep/6/research-goblin/
287•simonw•1d ago•222 comments

How inaccurate are Nintendo's official emulators? [video]

https://www.youtube.com/watch?v=oYjYmSniQyM
61•viraptor•3h ago•12 comments

Intel Arc Pro B50 GPU Launched at $349 for Compact Workstations

https://www.guru3d.com/story/intel-arc-pro-b50-gpu-launched-at-for-compact-workstations/
156•qwytw•15h ago•177 comments

Look Out for Bugs

https://matklad.github.io/2025/09/04/look-for-bugs.html
31•todsacerdoti•3d ago•19 comments

Meta suppressed research on child safety, employees say

https://www.washingtonpost.com/investigations/2025/09/08/meta-research-child-safety-virtual-reality/
16•mdhb•46m ago•0 comments

Creative Technology: The Sound Blaster

https://www.abortretry.fail/p/the-story-of-creative-technology
123•BirAdam•15h ago•73 comments

Immich – High performance self-hosted photo and video management solution

https://github.com/immich-app/immich
27•rzk•5h ago•5 comments

How many SPARCs is too many SPARCs?

https://thejpster.org.uk/blog/blog-2025-08-20/
39•naves•2d ago•11 comments

Writing by manipulating visual representations of stories

https://github.com/m-damien/VisualStoryWriting
6•walterbell•3d ago•3 comments

Analog optical computer for AI inference and combinatorial optimization

https://www.nature.com/articles/s41586-025-09430-z
86•officerk•3d ago•15 comments

How many dimensions is this?

https://lcamtuf.substack.com/p/how-many-dimensions-is-this
93•robin_reala•4d ago•22 comments

No more data centers: Ohio township pushes back against influx of Amazon, others

https://www.usatoday.com
13•ericmay•43m ago•4 comments

Show HN: Veena Chromatic Tuner

https://play.google.com/store/apps/details?id=in.magima.digitaltuner&hl=en_US
42•v15w•7h ago•23 comments

I am giving up on Intel and have bought an AMD Ryzen 9950X3D

https://michael.stapelberg.ch/posts/2025-09-07-bye-intel-hi-amd-9950x3d/
283•secure•1d ago•294 comments

Forty-Four Esolangs: The Art of Esoteric Code

https://spectrum.ieee.org/esoteric-programming-languages-daniel-temkin
63•eso_eso•3d ago•36 comments

Taking Buildkite from a side project to a global company

https://www.valleyofdoubt.com/p/taking-buildkite-from-a-side-project
75•shandsaker_au•15h ago•9 comments

Garmin beats Apple to market with satellite-connected smartwatch

https://www.macrumors.com/2025/09/03/garmin-satellite-smartwatch/
211•mgh2•4d ago•194 comments

How to make metals from Martian dirt

https://www.csiro.au/en/news/All/Articles/2025/August/Metals-out-of-martian-dirt
74•PaulHoule•18h ago•83 comments

No Silver Bullet: Essence and Accidents of Software Engineering (1986) [pdf]

https://www.cs.unc.edu/techreports/86-020.pdf
102•benterix•17h ago•24 comments

What is the origin of the private network address 192.168.*.*? (2009)

https://lists.ding.net/othersite/isoc-internet-history/2009/oct/msg00000.html
214•kreyenborgi•1d ago•83 comments
Open in hackernews

IRHash: Efficient Multi-Language Compiler Caching by IR-Level Hashing

https://www.usenix.org/conference/atc25/presentation/landsberg
30•matt_d•3d ago

Comments

orlp•3d ago
Every developer I've talked to has had the same experience with compilation caches as me: they're great. Until one day you waste a couple hours of your time chasing a bug caused by a stale cache. From that point on your trust is shattered, and there's always a little voice in the back of your head when debugging something which says "could this be caused by a stale cache?". And you turn it off again for peace of mind.
johnisgood•21h ago
What kind of compilation caches, something like ccache[1]? Do you use it, or would you? It is for C and C++. Check out the features, they are pretty neat, IMO!

The documentation may come in handy:

1. https://ccache.dev/manual/4.11.3.html#_how_ccache_works

2. https://ccache.dev/manual/4.11.3.html#_cache_statistics

and so forth.

[1] https://ccache.dev (ccache - a fast C/C++ compiler cache)

Y_Y•21h ago
There are three hard problems in computer science, cache invalidation and naming things.
aengelke•20h ago
Or rather: There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.

(source: https://martinfowler.com/bliki/TwoHardThings.html)

ACCount37•19h ago
Don't you just do "flush the cache, rebuild" at the first suspicion? If the bug abruptly goes away, it was stale cache. It usually doesn't.
meisel•21h ago
Very interesting stuff. However, for my day-to-day work, I'm in a large C++ code base where most of the code has to be in headers due to templating. The bottlenecks are, very roughly:

- Header parsing (40% of time)

- Template instantiation (40% of time)

- Backend (20% of time)

For my use case, it seems like this cache would only kick in when 80% of the work has already been done. Ccache, on the other hand, doesn't require any of that work to be done. On a sidenote, template instantiation caching is a very interesting strategy, but today's compilers don't use it (there was some commercially sold compiler a while back that did have it, though).

aengelke•20h ago
Template instantiation caching is likely to help -- in an unoptimized LLVM build, I found that 40-50% of the compiled code at object file level is discarded at link-time as redundant.

Another thing I'd consider as interesting is parse caching from token to AST. Most headers don't change, so even when a TU needs to be recompiled, most parts of the AST could be reused. (Some kind of more clever and transparent precompiled headers.) This is likely to need some changes in the AST data structures for fast serialization and loading/inserting. And that makes me think that maybe the text book approach of generating an AST is a bad idea if we care about fast compilation.

Tangentially, I'm astonished that they claim correctness while a large amount of IR is inadequately (if at all) captured in the hash (comdat, symbol visibility, aliases, constant exprs, block address, calling convention/attributes for indirect calls, phi nodes, fast math flags, GEP type, ....). I'm also a bit annoyed, because this is the type of research that is very sloppily implemented, only evaluates projects where compile time is not a big problem and then only achieves small absolute savings, and papers over inherent difficulties (here: capturing the IR, parse time) that makes this unlikely to be used in practice.

meisel•19h ago
I knew that name looked familiar, I thought about mentioning tpde here :)

That's interesting to hear that IR is missing a lot. I'm also surprised that it could provide much gain over hashing the preprocessed output - maybe my workflow is different from others, but typically a change to the preprocessed output implies a change to the IR (e.g., it's a functional change and not just a variable name change or something). Otherwise, why would I recompile it?

Parse caching does sound interesting. Also, a lot of stuff that makes its way into the preprocessed output doesn't end up getting used (perhaps related to the 40-50% figure you gave). Lazy parsing could be helpful - just search for structural chars, to determine entity start/stop ranges, and add the names to a set, then do parsing lazily

aengelke•17h ago
> but typically a change to the preprocessed output implies a change to the IR (e.g., it's a functional change and not just a variable name change or something). Otherwise, why would I recompile it?

For C++, this could happen more often, e.g. when changing the implementation of an inline function or a non-instantiated template in a header that is not used in the compilation unit.

fsfod•18h ago
There was commercial fork of clang zapcc[1] that did caching of headers and template instantiations with an in memory client server system[2], but idk if they solved all the correctness issues or not before abandoning it.

[1] https://github.com/yrnkrn/zapcc

[2] https://lists.llvm.org/pipermail/cfe-dev/2015-May/043155.htm...

meisel•18h ago
Yes, that's the one I was thinking of, thank you