https://github.com/mikkurogue/cube-type-extract-rs
The rust re-write of the cube-type-extract tool
https://github.com/mikkurogue/cube-type-extract-rs
Last synced: about 2 months ago
JSON representation
The rust re-write of the cube-type-extract tool
- Host: GitHub
- URL: https://github.com/mikkurogue/cube-type-extract-rs
- Owner: mikkurogue
- License: gpl-2.0
- Created: 2025-02-06T20:10:08.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2025-03-14T12:34:04.000Z (2 months ago)
- Last Synced: 2025-03-28T19:03:49.055Z (about 2 months ago)
- Language: Rust
- Size: 118 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Cube Type Extractor - rs
  [](https://github.com/mikkurogue/cube-type-extract-rs/actions/workflows/release.yml)This is the Rust rewrite of the [Cube Type Extractor](https://github.com/mikkurogue/cube-type-extract) project that was initially written in Go.
The reason for this rewrite is not because of the meme, but because it's a relatively simple and small project to learn Rust with that has some core concepts for programming.
This project will essentially be a 1 to 1 copy so the configuration, commands and everything else should all be the same.
## Initial benchmark results

As we can see from the results. The Rust version is around 37.5 times faster than the Go version
Benchmark 1 is the Rust version, Benchmark 2 is the Go version.### Caveat
Eventually, I will also create a Zig rewrite of this to compare all 3 binaries, not because its supposed to create a dick measuring contest for the communities of each respective language but simply because I want to see if what I wrote is at all comparable to each other given I am new to Rust in ints entirety and Zig I am at best an advanced beginner.