metal-cpp
OpenFrameworks
Our great sponsors
metal-cpp | OpenFrameworks | |
---|---|---|
16 | 43 | |
250 | 9,775 | |
- | 0.7% | |
3.3 | 9.3 | |
3 months ago | 14 days ago | |
C++ | C++ | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
metal-cpp
-
Nitro: A fast, lightweight 3MB inference server with OpenAI-Compatible API
My understanding is the proliferation of “XYZ-cpp” AI frameworks is due to the c++ support in Apple’s gpu library ‘Metal’, and the popularity of apple silicon for inference (and there are a few technical reasons for this): https://developer.apple.com/metal/cpp/
-
Show HN: C-ocoa, Write iOS/macOS apps in any language, with a generated C API
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...).
-
What's the best way to learn Metal?
There's official C++-interface: https://developer.apple.com/metal/cpp/
- What are some alternatives to OpenGL for Mac
- Opinion for graphic api's?
-
A brief interview with Tcl creator John Ousterhout
It doesn't matter if the project driven by Microsoft or not, the cat (of automatically generated language bindings) is out of the bag. E.g. Zig is using the same approach without being an official MS project: https://github.com/marlersoft/zigwin32, and Apple has an automatically generated C++ API for Metal (https://developer.apple.com/metal/cpp/).
In the future, the question won't be "what language do I need to learn to code on this platform", but instead "are there language bindings for my favourite language".
- Cross platform low level graphics API suitable for game development?
-
GCC now includes Modula-2 and Rust. Do they work on OpenBSD?
this? https://developer.apple.com/metal/cpp/
Doesn't it just use objc/runtime.h and if anything is missing you can just add your custom api calls?
-
A learning path for Vulkan that focuses on concepts?
Metal has C++ bindings (which cover a full app lifecycle so you don’t have to touch Objective-C/Swift at all) but they’re based on the Objective-C memory model. There are some helper structs mimicking shared pointers, but you’ll still need to understand the basics of how an autorelease pool is used to avoid memory leaks and/or bad access crashes.
-
CTO of Azure declares C++ "deprecated"
On https://developer.apple.com/metal/cpp/ check Foundation folder and all those nice Object::sendMessage().
OpenFrameworks
-
Resolume
Not exactly VJ, but could be used for it. https://openframeworks.cc
- VVVV – A Hybrid Visual/Textual Development Environment
- Valve Says Counter-Strike 2 for macOS Not Happening, There Aren't Enough Players
-
I'm starting to get tired
Since you have C# experience, take this time to learn more about C++ while you continue to look. While yes, it is very easy to write bad code, it's not a huge deal since you just graduated and are just hacking around. Plus there are a lot of helpers these days to make writing bad code a little less likely.A former mentor of mine gifted me "C++ Without Fear" by Brian Overland which I can recommend. It's not too expensive, I think it was $25 or something like that, likely less used. Also comes in E-book form.If you'd like a gentler introduction to C++, may I recommend openFrameworks?
-
UI framework with C++ simulation.
Have you come across openFrameworks (https://openframeworks.cc/) or Cinder (https://libcinder.org/)?
-
Looking for a C++ 2D/3D rendering engine/api.
Not sure it checks all your boxes, but check openFrameworks?
-
I know C++. What game engine should I use?
I recently heard of openFrameworks which should make it pretty easy to make your game. It handles putting together a bunch of other libraries and window management so you can focus on drawing some shapes on the screen and handling user input. Sounds like love2d but all C++.
-
I just published a new art+code tutorial video walking thru making #generative #drawing with Catmull Rom curves in #openFrameworks
let me know if I can help out - also checkout the forum at openframeworks.cc - the people there are very friendly and helpful - especially with people that are completely new to oF...
-
Nannou – An open-source creative-coding framework for Rust
I mean, https://www.libcinder.org and https://openframeworks.cc have been mainstays of the creative coding industry for a long time now. A Rust take on the problem shouldn't be too surprising.
- OpenFrameworks
What are some alternatives?
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++.
Qt - Qt Base (Core, Gui, Widgets, Network, ...)
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
JUCE - JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
objc4
processing - Source code for the Processing Core and Development Environment (PDE)
metal-rs - Rust bindings for Metal
SFML - Simple and Fast Multimedia Library
clspv - Clspv is a compiler for OpenCL C to Vulkan compute shaders
Folly - An open-source C++ library developed and used at Facebook.