miniz_oxide
zune-jpeg
Our great sponsors
miniz_oxide | zune-jpeg | |
---|---|---|
2 | 6 | |
159 | 45 | |
- | - | |
5.7 | 8.7 | |
21 days ago | about 1 year ago | |
C | Rust | |
MIT License | - |
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.
miniz_oxide
-
bitter v0.6 - the performant bit reading library with a new faster API
There's quite a bit of unsafe (ick) and there's even an unsafe API that allow one to shoot themselves in the foot (more ick). I'm cautiously optimistic that the performance demonstrated by miniz_oxide (a project with lots of bit reading and zero unsafe) could mean a reduction of unsafe in bitter without sacrificing performance.
-
Good example of high performance Rust project without unsafe code?
miniz_oxide is slightly faster than zlib
zune-jpeg
-
Announcing zune-jpeg: Rust's fastest JPEG decoder
Congrats, but you dropped this.
-
Do you ever use unsafe { .. } when not implementing custom data structures or interacting with external C code?
Alternatively, you can round up the array length to the nearest power of 2 and use cheap bitmasking instead of branching bounds checks. If it goes wrong, it will access the wrong element but will not result in any code execution vulnerabilities. Here's an example of this in zune-jpeg.
-
Good example of high performance Rust project without unsafe code?
gif, png, zune-jpeg are on par with their C counterparts in terms of performance
-
What's everyone working on this week (including AoC) 49/2021?
here
-
Where do people learn to write truly quick software?
Based on some experience writing a jpeg decoder library, I'd like to give my two cents worth of information
-
What are you using Rust for?
Answer pretty fast
What are some alternatives?
libdeflate - Heavily optimized library for DEFLATE/zlib/gzip compression and decompression
image-shrinker-lite - Drag-and-drop image compression app.
gearley - An Earley parser engine in Rust.
justrunmydebugger - just run my debugger. see package here: https://build.opensuse.org/package/show/home:ila.embsys:justrunmydebugger/justrunmydebugger
ttf-parser - A high-level, safe, zero-allocation TrueType font parser.
shiba - Display a random Shiba from your terminal whenever you feel the need to. Because why not?
cv - Rust CV mono-repo. Contains pure-Rust dependencies which attempt to encapsulate the capability of OpenCV, OpenMVG, and vSLAM frameworks in a cohesive set of APIs.
calligrapher-ai - Handwriting Synthesis with RNNs ✍🏻
yaep - Yet Another Earley Parser
nvim-matrix-bot - Just a bot for Neovim's Matrix room(s)
bitter - Extract bits from a byte slice
aoc2021 - advent of code 2021 solutions