The State of the GUI

drug drug2004 at bk.ru
Thu Oct 25 07:33:12 UTC 2018


25.10.2018 03:24, Adam Wilson пишет:
> You are both technically correct, but the word "efficiency" can be used 
> in two different ways here. Immediate mode can be incredibly efficient 
> from a rendering performance standpoint. But in general they are much 
> less efficient than retained mode from a developer standpoint. So the 
> question is, what kind of efficiency is more important?
> 
> My vote is for developer efficiency. Most UX's need a minor fraction of 
> what even an Intel GMA 3000 can pump out, much less that of what a 
> Vega64 or GeForce RTX 2080 Ti. I only have a Radeon Pro WX4100 because 
> of the fact that it has four DP1.2 outputs in a half-height form factor. 
> I certainly never get with a parsec of actually stressing the capacity 
> of rendering silicon.
> 
> But if I can do something with 10 lines of code over 1000 lines of code 
> I will take that option ever single time. My time is WAY more expensive 
> than some GPU time.
> 

Combining power of D metaprogramming and immediate gui I have both 
developer efficiency and rendering performance efficiency. For example I 
failed to implement custom tree view using Gtk and Qt/Qml and it was 
really simple to do it using immediate gui. But I see drawbacks of 
immediate gui too.


More information about the Digitalmars-d mailing list