objc-ast-experiments VS metal-cpp

Compare objc-ast-experiments vs metal-cpp and see what are their differences.

metal-cpp

Metal-cpp is a low-overhead C++ interface for Metal that helps developers add Metal functionality to graphics apps, games, and game engines that are written in C++. (by bkaradzic)
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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
objc-ast-experiments metal-cpp
2 16
7 253
- -
10.0 3.3
almost 3 years ago 4 months ago
C C++
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

objc-ast-experiments

Posts with mentions or reviews of objc-ast-experiments. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • C-Macs – a pure C macOS application
    11 projects | news.ycombinator.com | 19 Apr 2024
    Here's something similar by Garret Bass:

    https://github.com/garettbass/oc

    ...I also experimented a bit with parsing macOS system headers via clang-ast-dump and then code-generating C and Zig APIs but that didn't get far:

    https://github.com/floooh/objc-ast-experiments

    ...with a bit of effort and maybe using libclang instead of clang-ast-dump that's definitely feasible though.

    I guess a similar approach is used by the official C++ bindings for Metal:

    https://developer.apple.com/metal/cpp/

  • Show HN: C-ocoa, Write iOS/macOS apps in any language, with a generated C API
    3 projects | news.ycombinator.com | 11 Sep 2023
    This is basically also what the "official" C++ API for Metal does (https://developer.apple.com/metal/cpp/), it's an automatically generated bindings wrapper which calls into ObjC runtime functions.

    I also dabbled a bit with this idea by parsing clang AST-dumps of macOS system headers:

    https://github.com/floooh/objc-ast-experiments

    Unfortunately this is very brittle, and also broke on ARM CPUs, I guess the shim code needs some ABI adjustments (famously, objc_msgSend has multiple "ABI shapes": https://www.mikeash.com/pyblog/objc_msgsends-new-prototype.h...).

metal-cpp

Posts with mentions or reviews of metal-cpp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.

What are some alternatives?

When comparing objc-ast-experiments and metal-cpp you can also consider the following projects:

windy - Windowing library for Nim using OS native APIs.

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.

Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com

objc4

metal-rs - Rust bindings for Metal

OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.

clspv - Clspv is a compiler for OpenCL C to Vulkan compute shaders

Metal-API-Minimal-Example

wgpu - A cross-platform, safe, pure-Rust graphics API.

metal-cpp-cmake - Metal graphic api ported to C++ with CMake build system

Tuna-i3-Plus - This is a modified version of the Marlin 1.1.2 firmware for the WANHAO Duplicator i3 Plus 3d printer.