4 major design choices
Makepad’s architecture highlights can be summarized in 4 major designs choice
Live designable/codeable UI DSL for all styling and structure co-developed with a realtime IDE/visual designtool. It is Delphi/Visual Basic but for Rust.
Immediate mode drawing flow to draw all 2D shapes and output directly to the GPU’s instanced drawing APIs (https://www.youtube.com/watch?v=Ude1zZbf20s) keeping CPU cost very low. No vector processing needed.
Shader styling language integrated in UI DSL to style and animate widgets with simple familiar canvas-like API running on GPU
Support a mix of immediate mode and retained mode in terms of UI state management so you can choose the optimal form for your problem. Immediate/Retained mixing enables complex widgets (editors, infinite scrollviews, graphs)
1. Live designable/codeable UI DSL for all styling and structure co-developed with a realtime IDE/visual designtool. Think delphi/visual basic for Rust.
Use the 'live' connection of makepad studio or write it by hand in vscode to update the application in real-time. Real time live update speeds to iterate the UI design with either a visual designtool (WIP) or code editor