User loginNavigation |
archivesIterative Functional Reactive Programming with the Nu Game Engine - An Informal Experience ReportThis is an experience report on the design and usage of the Nu Game Engine, a purely-functional 2D game engine written in F# - Iterative Functional Reactive Programming with the Nu Game Engine Synopsis The Nu Game Engine certainly qualifies as 'functional reactive' in that - However, I cannot describe it as the typical first-order or higher-order FRP system since it uses neither continuous nor discrete functions explicitly parameterized with time. Instead it uses a classically-iterative approach to advancing game states that is akin to the imperative tick-based style, but implemented with pure functions. Thus, I gave it the name of 'Iterative FRP'. It's a purely-functional half-step between classic imperative game programming and first / higher-order FRP systems. This document discusses the major plusses and minuses to using this 'iterative' FRP style. An aside about the document - I released an earlier version of this PDF along with an earlier version of the engine, but had to make significant revisions due to a fundamental flaw in the engine's previous design, and thus removed it. Hopefully this newer version will inform us about the properties of this 'iterative' style of FRP in contrast to the known styles. |
Browse archivesActive forum topics |
Recent comments
22 weeks 2 days ago
22 weeks 2 days ago
22 weeks 2 days ago
44 weeks 4 days ago
48 weeks 5 days ago
50 weeks 3 days ago
50 weeks 3 days ago
1 year 1 week ago
1 year 5 weeks ago
1 year 5 weeks ago