cacao
yew
Our great sponsors
cacao | yew | |
---|---|---|
22 | 200 | |
1,730 | 29,833 | |
- | 0.8% | |
6.7 | 8.6 | |
3 months ago | 12 days ago | |
Rust | MDX | |
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.
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.
- GitHub - ryanmcgrath/cacao: Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!
- macOS Apps in Rust
-
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
-
Yet Another macOS bindings library
This is not meant for making apps.. If you'd like to make apps use cacao instead. I am only working on this library in my spare time in hopes of getting to learn more about the FFI between Rust and Objective-C/Swift. So far I think FFI is very exciting :)
-
AMA: How we built Warp, a Rust-based terminal
Hmm, I maintain cacao. The Objective-C interfacing has always felt like there's multiple projects reimplementing the same thing - ultimately really curious to see the UI framework once it's out!
I maintain cacao, which does exactly this. :)
yew
- Container2wasm: Convert Containers to WASM Blobs
-
Show HN: Game of Life with grid editor in browser with Rust and WASM
I coded up a game of life implementation in rust and web assembly using https://yew.rs/ as an effort to sharpen my rust skills and it resulted as a fun toy. You can find the source here: https://gitlab.com/reedrichards/wvdom Enjoy!
- The best WebAssembly runtime may be no runtime at all
-
Ask HN: If you were to build a web app today what tech stack would you choose?
I'm surprised nobody said they'd use [Yew](https://yew.rs/), especially given the premise of this being for a passion project.
-
Speeding up the JavaScript ecosystem – Polyfills gone rogue
1. Not related to npm, but related to the web.
2. True, but compilers are generally better than transpilers.
3. Have you seen https://yew.rs/ ?
-
Is it possible to create Android apps using Rust?
You could use Yew to write web apps, which can be opened on Android phones.
-
Crate Suggestions for Web Frontend
What about Yew and Iced?
- Leptos, a cutting-edge full-stack Rust framework
-
Typesafe client generation for servers? (similar to trpc)
was hoping to keep it rust all the way through the stack with yew for the frontend in rust instead of using typescript. Gql could work if there are good rust gql client libraries.
-
Lemmy v0.18.0 Release - A reddit alternative written in Rust.
they could use rust for the frontend too with frameworks like yew.
What are some alternatives?
Seed - A Rust framework for creating web apps
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
sycamore - A library for creating reactive web apps in Rust and WebAssembly
leptos - Build fast web applications with Rust.
Rocket - A web framework for Rust.
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
iced - A cross-platform GUI library for Rust, inspired by Elm
percy - Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
perseus - A state-driven web development framework for Rust with full support for server-side rendering and static generation.
stdweb - A standard library for the client-side Web
MoonZoon - Rust Fullstack Framework
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native