book-of-examples icon indicating copy to clipboard operation
book-of-examples copied to clipboard

topic proposal: discrete event simulator

Open gvwilson opened this issue 1 year ago • 5 comments

Simulation was one of the reasons OOP was invented, and interacting objects with their own state and control flow is a natural way to represent things like the flow of messages through a complex tangle of microservices. Showing how to do such simulations in a pure functional language would put a spotlight on the differences between the two paradigms.

gvwilson avatar Mar 10 '24 11:03 gvwilson

DES is fun. I've experimented a little using Elm.

This would be a great topic I think. It would be a good excuse to implement a priority queue data structure for the event list 😀

If I get the text editor done I would be happy to chip away at this of no one else picks it up.

lukewilliamboswell avatar Mar 10 '24 23:03 lukewilliamboswell

I'll happily take this on! (and no more chapters unless I'm done with this and ftp, I promise) Talked with @lukewilliamboswell about this on zulip and said he's ok with me doing this, but I don't want to talk on his behalf. Realized it would have been better to keep communication under the issue, so will do so in the future.

HajagosNorbert avatar Mar 11 '24 12:03 HajagosNorbert

it's yours - thank you.

gvwilson avatar Mar 11 '24 14:03 gvwilson

I thank you.

HajagosNorbert avatar Mar 11 '24 16:03 HajagosNorbert

I look forward to seeing this develop. I'm no expert, just think simulation is cool. 😃

lukewilliamboswell avatar Mar 11 '24 18:03 lukewilliamboswell