screen_capture_lite
iai
screen_capture_lite | iai | |
---|---|---|
1 | 9 | |
600 | 559 | |
- | - | |
3.4 | 0.0 | |
9 months ago | 11 months ago | |
C | Rust | |
MIT License | Apache License 2.0 |
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.
screen_capture_lite
-
Hey Rustaceans! Got a question? Ask here! (34/2022)!
I am trying my hand at writing bindings to screen_capture_lite, my current attempt at this is here where I am statically linking to it. When running my window_count example, I get lots of "unresolved external symbol" errors for some winapi stuff. However, it works as intended if I manually tell my build.rs to link to each individual dependency that it needs. I was under the impression that statically linking to a library with dynamic dependencies wouldn't break them or anything like is apparently happening here. My question is how I can prevent it from breaking these dependencies, or how can I export the list of dependencies to use in build.rs?
iai
-
How to benchmark in Rust with libtest bench
The three popular options for benchmarking in Rust are: libtest bench, Criterion, and Iai.
-
Adding runtime benchmarks to the Rust compiler benchmark suite
Iai^1 uses CacheGrind^2 to count instructions
[1] - https://github.com/bheisler/iai
-
How to catch performance regressions in Rust
But, /u/bencherdev, please consider integrating iai measurements! By the same person behind criterion but designed for one-shot measurements that are stable in CI measurements.
-
Hey Rustaceans! Got a question? Ask here! (34/2022)!
Is lai no longer maintained? It hasn't had any commits in a year and a half.
-
[Question / Discussion] Why is .unwrap() so heavily discouraged?
Lately I've found that using unwrap_unchecked has nearly zero performance gain but all the UB to gain if you change the code one day. My source is iai which provides exact instruction counts and is entirely deterministic for any given execution (and almost-deterministic across different compilations of the same program).
-
[MEDIA] Which will perform faster, a trivial comparison in performance of two functions.
Have you tried criterion.rs or iai ? The first is great at micro benchmarks and, if it is not enough, the second can catch even smaller performance difference.
-
Blog post: (I want) A Better Rust Profiler
In the mean time maybe https://github.com/bheisler/iai could be of help
- Experimental one-shot benchmark framework using Cachegrind
-
What's everyone working on this week (1/2021)?
Well, the most interesting one is probably Iai; an experimental benchmark framework that runs all of the benchmarks in Cachegrind for much higher precision and repeatability than is possible with Criterion.rs. It's still a work-in-progress, so I haven't published it on Crates.io yet. See the readme for a more detailed discussion of the pros/cons relative to Criterion.rs.
What are some alternatives?
macfand - Fan control for Macs running Linux
rust-socketio - An implementation of a socket.io client written in the Rust programming language.
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
TinyTemplate - A small, lightweight template engine
pwr-hd44780 - A driver for HD44780 LCDs, with support for GPIO and I2C - created for use with Raspberry Pi
tree-buf - An experimental serialization system written in Rust
xcap - XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented).
scribble - An experimental terminal text-editor written in Rust. ⚠️
Cap - Effortless, instant screen sharing. Open-source and cross-platform.
bfc-rs - Brainfuck compiler for x86-64 Linux implemented in Rust.
wcap - Simple and efficient screen recording utility for Windows 10 and 11
firestorm - A fast intrusive flamegraph