Swiftz VS oc

Compare Swiftz vs oc and see what are their differences.

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
Swiftz oc
1 2
3,328 45
0.0% -
0.0 10.0
almost 2 years ago almost 5 years ago
Swift C
BSD 3-clause "New" or "Revised" License 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.

Swiftz

Posts with mentions or reviews of Swiftz. 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
    Draw a line through this 12+-year-old effort from Robert Widmann and his 8-year-old exercise in type-lifting Swift [1] and ask yourself: what is he doing now at Apple?

    [1] https://github.com/typelift/Swiftz

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.

What are some alternatives?

When comparing Swiftz and oc you can also consider the following projects:

Argo - Functional JSON parsing library for Swift

Swiftx - Functional data types and functions for any project

R.swift - Strong typed, autocompleted resources like images, fonts and segues in Swift projects

Runes - Infix operators for monadic functions in Swift

LlamaKit - Collection of must-have functional Swift tools

Prelude - Swift µframework of simple functional programming tools

Hookah

Oriole - A functional utility belt implemented as Swift 2.0 protocol extensions.

Funky - Functional programming tools and experiments in Swift.

OptionalExtensions - Swift µframework with extensions for the Optional Type

Forbind - Functional chaining and promises in Swift

Bow - 🏹 Bow is a cross-platform library for Typed Functional Programming in Swift