Elements C++ GUI library
JUCE
Our great sponsors
Elements C++ GUI library | JUCE | |
---|---|---|
13 | 104 | |
2,886 | 6,017 | |
- | 2.3% | |
9.5 | 9.6 | |
2 days ago | 1 day ago | |
C | C++ | |
The MIT License | 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.
Elements C++ GUI library
- declarative GUI libraries
-
Digital Audio Workstation Front End Development Struggles
There's a relatively new C++ GUI library literally called "Elements". Not sure how it works though, but the way it looks, and the music background of its creator makes it appear designed for DAWs.
-
Introducing Slint 1.0 - The Next-Generation GUI Toolkit with C++20 APIs
Further, if you we want a "modern" C++ GUI framework what actually would be modern would be to use mechanisms in the language itself as a quasi-DSL from within the language. This is something like what Joel de Guzman is doing with Elements
-
Boost.URL ACCEPTED, get the beta now!
It's a complex domain. The closest we have at the moment is Elements which hasn't been proposed for Boost (yet?) but is by Joel de Guzman, the primary author of Boost.Spirit.
-
Is there any MIT/BSD licensed UI framework for C++ ?
Elements was mentioned as a specific example of an MIT-licensed GUI library on the CPPcast episode from 5 May 2022.
I ended up with elements gui https://github.com/cycfi/elements
-
GUI for software, not games, but lighter than Qt ?
If you don't want to use Qt I honestly think your best bet may be to become an early adopter of cycfi elements depending on your project. Elements is still rough but is useable for small applications. I think when it is finished it will be the best choice for a retained mode GUI library, but right now it is missing a lot of things (e.g. the standard common dialogs, "open", "Save as", etc.) , and has basically zero documentation.
-
What are you using for GUIs?
github link
-
Why I choose Electron even when I wanted to use QT
For the past year we were evaluating EFL, QML and Flutter for our embedded TV devices after having used the first two for last 5+ years and choice was made to go with Flutter. Performance is great, license is great, and development experience, judged by the whole development team, is the best. Hence my remark on being sad as QML could have had a great future, even transitioned to modern C++ without need for separate language, if there was a huge adoption and proper choices made by the company, e.g. see https://github.com/cycfi/elements.
-
C++ dev having trouble finding what ui toolkit to use for pet project
### [Elements](https://github.com/cycfi/elements) (Formerly photon)
JUCE
-
Modern C++ Programming Course
You can definitely start putting C++ into your embedded projects, and get familiar with things in an environment in which you're already operating. A lot of great C++ code can be found with motivated use of, for example, the platformio tooling, such that you can see for yourself some existing C++ In Embedded scenarios.
In general, also, I have found that it is wise to learn C++ socially - i.e. participate in Open Source projects, as you learn/study/contribute/assist other C++ developers, on a semi-regular basis.
I've learned a lot about what I would call "decent C++ code" (i.e. shipping to tens of thousands, if not hundreds of thousands of customers) from such projects. I would suggest finding an open source C++ project, aligned with your interests, and study the codebase - as well as the repo history (i.e. gource) - to get a productive, relatively effortless (if the interests align) boost into the subject.
(My particular favourite project is the JUCE Audio library: https://juce.com/ .. one of many hundreds of great projects out there from which one can also glean modern C++ practices..)
- Ardour 8.0 released
-
How have you used coding in your setup?
Here's a link to their website: https://juce.com/
-
Anyone here have experience writing VST audio plugins in C++, or 'wrapping'/converting a VST to an AU plug-in?
It seems like most audio plug-ins are built in C++ inside an audio coding program called JUCE, so maybe if I could open up the exisiting code inside that and then output it as an AU instead of a VST that could work.
-
Ask HN: What audio/sound-related OSS projects can I contribute to?
JUCE:
Tracktion:
Both very powerful audio frameworks - JUCE does plugins and audio drivers and low-level DSP, oh my - and Tracktion does all the stuff a DAW needs, on top of JUCE.
There are tons of ways to contribute, from building open source samples, to testing, or even adding functionality. Both dev teams are open to good quality PR's being submitted and both frameworks have excellent communities that will get you started: http://forum.juce.com/
These are cross-platform tools which offer Audio developers an extremely powerful toolset. By contributing to either (or both) frameworks you will be massively contributing to the audio world - so many plugins use JUCE these days!
- Recommendation for professional open source project where we can learn best practices, contribute and improve coding knowledge simply by looking at the code?
-
Leveraging Rust and the GPU to render user interfaces at 120 FPS
> Juce has a CoreGraphicsMetalLayerRenderer which I believe uses Metal to render CoreGrapghics primitives.
This class is part of a JUCE demo app, and you can read the source code to it if you want. [0] It uses CoreGraphics to render the graphics on the CPU, and then uploads it as a texture to the GPU so it can be used as a CAMetal layer. So, no, the graphics are still rendered on the CPU, with compositing being handled on the GPU.
> For example, I heard that UE4->UE5 removed the GPU tesselation support
I know it's confusing, but GPU tessellation is a completely different thing. The word "tessellation" in graphics means "turn into triangles". In a 2D graphics context, we're turning splines and curves and 2D shapes into triangles. In a 3D graphics context, GPU tessellation refers to a control cage mesh which is adaptively subdivided. These two have nothing in common except that triangles come out the other side. I am not aware of anyone who has tried to use GPU tessellation to render 2D graphics.
GPU tessellation failed for a large number of reasons, but slow performance was one of them. So, you know, doing this sort of work efficiently on the GPU is still an open research problem. Just because it's not efficient to do it on the GPU does not mean the performance overhead is negligible. For rendering big complex vector graphics, tess overhead can easily outweigh rasterization overhead.
[0] https://github.com/juce-framework/JUCE/blob/4e68af7fde8a0a64...
When we talk about 2D graphics as a research problem, we're talking about native rendering of splines and strokes. JUCE does not have GPU-accelerated splines, it flattens the path to lines and rasterizes the coverage area into a texture.
https://github.com/juce-framework/JUCE/blob/2b16c1b94c90d0db...
https://github.com/juce-framework/JUCE/blob/2b16c1b94c90d0db...
It also does stroke handling on the CPU:
https://github.com/juce-framework/JUCE/blob/2b16c1b94c90d0db...
Basically, this isn't really "GPU accelerated splines". It's a CPU coverage rasterizer with composting handled by the GPU.
You linked to the compatibility-renderer. But JUCE also has platform-specific rendering modules.
CoreGraphicsContext::createPath will convert the CPU spline segments to CG spline segments which are then rasterized by CoreGraphics using Metal on the GPU.
https://github.com/juce-framework/JUCE/blob/2b16c1b94c90d0db...
-
BlinderKitten, A free lighting software without restriction
Sure.
The device definitions come as GDTF files, see the spec and other projects that utilize GDTF here [1]
Juce framework [2]
OrganicUI [3]
What are some alternatives?
Qt - Qt Base (Core, Gui, Widgets, Network, ...)
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
iPlug2 - C++ Audio Plug-in Framework for desktop, mobile and web
OpenFrameworks - openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
audiogridder - DSP servers using general purpose computers and networks
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
Boost - Super-project for modularized Boost
Turbo Vision - A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
AudioKit - Audio synthesis, processing, & analysis platform for iOS, macOS and tvOS