The problem that took him 5 years to fix in C++, I solved in a minute with D

Guillaume Piolat first.last at gmail.com
Sun Mar 20 11:06:05 UTC 2022


On Sunday, 20 March 2022 at 10:52:31 UTC, Ola Fosheim Grøstad 
wrote:
> On Monday, 14 March 2022 at 09:51:34 UTC, Guillaume Piolat 
> wrote:
>> On Thursday, 10 March 2022 at 15:49:36 UTC, Paulo Pinto wrote:
>>> D, well it has MIR and vibe.d, that is about it.
>>
>> Dplug is an audio plugin framework with support for 
>> Linux/macOS/Windows, VST2/VST3/AAX/LV2/AUv2, with unique 
>> features being the following: PBR rendering, UI scripting,
>
> Interesting that you have added PBR, is this real time or for 
> rendering of static images?

It is optimized (all vector, parallelized tiled, dirty 
rectangles, mipmapped) but ultimately if you really want 60fps 
it's better to use the "raw" layer on top to redraw.
(typically: the background of a widget is in the PBR layer, and 
the curve and points on top are in the Raw layer and real-time 
updated. This caches the PBR layer output.).
Saving CPU is always useful for general audio stability, so GUI 
bottlenecks are quite important.

All in all: more GUI work, less filesize, larger memory usage 
(about 60mb more per instance), a look that can look 
approximately realistic, and when doing the UI it can feel like 
sculpting.


More information about the Digitalmars-d mailing list