https://github.com/jvns/gzip.jl
Gzip in julia! =D =D
https://github.com/jvns/gzip.jl
Last synced: 4 months ago
JSON representation
Gzip in julia! =D =D
- Host: GitHub
- URL: https://github.com/jvns/gzip.jl
- Owner: jvns
- Created: 2013-10-17T18:52:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-12-01T11:49:54.000Z (over 7 years ago)
- Last Synced: 2025-02-27T03:46:51.703Z (4 months ago)
- Language: C
- Size: 742 KB
- Stars: 162
- Watchers: 9
- Forks: 17
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Gunzip in Julia
================Contary to the repo name, this actually implements `gunzip` and not `gzip` in Julia.
The coolest thing (that I know of) that you can do with this repository is visualize unzipping.
To play with this, do
```
git checkout visualization
gzip myfile.txt
julia gunzip.jl myfile.txt.gz
```This will unzip `myfile.txt.gz` and show which parts are represented literally and which parts are references to previous parts of the file. Do this to a text file and not a binary :)
You can see a video of this happening to "The Raven" in [this blog post](http://jvns.ca/blog/2013/10/24/day-16-gzip-plus-poetry-equals-awesome/).
If (when!) you find bugs, let me know!