Skip to content

Add compile-time known design path #74

@ProgramMax

Description

@ProgramMax

Is your feature request related to a problem? Please describe.
Currently, maxGUI works for systems that don't know their UI at compile-time and need to change things at run-time. This is good for situations where reading a file or fetching data from a server dictates how the UI should look.

But many apps do not need this flexibility. And they currently pay a bit of a price for it.

Describe the solution you'd like
There should be a compile-time-known-design path (perhaps using type lists instead of type erasure, for example).

Describe alternatives you've considered
The current path uses very little memory and performance overhead. It seems to beat many other GUI libraries already. So perhaps this optimization is not needed. However, it is still wasteful. (And as a side note: A programming pet peeve of mine is how much we know at compile-time but defer to run-time at great cost.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions