virt-v2v
nested-data-structure-traversal
virt-v2v | nested-data-structure-traversal | |
---|---|---|
4 | 15 | |
69 | 567 | |
- | - | |
8.7 | 8.8 | |
9 days ago | about 3 years ago | |
OCaml | Elixir | |
GNU General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
virt-v2v
-
Two Years of OCaml
In virt-v2v we eventually enforced that every module file also has a corresponding interface file: https://github.com/libguestfs/virt-v2v/blob/master/check-mli...
-
Why and How We Retired Elm at Culture Amp
You can look at the project yourself: https://github.com/libguestfs/virt-v2v I've been writing OCaml for 20+ years and C for 40 years.
-
Multicore OCaml: April 2021
I develop in OCaml from time to time, and it's pretty practical. Separate compilation, makes small-ish binaries that most people wouldn't know weren't written in C/C++, easily call out to C if you need to. We steer clear of the more complex language features like functors because they confuse most programmers.
Here's an example of one very widely used production application: https://github.com/libguestfs/virt-v2v/tree/master/v2v
-
Traversing nested data-structures in various languages
XPath is the real killer feature for XML. I don't think it's possible to use it in this particular example, but in the more generally useful cases where you want to pull (eg) all subnodes with key matching a particular string, XPath is great.
Here's it being used in real code (search for "xpath_"):
https://github.com/libguestfs/virt-v2v/blob/master/v2v/parse...
https://github.com/libguestfs/virt-v2v/blob/master/v2v/parse...
nested-data-structure-traversal
- Part 3 of pair programming a Perl web app
-
Traversing nested data-structures in various languages
Oh boy, some of the recent additions are looking tragic. Completely ignoring "reset_lesson_position", to code-golf their own simplified ideal of the problem? Eg. (at time of my comment) https://github.com/josevalim/nested-data-structure-traversal/blob/master/rust/for_in_anonymous_tuples.rs
Amusingly, I think I will lose this if I don't link it here. https://github.com/josevalim/nested-data-structure-traversal... is my attempt at getting a LOOP solution in.
As noted in the message, I originally did this in elisp, which felt a bit more natural, for some reason.
-
Hacker News top posts: Apr 12, 2021
Traversing nested data-structures in various languages\ (32 comments)
- Crowd-sourced solutions to traverse a nested data structure in various languages
- Traversing Nested Data-Structures
What are some alternatives?
eioio - Effects-based direct-style IO for multicore OCaml
specter - Clojure(Script)'s missing piece
ocaml-multicore - Multicore OCaml
nft_ptr - C++ `std::unique_ptr` that represents each object as an NFT on the Ethereum blockchain
proxmox-pci-switcher - Switch among Guest VMs organized by Resource Pool
loom - Concurrency permutation testing tool for Rust.
JsonPath - Java JsonPath implementation
ocaml-aeio - Asynchronous effect based IO
Main_MiSTer - Main MiSTer binary and Wiki
elm-ts - A porting to TypeScript featuring fp-ts, rxjs6 and React