metal-cpp
gcc
metal-cpp | gcc | |
---|---|---|
16 | 31 | |
249 | 153 | |
- | 0.0% | |
3.3 | 5.6 | |
4 months ago | 4 months ago | |
C++ | Shell | |
Apache License 2.0 | GNU General Public License v3.0 only |
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().
gcc
-
Need Code for Compiling Arduino Sketch to Hex
It's called a compiler, Arduino IDE uses gcc.
- Newbie Here
-
📣 Had a call with Reddit to discuss pricing. Bad news for third-party apps, their announced pricing is close to Twitter's pricing, and Apollo would have to pay Reddit $20 million per year to keep running as-is.
You can use the website, on mobile or desktop. It works fine. I don't get why people think that if they can't use some 3rd party app to access Reddit they'll ... I dunno, browse the archives at gcc.gnu.org or something. There is nothing else like Reddit.
- Beginner C Linux programming book
-
In you opinion is it better to code the arduino in the arduino language or c++, and do you prefer the arduino IDE or vs code IDE
It even uses a completely vanilla C++ compiler, with avr-libc and Arduino's own libraries and framework.
- Explaining my fast 6502 code generator
-
Performance Optimizations on Arduino Uno
It uses gcc
-
x64 Assembly: Multithreading from Scratch Part 1: Hello World!
In this tutorial I'm using the GNU assembler gas with intel syntax along the the GNU linker.
-
Is there a road map on what to do after learning a programming language ?
But basically get yourself an editor (like notepad++ or VSCode) and a compiler (https://gcc.gnu.org). Write some code and compile it to an executable. There, you made a program.
-
bash not working on VS Code app?
I believe the make command is something that is included in the CS50 codespace only. You would need to compile your code using something else like gcc or another C compiler
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.
mpc - A Parser Combinator library for C
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
salsa - A generic framework for on-demand, incrementalized computation. Inspired by adapton, glimmer, and rustc's query system.
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
nanopass-framework-scheme - The new nanopass framework; an embedded DSL for writing compilers in Scheme
objc4
official-images - Primary source of truth for the Docker "Official Images" program
metal-rs - Rust bindings for Metal
diagnose - A simple library for reporting compiler/interpreter errors
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
Mlem - The Lemmy client [Moved to: https://github.com/mormaer/Mlem]