dcompute
DiligentEngine
dcompute | DiligentEngine | |
---|---|---|
5 | 25 | |
133 | 3,317 | |
0.0% | 1.0% | |
0.0 | 9.4 | |
over 1 year ago | 1 day ago | |
D | Batchfile | |
Boost Software License 1.0 | 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.
dcompute
- DCompute: Native execution of D on GPUs and other Accelerators
-
Let's learn D game programming development
Shameless plug: LDC (the LLVM based D compiler) can already target CUDA (and OpenCL) and wraps its API and all of the nasty details involved in replicating <<<>>> kernel launches with https://github.com/libmir/dcompute/ with a sane syntax that's type safe. LLVM handles the codegen, and all of the "magic" is done in the library.
-
Compile-Time Sort in D
As noted elsewhere it seems your experience is somewhat outdated: the releases of the LLVM D Compiler (one of the two compilers worth using for production builds, the other being GDC) are buffered to the bugs introduced in DMD (which is more stable than it used to be although there are still regressions), and there is a fork based GC available for linux, but as the GC will only ever trigger on allocation, don't use it and it won't collect.
> While C++ is not by any means a great meta-language, it's improved considerably since that time.
C++ has also painted itself into a corner multiple times too, which despite being technically an improvement over the status quo are lacking severely in their utility. C++ screwed up "constexpr if" big time by always introducing a scope (which costs you a pair of {}'s in the rare occasion you need one) which means you can't conditionally insert declarations (i.e. variables, structs/classes, functions).
> but beyond the novelty you'd hardly find a mature or reliable codebase written by a team of professionals using hacks like [string manipulation and mixins].
They are a wonderful hack when you need them and nothing else will do what you want. This is not unlike resorting to macros in C++, except that its hygienic, unlike macros.
I'm not claiming the project is mature and I'm only one person, but reliable definitely out there. The most heinous set of string mixins i've ever written[1] has definitely got to be the code for generating wrappers to call the OpenCL object property querying functions (clGetDeviceInfo & friends). You need to pass a size and a void pointer to the address of the return object that you have to call once, twice or more (depending on the type of the queried property) to figure out how much memory you need to allocate to call it again.
The important thing is that the interface[2] you use to drive this code generation is very clean and return on investment for getting the generic case correct is large.
[1]: https://github.com/libmir/dcompute/blob/master/source/dcompu...
- Why I Like D
- Unified Shader Programming in C++
DiligentEngine
- DiligentGraphics: Open-source cross-platform rendering middleware
-
We Are Doomed: A pessimistic point of view of "modern software engineering"
Neither Apple nor Microsoft want any usable multiplatform graphics API. For this reason, none of them delivers such a thing.
If you want a multiplatform graphics API, you should use a library which implements such API on top of these native OS-specific APIs.
I have good experience with that one: http://diligentgraphics.com/diligent-engine/ I’ve used it couple times on Windows with D3D12 backend, and on Linux with GLES 3.1 backend.
-
The Ultimate Cross-Platform Rendering Engine?
Diligent Engine: They say their engine is the successor of bgfx, but I'm not rly into that topic.
-
Collecting the best C++ practices
Diligent Engine. A Modern Cross-Platform Low-Level 3D Graphics Library and Rendering Framework Tweet.
- Diligent Engine 2.5.3 is out: path tracing tutorials, render state cache, hot shader reload and more
- Good repos for beginners to browse that follow best modern C++ practices (including testing, static analysis etc...)
- Check out a new path tracing tutorial in Diligent Engine that shows how to use a render state packager to build pipeline states off-line and pack them into archive so that they can be loaded fast at run time.
-
Improving my CPP skills
Read other people's code (I recommend modern small to medium sized github projects, because large ones can be overwhelming) or else you will forever stay in your bubble of how things are done. For example, I had learned a thing or two by using (and code browsing) diligent engine's source.
-
What is a good absolutely minimalist game/rendering engine?
Diligent Engine
-
A Rant on Developers
I'm not speaking out of my ass, either, I have very actively followed low-level development being done towards open-source engines such as Diligent and Wicked. I personally am a contributor to the latter engine, as well. It is baffling to me that independent developers don't support this platform.
What are some alternatives?
vectorflow
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Ion - Ion
The-Forge - The Forge Cross-Platform Rendering Framework PC Windows, Steamdeck (native), Ray Tracing, macOS / iOS, Android, XBOX, PS4, PS5, Switch, Quest 2
hauberk - A web-based roguelike written in Dart.
rust-gpu - 🐉 Making Rust a first-class language and ecosystem for GPU shaders 🚧
shaders - Circle C++ shaders
nanovg - Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
dlangui - Cross Platform GUI for D programming language
LLGL - Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
raylib - A simple and easy-to-use library to enjoy videogames programming