metal-cpp
pldb
metal-cpp | pldb | |
---|---|---|
16 | 71 | |
317 | 770 | |
3.2% | 0.9% | |
3.3 | 9.8 | |
7 months ago | about 1 month ago | |
C++ | JavaScript | |
Apache License 2.0 | - |
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().
pldb
- Show HN: Codigo – The Programming Language Repository
-
Is there a "distrowatch" like site for programming languages?
Not exactly what you are looking for, but you would probably be interested in https://pldb.io
-
Can LLMs Generate Novel Research Ideas?
> How do you define single creator?
The creators define how many creators there were.
It's all open source and anyone can fix any mistakes by updating one line (for example, here's the creators entry for Python: https://github.com/breck7/pldb/blob/b8ae74253733e4aa0fb57d26...).
We generally don't have any disputes but there's the occasional error and always open to pull requests to fix those.
But you do bring up a good point about contributors/maintainers. Adding that data is definitely on the priority list, but might be a 2025/2026 thing.
- Books for Programmers
-
HMPL – template language for displaying UI from server to client
> if you follow one or more internal links, the back button loops
This should not happen.
Any chance you could record a Loom (or other screencast tool), showing me what you mean?
That way I can add a fix to our open source, public domain database of languages (https://github.com/breck7/pldb), which I thought could really help the OP, who is building a new language.
-
New Programming Languages of 2024
> Almost unusuable!
Almost?! Wow! I'll take that as a compliment. I just assumed it was completely unusable on an untested platform like that ;).
Again, very sorry for the experience, and if you'd like to get involved helping make it work great on Android for Firefox, source code is:
https://github.com/breck7/pldb
Or we'd gladly accept any grants to prioritize that kind of work!
-
Show HN: Try Scroll
www https://pldb.io
-
List of people who created a programming language
This may have been posted before, but recently put a lot of effort into making this page better.
New features:
- Lots more links to the homepages of creators. Check out some of these! Some of the most interesting, most pristine pages on the web.
- New sparkline showing a histogram of when creators were born.
- Download as JSON/TSV/CSV links.
- All this data is now stored in a single file using ScrollSets (Check out the source: https://github.com/breck7/pldb/blob/main/creators/creators.s...) ... More on ScrollSets: https://breckyunits.com/scrollsets.html
Still a lot more data to add. Pull requests appreciated!
-
A New Way to Store Knowledge
You might enjoy https://pldb.io/, which is a paywall free, open source, public domain, database you can browse completely locally, with information on all of these kinds of prior languages.
:)
-
A Language Without Comments
We classify JSON as a data notation (line 4 on https://github.com/breck7/pldb/blob/main/concepts/json.scrol...)
We classify something like C as a "pl" (programming language) (line 4 on https://github.com/breck7/pldb/blob/main/concepts/c.scroll).
We classify both data notations and programming languages as computer languages.
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.
material-ui-docs - ⚠️ Please don't submit PRs here as they will be closed. To edit the docs or source code, please use the main repository: http://github.com/mui/material-ui.
objc4
scrollsdk - The code for Particles and Parsers, which Scroll is built on.
clspv - Clspv is a compiler for OpenCL C to Vulkan compute shaders
Git-Heat-Map - Visualise a git repository by diff activity