frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Mathematics for Computer Science (2018) [pdf]

https://courses.csail.mit.edu/6.042/spring18/mcs.pdf
160•vismit2000•5h ago•22 comments

Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

https://www.hackster.io/news/jesse-taube-gets-linux-up-and-running-on-the-raspberry-pi-rp2350-s-h...
34•walterbell•5d ago•7 comments

How to Code Claude Code in 200 Lines of Code

https://www.mihaileric.com/The-Emperor-Has-No-Clothes/
575•nutellalover•17h ago•189 comments

European Commission issues call for evidence on open source

https://lwn.net/Articles/1053107/
227•pabs3•5h ago•126 comments

How wolves became dogs

https://www.economist.com/christmas-specials/2025/12/18/how-wolves-became-dogs
8•mooreds•3d ago•6 comments

What happened to WebAssembly

https://emnudge.dev/blog/what-happened-to-webassembly/
177•enz•5h ago•166 comments

Samba Was Written (2003)

https://download.samba.org/pub/tridge/misc/french_cafe.txt
59•tosh•5d ago•28 comments

Why I left iNaturalist

https://kueda.net/blog/2026/01/06/why-i-left-inat/
212•erutuon•11h ago•106 comments

Sopro TTS: A 169M model with zero-shot voice cloning that runs on the CPU

https://github.com/samuel-vitorino/sopro
268•sammyyyyyyy•16h ago•97 comments

Hacking a Casio F-91W digital watch (2023)

https://medium.com/infosec-watchtower/how-i-hacked-casio-f-91w-digital-watch-892bd519bd15
123•jollyjerry•4d ago•34 comments

Embassy: Modern embedded framework, using Rust and async

https://github.com/embassy-rs/embassy
235•birdculture•14h ago•99 comments

Bose has released API docs and opened the API for its EoL SoundTouch speakers

https://arstechnica.com/gadgets/2026/01/bose-open-sources-its-soundtouch-home-theater-smart-speak...
2363•rayrey•21h ago•354 comments

Photographing the hidden world of slime mould

https://www.bbc.com/news/articles/c9d9409p76qo
57•1659447091•1w ago•12 comments

Richard D. James aka Aphex Twin speaks to Tatsuya Takahashi (2017)

https://web.archive.org/web/20180719052026/http://item.warp.net/interview/aphex-twin-speaks-to-ta...
191•lelandfe•15h ago•70 comments

Show HN: Executable Markdown files with Unix pipes

57•jedwhite•10h ago•48 comments

1ML for non-specialists: introduction

https://pithlessly.github.io/1ml-intro
18•birdculture•6d ago•4 comments

The Jeff Dean Facts

https://github.com/LRitzdorf/TheJeffDeanFacts
487•ravenical•1d ago•169 comments

The unreasonable effectiveness of the Fourier transform

https://joshuawise.com/resources/ofdm/
248•voxadam•18h ago•105 comments

AI coding assistants are getting worse?

https://spectrum.ieee.org/ai-coding-degrades
342•voxadam•21h ago•539 comments

He was called a 'terrorist sympathizer.' Now his AI company is valued at $3B

https://sfstandard.com/2026/01/07/called-terrorist-sympathizer-now-ai-company-valued-3b/
208•newusertoday•18h ago•276 comments

Anthropic blocks third-party use of Claude Code subscriptions

https://github.com/anomalyco/opencode/issues/7410
412•sergiotapia•9h ago•333 comments

Mysterious Victorian-era shoes are washing up on a beach in Wales

https://www.smithsonianmag.com/smart-news/hundreds-of-mysterious-victorian-era-shoes-are-washing-...
40•Brajeshwar•3d ago•15 comments

Why is there a tiny hole in the airplane window? (2023)

https://www.afar.com/magazine/why-airplane-windows-have-tiny-holes
47•quan•4d ago•22 comments

MCP is a fad

https://tombedor.dev/mcp-is-a-fad/
102•risemlbill•2h ago•74 comments

Ushikuvirus: Newly discovered virus may offer clues to the origin of eukaryotes

https://www.tus.ac.jp/en/mediarelations/archive/20251219_9539.html
112•rustoo•1d ago•26 comments

Google AI Studio is now sponsoring Tailwind CSS

https://twitter.com/OfficialLoganK/status/2009339263251566902
682•qwertyforce•17h ago•242 comments

Systematically Improving Espresso: Mathematical Modeling and Experiment (2020)

https://www.cell.com/matter/fulltext/S2590-2385(19)30410-2
45•austinallegro•6d ago•10 comments

Fixing a Buffer Overflow in Unix v4 Like It's 1973

https://sigma-star.at/blog/2025/12/unix-v4-buffer-overflow/
136•vzaliva•18h ago•36 comments

Show HN: macOS menu bar app to track Claude usage in real time

https://github.com/richhickson/claudecodeusage
138•RichHickson•18h ago•46 comments

Mux (YC W16) is hiring a platform engineer that cares about (internal) DX

https://www.mux.com/jobs
1•mmcclure•16h ago
Open in hackernews

Signals vs. Query-Based Compilers

https://marvinh.dev/blog/signals-vs-query-based-compilers/
53•todsacerdoti•4d ago

Comments

imvetri•19h ago
This isn't good. A good and efficient is to build better code generator. Current stack of programming languages and platform is heavy.

Let's assume a state of computing where all computations are done and cached.

In such a system, the programming languages or transpilers become obselete, as the computer results are available from storage readily.

Now the challenge is different. Depending on the reader or the user, the same memory data will appear different.

The paradigm shifts from parsers, to readers.

Example, an image data appears as binary to computer person, and meanings to an artist, etc.

Conclusion: what crap I have commented!

recursive•16h ago
How do you cache the result of a computation if you eliminate the means of expressing that computation?
aatd86•18h ago
Just a little feedback: Incremental is good. That allows for partial recompilation. You also want to establish good compilation unit demarcation.

However wrt to query being different from signals, especially since you described it in terms of push/pull, the difference is not very clear. pull is basically your query, or you actively recompiling. push is handled when you take livereloading into account.

There is no real difference.

Now there are different algorithm to handle the graph traversal recomputations. If you want to do it once, I guess it needs to be depth ordered and you need to recompile level by level each compilation unit that changed. So that you visit only once.

juancn•17h ago
One thing that helps a lot is somewhat isolated compilation units.

That means that most of the rest of the project is largely irrelevant besides some basic type information.

If your parsing context is small enough, you may be able to run a mostly complete parsing pipeline on the current unit, and inject a "code completion" token, where you make predictions of what can come next at that point (any token behind it is usually irrelevant).

That way you could still do a mostly vanilla compiler with auto complete, but supporting larger operations require much more state for the project.

w10-1•16h ago
It's very helpful to see the big picture of pull vs push-pull and caching; often capabilities just get tacked on as needed, to eventually build a mess.

Before LSP, an earlier generation of java compilers circa 2001 (eclipse, then javac) supported incremental compilation and model queries. This effort extended into runtime hot-reload of compatible code (which was ambitious, but has mostly been limited to changing function bodies).

Here's a reddit post with a nice video on point with an excellent series of references (the author may have seen, but they didn't post references to what they read):

https://www.reddit.com/r/ProgrammingLanguages/comments/ge0s3...

The database framing and input caching you mention suggests a new compiler might benefit from using a database instead of in-memory trees and such. In particular, I wonder if datalog style database, with declared code as rules with type consequences, would help. (i.e., the general type rules stay, while declared instances show as new relations with consequence per the general rules). Often those datalog systems built via relation models (A -> B via R) have an extra revision field, and update just by issuing new revisions (i.e., without actually deleting the old), resulting in systems where you can backtrack in time (and don't pay for deletions/memory managment until needed). Such revision history might be helpful for calculating proposed fixes (by unwinding to a last-known-good state, and then changing subsequent edit-declarations/operations). However, all such databases I'm familiar now with force you to copy data to get results, and few have robust query caching or planning or extensible query functions. It would be interesting if someone purpose-built a relation and rules database for compilers.

refset•15h ago
> It would be interesting if someone purpose-built a relation and rules database for compilers

While not quite in rustc proper, along these lines: https://github.com/rust-lang/chalk + https://github.com/rust-lang/polonius

Permik•11h ago
Also related, not a DB but an incremental computation engine: https://github.com/salsa-rs/salsa

This can be found in things like the rust-analyzer and other actual compilers.

hugiex•2h ago
Great writeup on query-based compilers! though I think the signal comparison is a bit misleading. The defining feature of signal is automatic push propagation, change a source, updates flow through dependencies automatically. Query-based compilers don't have this at all. When an input changes, nothing happens until you explicitly re-query. What you've described is really sophisticated memoization with smart cache invalidation (revisions, one-way dependency tracking and stuff), not reactive propagation. Both solve incremental computation, but through fundamentally different mechanisms: push-based reactivity vs pull-based lazy evaluation.

Still a great post on modern compiler architecture though! many thanks