samples-rs
rust-zmq
samples-rs | rust-zmq | |
---|---|---|
3 | 10 | |
64 | 878 | |
- | - | |
6.3 | 0.0 | |
over 3 years ago | about 15 hours ago | |
Rust | 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.
samples-rs
-
Microsoft unifies all Windows APIs under a single Rust library generated from metadata
Honestly doesn't seem that bad, from the examples in that repo all calls to win32 apis are unsafe, but all rust/winrt examples seem pretty clean. Check out this ocr example. It opens a file, reads a bitmap, then performs ocr. I didn't even know windows shipped with a builtin ocr api!
-
Rust for Windows
For someone not familliar with Windows API, why does creating a Windows needs unsafe and other pointer passing ect ...? I guess it's the same for the C++/C# version?
https://github.com/kennykerr/samples-rs/blob/master/create_w...
rust-zmq
- ZMQ bindings library unmaintained?
-
Ask HN: Best practices of publishing a forked repo
It depends how useful you think the patch is, and maybe also how likely you think it will get merged.
In most cases I simply keep my fork as a PR and use the package either by vendoring or directly from the repo. If anyone else encounters the same bug, they will see my PR referencing the issue, they can do the same.
If many people are encountering the bug and using the package, and/or if the project seems dead, then it's a good idea to publish. You can do username prefix or you can just add "2" at the end. I've seen this for other repos, This is what https://crates.io/crates/zmq2 did while https://crates.io/crates/zmq was inactive, though it seems like the latter's maintainer became active and merged what the former's maintainer had done.
-
Mouse Server for Linux
I have been using https://crates.io/crates/zmq since 2015 (shortly after rust 1.0 was announced) in production with pub-sub, request-reply and router without any issue. Processes about 5k msg/seconds (mid-freq market data).
- Can I pay someone to fix this? (Rust docker issue)
-
Programming sockets with Rust and socket2
I learned a lot about sockets with the library ZeroMQ, although at that time I was using the Python version. This library also has a Rust library, although it doesn't look like the amazing guide about sockets allows you to select Rust as of yet. Still I would recommend going through this guide, as it is not just teaching you how to use a library, but also teaches you about sockets at a theoretical level. It's entertaining to read as well.
-
Rust for Windows
I think maybe the ZeroMQ rust crate as a case study is something that is non-trivial: https://github.com/erickt/rust-zmq
What are some alternatives?
win32ada - Ada API to the Windows library
MIO - Metal I/O library for Rust.
core-foundation-rs - Rust bindings to Core Foundation and other low level libraries on Mac OS X and iOS
RuMqtt
MSRC-Security-Research - Security Research from the Microsoft Security Response Center (MSRC)
hydrogen - Multithreaded, non-blocking Linux server framework in Rust
win32metadata - Tooling to generate metadata for Win32 APIs in the Windows SDK.
hydrogen - Hydrogen lets you build faster headless storefronts in less time, on Shopify.
winapi-rs - Rust bindings to Windows API
windows-rs - Rust for Windows
Cargo - The Rust package manager