Does push-pull FRP help when implementing games?

后端 未结 1 1356
轻奢々
轻奢々 2021-02-01 16:38

I\'ve been comparing pull-only FRP (ie netwire) with push-pull FRP (ie reactive-bannana) in the implementation of games. Are there advantages to one over the other? Things I\'ve

相关标签:
1条回答
  • 2021-02-01 17:30

    From what I can read here and there, Netwire and reactive-banana have different purposes and goals. Netwire specialises in modeling framed signals, such as a game server, because what a game server typically does is sending its state to client in periodic frames. Reactive-banana would be the better choice for creating a GUI because a GUI is a purely event-driven model and is not tolerant to time leak.

    It seems to me you can use both, depending of which aspect you want to implement.

    0 讨论(0)
提交回复
热议问题