dcompute VS magnum

Compare dcompute vs magnum and see what are their differences.

dcompute

DCompute: Native execution of D on GPUs and other Accelerators (by libmir)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dcompute magnum
5 22
133 4,658
0.0% -
0.0 9.6
over 1 year ago 8 days ago
D C++
Boost Software License 1.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of dcompute. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-15.
  • DCompute: Native execution of D on GPUs and other Accelerators
    1 project | news.ycombinator.com | 24 Mar 2024
  • Let's learn D game programming development
    4 projects | news.ycombinator.com | 15 Jun 2022
    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
    3 projects | news.ycombinator.com | 12 Feb 2022
    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
    5 projects | news.ycombinator.com | 11 Jan 2022
  • Unified Shader Programming in C++
    13 projects | news.ycombinator.com | 3 Oct 2021

magnum

Posts with mentions or reviews of magnum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-09.
  • Want to a 3D game without a game engine but not having to deal with opengl stuff ?
    4 projects | /r/gamedev | 9 Dec 2022
    Magnum
  • Good graphics engines to visualize my physics framework?
    5 projects | /r/gamedev | 14 Nov 2022
    If you want something that gives you more control you could use magnum.
  • 100,000 subscriber celebration – Ask the Godot contributors anything!
    22 projects | /r/godot | 1 Nov 2022
    Therefore, in terms of artist mindshare, Blender is the leading open source 3D creation program, but not the leading 3D creation program. I think Godot is already in a similar situation, and has been for a few years now. In comparison, most other open source game engines have focused on providing low-level functionality. These certainly fulfill a niche, but in my experience, most people want something that works at a higher level and comes with a built-in editor.
  • Looking for a 2D/3D rendering layer for C++
    3 projects | /r/gamedev | 23 Aug 2022
    Magnum is worth checking out.
  • Simple light graphics library for c++?
    7 projects | /r/gamedev | 14 Aug 2022
    Since you want something lightweight, I'll assume you mean the former. If that's the case, then checkout bgfx or Magnum. Magnum does include some extra features typically found in a graphics engine.
  • Best C++ libraries for 2D game development
    2 projects | /r/cpp | 24 Jul 2022
    You could try Magnum it wraps SDL and others, but you might find it maybe too low-level. It's certainly not Love2D.
  • Exceptions: Yes or No?
    4 projects | /r/cpp | 4 Jul 2022
    C++ is similar to C in that there are multiple "styles" of use that vary from project to project. Other, usually newer languages (C#, Python, Rust, etc) tend to have a stronger sense of what idioms should be used. Whereas, for instance, some C++ projects (like some GUI libraries and game/graphics engines) will partially/entirely replace the STL (and older ones may have been around before C++ had a standard library aside from C's), or forbid the use of certain C++ features (example).
  • What is a good absolutely minimalist game/rendering engine?
    7 projects | /r/gamedev | 17 Jun 2022
    Magnum Graphics
  • C++ Game Engine - Which framework?
    1 project | /r/cpp | 6 May 2022
  • Magnum: Lightweight, modular C++11 graphics middleware for games/visualization
    6 projects | news.ycombinator.com | 23 Apr 2022
    > He has Vulkan support in here with a clearly marked file named Pipeline.cpp. The guy knows what a pipeline is...

    There is a Vulkan API wrapper. However, there is no "Vk Renderer" -- no code seems to use the Vulkan parts of the code system, and the two projects seem unrelated.

    > * Is this not a UBO interface?

    There are ways of making a uniform buffer, however the examples don't cover them and the API doesn't adapt automatically. See how all of the setters assert if UBOs are enabled.

    https://github.com/mosra/magnum/blob/cfc02599e54e02337dd56bb...

    > * I don't see why you think there's limited support for multiple framebuffers...?

    The code I do see is about binding/unbinding framebuffers in a stateful manner, e.g. AbstractFramebuffer::bind(), rather than supporting passes.

    > None of your criticism seem well intentioned. It might behoove you to give people the benefit of the doubt and realize that you may be able to learn something from them, even if they're so clearly inferior to you.

    To put it simply, I've taught enough graphics to know first-hand the kinds of misconceptions that OpenGL-styled APIs can cause, and I'm just a bit tired to see it continue. Admittedly I was a bit harsh, I don't mean any harm towards the author. There are just graphics APIs with interfaces I consider to be much better designed.

What are some alternatives?

When comparing dcompute and magnum you can also consider the following projects:

vectorflow

bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

Ion - Ion

Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)

hauberk - A web-based roguelike written in Dart.

OpenSceneGraph - OpenSceneGraph git repository

shaders - Circle C++ shaders

GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

dlangui - Cross Platform GUI for D programming language

Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

urho3d - Game engine