metal-cpp
gecko-dev
Our great sponsors
metal-cpp | gecko-dev | |
---|---|---|
16 | 78 | |
250 | 3,105 | |
- | 1.6% | |
3.3 | 10.0 | |
4 months ago | 7 days ago | |
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().
gecko-dev
-
Making Web Component properties behave closer to the platform
You can see how Mozilla tests the compliance of their built-in elements in the Gecko repository (the ok and is assertions are defined in their SimpleTest testing framework). And here's the Web Platform Tests' reflection harness, with data for each built-in element in sibling files, that almost every browser pass.
- Widevine Content Decryption Module provided by Google Inc -- Never installs on any fresh Linux distro (see comments)
-
Firefox tooltip bug fixed after 22 years
The source is mirrored on GitHub here: https://github.com/mozilla/gecko-dev
Code search is here: https://searchfox.org/mozilla-central/
-
Firefox 113.0, New Features, Updates and Fixes
Yes. https://github.com/mozilla/gecko-dev/tree/32c74afbb24dce4b5d...
- -moz-box and -moz-inline-box removed at v113
-
Pinch Zoom with Mouse Wheel is too Slow = How to Adjust Zoom Increments?
aWheelInput.mDeltaY looks like the increment setting used for this https://github.com/mozilla/gecko-dev/commit/9033e3e1200acfd4b8f8ae024c215b99d12b97bdTried "mousewheel.default.delta_multiplier_y" and "mousewheel.with_control.delta_multiplier_y" without much luck.It may have something to do with https://bugzilla.mozilla.org/show_bug.cgi?id=1138704 although this case is about pinch zoom emulation.
-
Why does firefox (at least waterfox) not support H.265?
You could add the feature by writing code to support is - https://firefox-source-docs.mozilla.org/setup/index.html
- A Quarter Century of Mozilla
-
Why is building a UI in Rust so hard?
I checked Firefox monorepo, it has over 4x more C++ than Rust.
-
Fetched and build the code of the "release" but it's produced Nightly version
Are you leaving steps out or is your OP exhaustive? If you just straight up cloned release and that's it, start all over and follow https://firefox-source-docs.mozilla.org/setup/index.html for your OS
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.
chromium - The official GitHub mirror of the Chromium source
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
WebKit - Home of the WebKit project, the browser engine used by Safari, Mail, App Store and many other applications on macOS, iOS and Linux.
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
objc4
brave-core - Core engine for the Brave browser for mobile and desktop. For issues https://github.com/brave/brave-browser/issues
metal-rs - Rust bindings for Metal
nyxt - Nyxt - the hacker's browser.
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
datastation - App to easily query, script, and visualize data from every database, file, and API.