17cupsofcoffee / seventeencups.net

🌐 Source code for SeventeenCups.net
https://www.seventeencups.net
MIT License
3 stars 3 forks source link

https://www.seventeencups.net/posts/building-a-mud-with-f-sharp-and-akka-net-part-one/ #3

Open utterances-bot opened 5 years ago

utterances-bot commented 5 years ago

Building a MUD with F# and Akka.NET - Part One - Joe Clay

I feel like no matter how many languages I try, I always keep getting drawn back to F#. It's got just about everything I love about functional languages like Elm, Haskell and OCaml, while still giving me access to the mountain of great open source librari…

https://www.seventeencups.net/posts/building-a-mud-with-f-sharp-and-akka-net-part-one/

sksallaj82 commented 5 years ago

Two years later, and this blog is helping people! Thanks for clarifying a lot of the major components of Akka.

17cupsofcoffee commented 5 years ago

@sksallaj82: Glad you're still getting some value out of it 😄 I haven't really had chance to revisit Akka/actor systems for a while (I'm primarily developing in Rust rather than F# these days), but I'd like to give it another try someday.

rastreus commented 5 years ago

@17cupsofcoffee: If you want to revisit actor model systems in the Rust environment, you should check out Citybound. It's an open source, indie city sim game developed in Rust with distributed actors. The developer gave a nice talk at RustFest detailing the actor system (YouTube).

17cupsofcoffee commented 5 years ago

@rastreus: I've seen that talk, it's awesome 😄 I need to take another look at the actor system from that, last time I checked it seemed quite domain-specific rather than general purpose, but that might have changed since then.

sksallaj82 commented 5 years ago

I'm actually seeing quite a few general purposes for it, the way it encapsulates code, is extremely useful when developing micro-services, could also play a useful role in CQRS, as each agent is a single component each with individual responsibility, sending commands and queries from your microservice.. I think it provides a very nice way to organize your code's behavior in a non-blocking fashion. Lately, I've been seeing distributed systems as an integral part of the future for any app really.. and it's tough to visualize without these actor components in my mind. I'm using this design for my mobile app, another for a enterprise website, and personal side projects.

17cupsofcoffee commented 5 years ago

@sksallaj82: Oh yeah, to be clear - I find the actor pattern very applicable to a lot of purposes :) I was talking about the specific library being used in the video that rastreus linked, which (last I saw) was quite specifically tailored to that one project.

Tr0sT commented 4 years ago

Any chance of a second part?

17cupsofcoffee commented 4 years ago

@Tr0sT Probably not any time soon, I'm afraid - mainly been writing Rust rather than F# lately, so it's kinda fallen off my radar.

I would like to try rebooting this series at some point and implementing it with the new Rust async IO features, but not sure if/when I'll find the time 😅