Where do I start for creating a windowed app in pure rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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

    Shows how to use macOS AppKit Cocoa controls without StoryBoard only by programming code (objective-c)

  • Here is a minimal Hello World Objective C program. You'll need to figure out how declare the needed Objective C interfaces and how to call them from Rust. The C ABI function objc_msgSend will get you part of the way there.

  • rust-objc

    Objective-C Runtime bindings and wrapper for 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.

  • 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
  • tigr

    TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android.

  • 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).

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