alchemy
cacao
Our great sponsors
alchemy | cacao | |
---|---|---|
3 | 22 | |
385 | 1,742 | |
- | - | |
0.0 | 6.7 | |
about 4 years ago | 3 months ago | |
Rust | Rust | |
MIT License | 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.
alchemy
-
GitHub - ryanmcgrath/cacao: Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
1) This was started years ago back when SwiftUI had, frankly, a mountain of problems. I originally did the seeds of this work when building out Alchemy, a React clone for cross-platform apps in Rust. I sunset that project due to personal issues in my life at the time (relative dying) which had destroyed my motivation/time. I ultimately chose to extract the codebase and make cacao since it filled a necessary niche in the ecosystem.
-
Proof of concept: iOS app written in pure Rust
Ah, yes - though I think we're still ultimately after the same thing. Cacao, while it tries to unify AppKit/UIKit APIs, more or less treats UIKit APIs as the "blessed" ones. A good example is the ListView component, which pretty much limits an NSTableView to the style and such that you'd find over on UITableView. cacao just has more working AppKit code due to it being originally the basis for alchemy.
-
What’s everyone working on this week (16/2021)?
Oh cool! Glad to hear it - I experimented with VDOM stuff long ago back in alchemy and considered returning to it at some point, but if someone else does it... well, it'd be hella cool.
cacao
-
So You Want to Ship a Command-Line Tool for macOS
This is really specific, but for this point in the article:
> There’s a long guide on Embedding a Command-Line Tool in a Sandboxed App, so I followed that, and then slowly, painfully, factored Xcode out of it, so that I wouldn’t have to figure out how to get a 10GB Xcode install onto the CI machine (remember, you need to be signed in to an Apple ID to download Xcode, and there’s no way to do it from the command-line).
You could actually solve this with Rust and no Xcode whatsoever. cacao [1] and cargo-bundle [2] will produce an app bundle you could sign/notarize/distribute without needing to ever open Xcode.
[1] https://github.com/ryanmcgrath/cacao
- macOS Apps in Rust
- GitHub - ryanmcgrath/cacao: Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
-
A new open-sourcing project launches!!! A declarative, compose-based and cross-platform GUI
I've had basic animation support in cacao for about a year now, but I don't think anybody even realizes it.
-
Library Concept for Interoperating with Objective-C - Seeking Feedback
But I will reiterate what I say on many posts like these, which is that it would be even cooler if we could stop having a million projects reinvent this wheel - and I say this as someone who wrote a large Rust library that is backed by ObjC. madsmtm has an ongoing effort to put together a best in class ObjC Rust wrapper, which would be great to see even more support for.
-
What bindings do I need for making a modern Windows 11 GUI?
MacOS; I have to call the AppKit API. I can use a library like this which offers Rust bindings for AppKit - otherwise I can write my own maybe?
-
Can I Use Rust For IOS Development?
Yes, you can: https://github.com/ryanmcgrath/cacao
What are some alternatives?
senile - Collecting todo statements from code because we usually either ignore or forget about them.
evdi - Extensible Virtual Display Interface
prost - PROST! a Protocol Buffers implementation for the Rust Language
Warp - Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
common_comments - Simply counts occurrences of phrases.
fruity - Rusty bindings for Apple libraries
uikit-sys - Rust Bindings for the iOS UIKit Objective-C framework
MoltenVK - MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
giganotes-core
macdriver - Native Mac APIs for Go. Soon to be renamed DarwinKit!