C-Macs VS oc

Compare C-Macs vs oc and see what are their differences.

C-Macs

Digging a Foundation With A Spoon (by CodaFi)

oc

Macro magic for declaring/calling Objective-C APIs from C11 or C++. Preloads selectors, chooses the correct objc_msgSend to call per method/platform. (by garettbass)
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
C-Macs oc
2 2
130 45
- -
- 10.0
over 9 years ago almost 5 years ago
C C
- MIT License
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.

C-Macs

Posts with mentions or reviews of C-Macs. 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
    It's open source but it is still under copyright. There are notices in the source file:

    https://github.com/CodaFi/C-Macs/blob/master/CMacs/View.c#L5...

    I would definitely ask permission and encourage the author to change the license before using this code.

    Since API calls are purely functional and not covered by copyright you can mimic the behavior here but you'll need to rewrite everything from scratch, notably the most expressive parts, which are:

    https://github.com/CodaFi/C-Macs/blob/master/CMacs/CMacsType...

    https://github.com/CodaFi/C-Macs/blob/master/CMacs/CMacsType...

    The organization and structure of this code is arbitrary and within the author's creative expression.

oc

Posts with mentions or reviews of oc. 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/

  • Space-shooter.c: cross-platform, top-down 2D space shooter written in C
    5 projects | news.ycombinator.com | 11 Dec 2021
    Metal can be called from C by going directly through the Objective-C runtime, but it requires either macro magic (like: https://github.com/garettbass/oc/), or code-generated C headers.

    But it's not a big deal to move all the ObjC code into a separate .m source file and expose a smaller and higher level C API.