Show Navigation
Conversation
Notices
-
i think i’m coming around to a good ecs gui design, but there’s a lot of FP stuff that i keep reaching for that isn’t there. makes me a little sad each time.
i mean, this is a design you can do in C and C++ so FP isn’t strictly necessary, but it does make certain types of operations easier to express in a concise way.
something as simple as a map expression or list comprehension has a huge impact on your ability to express the shape of your graphical components. without these language features, the component structure is obscured by control flow and other less-than-relevant implementation details.
-
at this point it is evident that i *can* make a nice, modern library for this stuff in golang. it is also evident that i wouldn't enjoy using it very much. still going to follow through and make a proof of concept lib for the sake of completeness, but i'm a lot more excited about exploring these same ideas in rust.