Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Write a network simulator for fun

Tags:

oop

I want to write my own network simulator, for fun and for personal challenge. I hope to learn both new programming techniques, and a little bit more about networking. Previous object-oriented attempts ended very quickly, but I've recently downloaded and played with Microsoft's Axum (a new version was released today) and their Concurrency and Co-ordination Runtime. As I come from a very OO dominant background, I had never heard of Actor-oriented programming before; now it seems I've had my head in the sand until Scala and F# brought the paradigm to me.

My questions are: a) is actor-oriented programming a better choice than object-oriented programming for this task, and if so b) where is a good place to start learning actor-oriented design?

like image 556
Jono Avatar asked Apr 27 '10 18:04

Jono


1 Answers

A) Contrary to what the cs academia might want you to believe, all models are tools to be used, not something to constrain yourself to.

B) You will learn by doing it. Might want a less ambitious project for your first go though. Maybe even start by playing around with this Java library since the heavy OO background you come from I assume is java? http://osl.cs.uiuc.edu/af/

like image 63
RandyMorris Avatar answered Nov 07 '22 03:11

RandyMorris