Better HN
topnewbestaskshowjobs
Log inSign up

danalec

27 karma · joined Oct 17, 2014 (12y ago) · 11 submissions

[ my public key: https://keybase.io/danalec; my proof: https://keybase.io/danalec/sigs/yJFt2PwDIkBumTlHNLaleh0bUiqjrN4J0Q9EAPE4sDA ]
Submissions

comment 9mo ago · link · parent

- 9 months and I did not find any code about DMMSY's method

- 7950X3D has 96MB L3 cache and the the graph is very sparse and tree-like

- The code is opensource and everyone is welcome to contribute. Thanks for the idea.

comment 9mo ago · link · parent

I did not. The html was generated by Deepseek. Claude is far way too expensive for that. This is only an experimental code. I don't think it is worth to pay Claude to test a code which was already peer reviewed theoretically.

comment 9mo ago · link · parent

7950X3D has 96MB L3 cache and the the graph is very sparse and tree-like.

It reaches 20.000x without fast-math against supposed alledged "custom dijkistras" in my specific setup. And you're free to test against your own dijkstras...

Some individuals are reaching >900.000x using fast-math! Have they tried the Rust version? (add -rs in the url)

I'll update the readme with more info...

But why this is still flagged?

comment 9mo ago · link · parent

I implemented the STOC 2025 Best Paper Award winner in C99. The algorithm achieves O(m log^(2/3) n) complexity, breaking the 65-year-old sorting barrier for sparse directed SSSP that Dijkstra established at O(m + n log n).

*Key implementation details:* - Cache-optimized CSR layout for maximum spatial locality - Zero-allocation design with pre-allocated workspaces - Recursive subproblem decomposition instead of global priority queues

*Benchmarks:* On graphs with 250k–1M nodes, this shows 20,000x+ speedups over standard Dijkstra implementations. The DMMSY core runs in ~800ns for 1M nodes.

*Paper:* https://arxiv.org/pdf/2504.17033 *GitHub:* https://github.com/danalec/DMMSY-SSSP

This is experimental—focused on correctness first. Would love feedback on edge cases, better decomposition strategies, or cache-oblivious optimizations I might have missed.

5.

Show HN: C99 implementation of new O(m log^(2/3) n) shortest path algorithm(github.com ↗)

111 points · by danalec · 9mo ago · 28 comments

comment 6y ago · link · parent

will this mute filtering the twitter connector for feedly?

7.

Creating a site-to-site VPN with dynamic internet IP addresses with OPNSense(nwildner.com ↗)

3 points · by danalec · 7y ago · discuss

comment 7y ago · link · parent

systemd versus windows

9.

Chrome OS exploit: one byte overflow and symlinks(googleprojectzero.blogspot.com ↗)

3 points · by danalec · 9y ago · discuss

10.

Interesting Discussion on Lithium Battery Fire Hazard(mathscinotes.wordpress.com ↗)

1 points · by danalec · 12y ago · discuss

comment 12y ago · link · parent

I'm a sublime text 3 user too and I've been trying out slap: https://github.com/slap-editor/slap