macOS Apps in Rust

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cacao

    Rust bindings for AppKit (macOS) and UIKit (iOS/tvOS). Experimental, but working!

  • core-foundation-rs

    Rust bindings to Core Foundation and other low level libraries on Mac OS X and iOS

  • Rust has RAII so you can have retain on 'clone' operations and release on drops, just like the native Rc/Arc types do.

    This is, incidentally, how the servo bindings to core-foundation work (I prefer those bindings where there is overlap).

    Servo bindings: https://github.com/servo/core-foundation-rs

    Other crates of interest on this topic:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • rust-objc

    Objective-C Runtime bindings and wrapper for Rust.

  • rust-block

    Rust interface for Apple's C language extension of blocks.

  • qt

    Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly

  • > https://github.com/therecipe/qt

    Do these not work? (I haven’t tried them - non-rhetorical question.)

  • uniffi-rs

    a multi-language bindings generator for rust

  • Mozilla's uniffi-rs is really good. You write a common IDL and the bindings are generated automatically.

    https://github.com/mozilla/uniffi-rs

  • webrender

    A GPU-based renderer for the web

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • swift-bridge

    swift-bridge facilitates Rust and Swift interop.

  • A bit late, but `swift-bridge` (https://github.com/chinedufn/swift-bridge) does this intelligently, and is probably what you're looking for.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts