wordle-trie-packing VS roadroller

Compare wordle-trie-packing vs roadroller and see what are their differences.

wordle-trie-packing

Wordle clones are everywhere, but who is thinking about the bandwidth? (by adamcw)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
wordle-trie-packing roadroller
5 5
2 283
- -
4.7 0.0
about 2 years ago almost 2 years ago
Python JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

wordle-trie-packing

Posts with mentions or reviews of wordle-trie-packing. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-19.
  • Game Boy Wordle clone: How to compress 12972 five-letter words to 17871 bytes
    12 projects | news.ycombinator.com | 19 Feb 2022
    ```

    Doing this, and then doing the variable length encoding I got the file down to 13,181 bytes (it was 13,180 bytes, but I needed to add a 7 bit termination string so that you can properly decode the file after you write it to disk, otherwise when the file rounds to the nearest byte you have random 0s that get decoded).

    I'm sure with some twiddling of the alphabets some more you could save a few more bytes, but this does better than both Brotli on a ASCII trie and the Huffman Trie by almost 1KB (https://github.com/adamcw/wordle-trie-packing#all-words), so I'm very happy.

roadroller

Posts with mentions or reviews of roadroller. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-13.
  • Mini Metroidvania in 13KB of JavaScript
    2 projects | news.ycombinator.com | 13 Sep 2022
  • Show HN: Micro LZMA decoder (x86 assembly code golf)
    6 projects | news.ycombinator.com | 6 Jun 2022
    Crinkler [1] is a popular compressor-linker for 1--8 KB demos and its decompressor (partially embedded in a PE header) is probably around 1--200 bytes. Later efforts like oneKpaq [2] also have a comparable decompressor size.

    If you don't mind a shameless plug and a slightly larger decompressor (about 500 bytes in JS) for better compression, my Roadroller [3] might fit the bill as well.

    [1] https://github.com/runestubbe/Crinkler

    [2] https://github.com/temisu/oneKpaq

    [3] https://lifthrasiir.github.io/roadroller/

  • Game Boy Wordle clone: How to compress 12972 five-letter words to 17871 bytes
    12 projects | news.ycombinator.com | 19 Feb 2022
    Roadroller [1] is probably a borderline general purpose compression algorithm, and with some automatic parameter tuning it results in 12,170 bytes estimated [2], at the expense of a lot of memory. "Estimated" because the algorithm was originally meant to be recompresssed in a ZIP file, so it doesn't bother to generate the smallest JS file in terms of uncompressed size (yet).

    [1] https://lifthrasiir.github.io/roadroller/ (the exact parameters: golf.horse dataset; input mode text; action write to document; # contexts 12 with 12,15,49,50,70,79,96,97,131,154,292,353; pollute the global scope; max memory usage 150 MB; precision 16; learning rate 1333; model max count 11; model base divisor 14; dynamic model flags -1; # abbreviations 64)

  • Cat Goric: Escape from the Warp Chamber - Post-Mortem
    11 projects | dev.to | 19 Sep 2021
    And compressed final code even more with Roadroller (reduced 1.3 KB in the zip). And used ECT to recompress the zip (reduced 300 KB).
  • Q1K3
    6 projects | news.ycombinator.com | 13 Sep 2021
    I'm honored that Q1K3, in addition to many other entries to js13kGames 2021, is compresed with Roadroller [1], which is the reason that its source code is basically a random-looking string plus some bit of JS code.

    [1] https://github.com/lifthrasiir/roadroller/

What are some alternatives?

When comparing wordle-trie-packing and roadroller you can also consider the following projects:

wordle - Finding optimal play in the game of wordle

js13k-2021 - Game created for the Js13kGames competition from 2021.

wasmboy - Game Boy / Game Boy Color Emulator Library, 🎮written for WebAssembly using AssemblyScript. 🚀Demos built with Preact and Svelte. ⚛️

ZLib - A massively spiffy yet delicately unobtrusive compression library.

gb-wordyl - A word game for the Nintendo Game Boy / Color, Analogue Pocket, Mega Duck

q1k3 - A tiny FPS for js13k

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

squoosh - Make images smaller using best-in-class codecs, right in the browser.

ect-bin - Efficient-Compression-Tool Binaries