Can anyone recommend a game framework or engine, for any language, that you’ve found leads to particularly nice code? I’m writing a tool whose main purpose is prototyping games & interactive media, and I’m interested in studying APIs that game devs find particularly usable.
Is there a language that can express concurrent, independent whenever-predicate? I’d subscribe to that newsletter.
-
-
You can look at the old C++ implementation¹ (pull-based semantics—checks every event condition every step) or the in-progress Haskell rewrite² (push-based—only checks conditions that depend on variables that were changed). ¹ https://github.com/evincarofautumn/hap … ²https://github.com/evincarofautumn/hap-hs …
-
There’s a lot happening beyond my ken here. Sober reflection required.
End of conversation
New conversation -
-
-
“for all” is also intended to quantify over a container at all points in time: whenever an object is added to or removed from the container being observed, event listeners are added or removed accordingly.
-
Indeed. Which means that said machinery implements a great deal of fidgety things we’d all love to abstract. But can/has it be/en done practicably?
-
I don’t think it has; that’s why I’m writing Hap.
Basically, Hap = spreadsheets + equating variables with cells + executing code in response to changes.
I’ve heard good things about Rx <https://github.com/dotnet/reactive > but don’t know how similar it is. See also: FRP (e.g. netwire). -
Rx is pretty obviously (in my opinion, as expressed in extant UI frameworks, with high uncertainty) a dead end. I think FRP has ideas yet to be mined profitably.
End of conversation
New conversation -
-
-
I have a feeling reflex would be able to do something like that. It’s quite steep in terms of learning curve though.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.