JUCE
libui
Our great sponsors
JUCE | libui | |
---|---|---|
104 | 22 | |
6,017 | 10,590 | |
2.3% | - | |
9.6 | 0.0 | |
1 day ago | over 1 year ago | |
C++ | C | |
GNU General Public License v3.0 or later | 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.
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]
libui
- BeeWare Toga v0.4.0 – A Python native, OS native GUI toolkit
-
Is there no simple GUI library for pure C?
What about https://github.com/andlabs/libui
-
Capy – Cross-platform library for making true native GUIs in Zig
Fantastic! This is similar to the C library `libui` since it also acts as a wrapper of native libraries of each platform.
If only there was a way to interface to these using some declarative minimal and highly opinionated programming language and paradigm...
-
Mathematical Patterns
For the GUI you will need a library or framework that interacts with your specifiv operating system and allows you to create windows and a canvas to which you can draw. You could give libui a chance.
-
libui-ng-sys: external FFI bindings for libui-ng
libui-ng is a cross-platform GUI library with native widgets written in C. It is based on an earlier, (currently) inactive project known as libui. While Rust bindings for libui have existed for years (see ui-sys and iui), there is no solution for the new libui-ng; libui-ng-sys aims to fill this role.
-
What GUI library should I start with after learning C?
libui
-
Not-gtk GUI Libs/frameworks for plain C
https://github.com/andlabs/libui is very nice, but unfortunately dead, if it serves your purpose consider using it, this is a fork under development https://github.com/libui-ng/libui-ng
-
Ask HN: Is there any cross platform non native GUI written in C that looks good?
https://github.com/andlabs/libui
Better yet, it has excellent DSLs that make it possible to build desktop apps in a way similar to HTML, but much better due to keeping all code dynamic in one language (no static/dynamic multi-language separation/mixing dissonance):
-
Usable cross-platform GUI?
Maybe a module that uses https://github.com/andlabs/libui or a light HTML renderer?
-
Electron Adventures: Episode 82: Glimmer DSL
LibUI is a "portable GUI library for C". It comes with so many disclaimers that it's an incomplete alpha version.
What are some alternatives?
Qt - Qt Base (Core, Gui, Widgets, Network, ...)
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++.
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
audiogridder - DSP servers using general purpose computers and networks
wxWidgets - Cross-Platform C++ GUI Library
Cinder - Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.
nana - a modern C++ GUI library
Boost - Super-project for modularized Boost
GTK+ - Read-only mirror of https://gitlab.gnome.org/GNOME/gtk