mistymntncop

128 Followers
255 Following
139 Posts
i am a stochastic carrot

@pervognsen It's a cool trick. I hope this is correct. I don't bother with having the current version node point to the actual values array, it just makes things more complicated. Uses stackless traversal using pointer reversal for reroot, no recursion needed.

https://gist.github.com/mistymntncop/d2b54ef13911f5ef203f4160bfd06102

persistent_array.c

GitHub Gist: instantly share code, notes, and snippets.

Gist
@pervognsen mmm, i think it's starting to make more sense now. With figures 1 and 2 of the version tree. And then they do pointer reversal from the current version to the target version to rollback to a particular version state.
@pervognsen Thanks. Don't know OCaml so it's a bit of a struggle for me. Trying to use Gemini to help me understand ha.
Not sure if this is correct but here is a partially persistent B+Tree with the V2 trick.
https://gist.github.com/mistymntncop/2cbcee30ac3cc47a287f1b64f6dd6bf5
persistent_btree_v2.c

GitHub Gist: instantly share code, notes, and snippets.

Gist
Who needs Graphviz when you can build it yourself?

Exploring a new layout algorithm for control flow graphs.

SpiderMonkey JavaScript/WebAssembly Engine

https://www.youtube.com/watch?v=gh2A7yFsBZ4

Allen's debut opening of his data structures series. Give it a watch.

Data Structures [1]: Arity Nodes

YouTube
Multi-Core By Default

On multi-core programming, not as a special-case technique, but as a new dimension in all code.

Digital Grove
Writeup for the 3rd hole exploitation technique :-).
https://github.com/mistymntncop/CVE-2025-6554/blob/main/exploit.js
CVE-2025-6554/exploit.js at main · mistymntncop/CVE-2025-6554

Contribute to mistymntncop/CVE-2025-6554 development by creating an account on GitHub.

GitHub