rust-objc
tigr
rust-objc | tigr | |
---|---|---|
6 | 11 | |
377 | 691 | |
- | - | |
0.0 | 5.5 | |
7 months ago | 5 months ago | |
Rust | C | |
MIT License | GNU General Public License v3.0 or later |
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.
rust-objc
- macOS Apps in Rust
-
Where do I start for creating a windowed app in pure rust?
If you find dealing with the Obj-C bindings a bit daunting (I would), I'd recommend you use the objc crate. That will like you dive into the details of creating and updating Mac windows without having to figure out how to call Objective C from Rust.
-
Calling Apple built-in (Swift) APIs from Rust
There is https://github.com/SSheldon/rust-objc which is abandoned.
-
How to capture the contents of applications' windows and display them in real-time
On macOS, per-window capture is actually exceedingly easy and officially supported by Apple, either including window shadows or not. I'm not aware of any crate for doing it cross-platform, but the way to do it on macOS is documented all over the Internet and the bindings you need are in the objc and core-graphics crates.
-
GPU computing on Apple Silicon
That looks like Objective C, not C. You can call Objective C methods from Rust via the objc crate.
- Wish we had Mac APIs for Rust
tigr
-
2D graphics lib recommendation?
TIGR
-
What are some of your favourite tools/libraries/frameworks to visualize or prototype something
I think Tigr is probably the easiest plug-and-play solution. But if I don't need moving or interactive graphics, I usually just output SVG images (no library needed).
- TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android. (Released into Public Domain.)
-
Minimal cross-platform graphics + audio (~500 LOC)
reminds me of TIGR, but simpler (but also without hardware acceleration/shaders, but also with sound)
- Minimal Cross-Platform Graphics
-
TIGR – TIny GRaphics cross-platform library
Delighful, works at first try and the code looks well organized.
git clone https://github.com/erkkah/tigr.git
-
Where do I start for creating a windowed app in pure rust?
In addition to the other options, you can look at small windowing libraries in other languages. For example TIGR has pretty straightforward Mac code using pure C (you'll need to have some understanding of the ObjC object model and the way it's exposed to C though).
-
Looking for a very basic 2d graphics library
I found TIGR to be the most pain-free way to just get graphics on the screen. It includes basic shape and font rendering.
- my little project: tipsy - tiny playstationy renderer in ~500 lines of code
-
Simple graphics library
I've found that the quickest and simplest solution to render graphics is Tigr.
What are some alternatives?
rFmt
hello_imgui - Hello, Dear ImGui: unleash your creativity in app development and prototyping
rusty-tags - Create ctags/etags for a cargo project
frei0r - A large collection of free and portable video plugins
fruity - Rusty bindings for Apple libraries
UgExamples - Examples for Native Cross Platform mobile app development with Apple Swift
cbindgen - A project for generating C bindings from Rust code
Allegro - The official Allegro 5 git repository. Pull requests welcome!
iree - A retargetable MLIR-based machine learning compiler and runtime toolkit.
altserver-cert-dumper - A proxy DLL for Windows to dump your developer account certificate from AltServer
onnx-mlir - Representation and Reference Lowering of ONNX Models in MLIR Compiler Infrastructure
dao - Dao Programming Language