frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Using obscure graph theory to solve programming languages problems

https://reasonablypolymorphic.com/blog/solving-lcsa/
35•matt_d•6h ago

Comments

tekknolagi•5h ago
This seems, at least upon first read, analogous to global value numbering (GVN). Or, depending on how you look at it, common subexpression elimination (CSE). I am mostly wondering why they are not mentioned in the article.
j2kun•3h ago
I came here to mention this as well. If this problem was so critical to the company the author was working at, it seems negligent to spend a _year_ reinventing a solved problem from scratch, especially given the author's apparent history of compiler experience.
kldx•5m ago
Wondered about the same thing. Perhaps the author deals with graphs with no side effects or branches? It would then trivially become CSE on a single basic block.

SSA transformations are essentially equivalent to what the author appears to be doing in terms of let-bindings [0].

[0] https://dl.acm.org/doi/10.1145/278283.278285

georgewsinger•4h ago
If you like reasoning about a program in terms of expression trees/graphs, I recently discovered that Wolfram Language has built-ins for this:

https://reference.wolfram.com/language/ref/ExpressionTree.ht...

Type-constrained code generation with language models

https://arxiv.org/abs/2504.09246
103•tough•4h ago•44 comments

Flattening Rust's learning curve

https://corrode.dev/blog/flattening-rusts-learning-curve/
94•birdculture•4h ago•66 comments

Branch Privilege Injection: Exploiting branch predictor race conditions

https://comsec.ethz.ch/research/microarch/branch-privilege-injection/
332•alberto-m•10h ago•131 comments

Airbnb is in midlife crisis mode

https://www.wired.com/story/airbnb-is-in-midlife-crisis-mode-reinvention-app-services/
60•thomasjudge•7h ago•87 comments

I’ve built an IoT device to let my family know when I’m in a meeting

https://nullonerror.org/2025/05/11/i-have-built-an-iot-device-to-let-my-family-know-when-i-am-in-a-meeting/
13•delduca•2d ago•7 comments

DeepSeek’s founder is threatening US dominance in AI race

https://www.bloomberg.com/news/features/2025-05-13/deepseek-races-after-chatgpt-as-china-s-ai-industry-soars
34•blumpy22•1h ago•16 comments

Build real-time knowledge graph for documents with LLM

https://cocoindex.io/blogs/knowledge-graph-for-docs/
85•badmonster•7h ago•16 comments

Google is building its own DeX: First look at Android's Desktop Mode

https://www.androidauthority.com/android-desktop-mode-leak-3550321/
228•logic_node•12h ago•182 comments

Failed Soviet Venus lander Kosmos 482 crashes to Earth after 53 years in orbit

https://www.space.com/space-exploration/launches-spacecraft/failed-soviet-venus-lander-kosmos-482-crashes-to-earth-after-53-years-in-orbit
114•taubek•3d ago•71 comments

I failed a take-home assignment from Kagi Search

https://bloggeroo.dev/articles/202504031434
6•josecodea•32m ago•2 comments

When graphic design saves lives

https://news.harvard.edu/gazette/story/2025/05/when-graphic-design-saves-lives/
30•gnabgib•3d ago•1 comments

Launch HN: Miyagi (YC W25) turns YouTube videos into online, interactive courses

166•bestwillcui•13h ago•91 comments

Show HN: HelixDB – Open-source vector-graph database for AI applications (Rust)

https://github.com/HelixDB/helix-db/
130•GeorgeCurtis•9h ago•53 comments

Map of Palaeohispanic Coins and Inscriptions

http://hesperia.ucm.es/consulta_hesperia/mapas.php
15•brendanashworth•2h ago•0 comments

PDF to Text, a challenging problem

https://www.marginalia.nu/log/a_119_pdf/
240•ingve•11h ago•131 comments

Multiple security issues in GNU Screen

https://www.openwall.com/lists/oss-security/2025/05/12/1
347•st_goliath•15h ago•210 comments

Fingers wrinkle the same way every time they’re in the water too long

https://www.binghamton.edu/news/story/5547/do-your-fingers-wrinkle-the-same-way-every-time-youre-in-the-water-too-long-new-research-says-yes
88•gnabgib•3h ago•34 comments

A visual history of the safety pin

https://museumofeverydaylife.org/current-exhibitions/a-visual-history-of-the-safety-pin
13•andsoitis•2d ago•0 comments

Garbage collection of object storage at scale

https://www.warpstream.com/blog/taking-out-the-trash-garbage-collection-of-object-storage-at-massive-scale
49•ko_pivot•3d ago•8 comments

How (memory) safe is Zig? (2021)

https://www.scattered-thoughts.net/writing/how-safe-is-zig/
31•vortex_ape•4h ago•23 comments

Coffee for people who don't like coffee

https://ostwilkens.se/blog/coffee
38•ostwilkens•3d ago•108 comments

It Awaits Your Experiments

https://www.rifters.com/crawl/?p=11511
136•pavel_lishin•11h ago•44 comments

A tool to verify estimates, II: a flexible proof assistant

https://terrytao.wordpress.com/2025/05/09/a-tool-to-verify-estimates-ii-a-flexible-proof-assistant/
23•jjgreen•3d ago•0 comments

Cardiac: A CARDboard Illustrative Aid to Computation [pdf]

https://www.cs.drexel.edu/~bls96/museum/CARDIAC_manual.pdf
21•throwaway71271•5h ago•11 comments

The world could run on older hardware if software optimization was a priority

https://twitter.com/ID_AA_Carmack/status/1922100771392520710
597•turrini•16h ago•563 comments

OpenTelemetry protocol with Apache Arrow

https://opentelemetry.io/blog/2025/otel-arrow-phase-2/
63•tanelpoder•8h ago•14 comments

Using obscure graph theory to solve programming languages problems

https://reasonablypolymorphic.com/blog/solving-lcsa/
35•matt_d•6h ago•4 comments

I learned Snobol and then wrote a toy Forth

https://ratfactor.com/snobol/
119•ingve•2d ago•31 comments

Membrane: Media Framework for Elixir

https://membrane.stream/
121•lawik•3d ago•36 comments

Insurers launch cover for losses caused by AI chatbot errors

https://www.ft.com/content/1d35759f-f2a9-46c4-904b-4a78ccc027df
120•jmacd•2d ago•45 comments