cv
zune-jpeg
DISCONTINUED
Our great sponsors
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.
cv
-
Good example of high performance Rust project without unsafe code?
Rust can absolutely be used without unsafe to create some of the fastest code out there, but you need to try and use data-oriented design where possible to make things flow smoothly and avoid runtime checks. The hardest thing to use data-oriented design for, in my opinion, is graphs. I find that actor systems can be used instead of graphs, but it is difficult. Generally I end up using slotmap to make multiple arenas and then putting them into one large object with lots of methods to operate on the graph structure. If you want an example of that, this is probably the most complicated code I have made this way: https://github.com/rust-cv/cv/blob/511024feaa077a9af377cca7b654ad3d57d3bd6a/cv-sfm/src/lib.rs. It may not be entirely helpful to understand the whole codebase, but if you are curious to see how I do graphs in Rust with slotmap, this can be a good reference.
-
Rust OpenCV - Simple Guide
This is a nice guide, but ultimately openCV should be rewritten in rust. It would avoid all of these headaches. Please checkout and support https://github.com/rust-cv/cv
-
Slideo: Synchronize Slides With Video, Backed By OpenCV
It is, more or less, my first larger rust project. It uses the opencv crate, but I only recommend to have a look at rust-cv instead! It uses SQLite/sqlx for storing the matchings, actix-web for serving the webview and a lot of rayon for parallel processing.
-
CleanIt: An Open-Source Robot Autonomy Software in Rust-lang for the Roomba series robot vacuum cleaners
You may want to take a look at our project Rust CV https://github.com/rust-cv/cv.
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?
image-shrinker-lite - Drag-and-drop image compression app.
opencv-rust - Rust bindings for OpenCV 3 & 4
rosrust - Pure Rust implementation of a ROS client library
shiba - Display a random Shiba from your terminal whenever you feel the need to. Because why not?
justrunmydebugger - just run my debugger. see package here: https://build.opensuse.org/package/show/home:ila.embsys:justrunmydebugger/justrunmydebugger
calligrapher-ai - Handwriting Synthesis with RNNs ✍🏻
nvim-matrix-bot - Just a bot for Neovim's Matrix room(s)
fast-float-rust - Super-fast float parser in Rust (now part of Rust core)
json-benchmark - nativejson-benchmark in Rust
FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git
safety-dance - Auditing crates for unsafe code which can be safely replaced
aoc2021 - advent of code 2021 solutions