Thread: Shard revolutions Event Manager < Hyperion's Event Manager?

Results 1 to 7 of 7
  1. #1 Shard revolutions Event Manager < Hyperion's Event Manager? 
    Banned
    Join Date
    Jul 2009
    Posts
    383
    Thanks given
    4
    Thanks received
    9
    Rep Power
    0
    What makes Hyperion's event manager more reliable/stable or whatever compared to Shard Revolution's? I heard that Hyperion's was much better.
    Discuss?

    I'm going to implement one into my framework I'm writing.

    (I'm expecting a massive reply from Graham, like always )
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Sep 2007
    Age
    29
    Posts
    2,396
    Thanks given
    5
    Thanks received
    436
    Rep Power
    902
    I had a quick glance at it the other day when I was doing my magic in 30mins, Looked fairly similar to me, besides the way events are submitted to be executed.
    Hyperion V2 Martin's Updates.
    [Only registered and activated users can see links. ]

    Scar says:
    i hate it when it hits your face
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Oct 2007
    Posts
    2,413
    Thanks given
    254
    Thanks received
    479
    Rep Power
    2785
    Hyperion uses a chain of different "event managing" systems. If I was to explain to you how you how the entire event chain of hyperion works it would take me a while. So I'll just tell you that hyperion is ran by Tasks and Events, they are all executed in the GameEngine. So if you want to learn how things work, look in that class.

    The main part that makes hyperions event managing system better than shards is because it's multi-threaded, unlike shard there was only one thread that did the event work.

    Just wait for Graham to come and give you a 10 page explanation.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jul 2009
    Posts
    383
    Thanks given
    4
    Thanks received
    9
    Rep Power
    0
    Haha okay thanks guys.
    Reply With Quote  
     

  5. #5  
    brb ridin da storm

    blakeman8192's Avatar
    Join Date
    Dec 2012
    Age
    28
    Posts
    2,010
    Thanks given
    802
    Thanks received
    1,357
    Rep Power
    286
    Quote Originally Posted by Gnarly View Post
    Hyperion uses a chain of different "event managing" systems. If I was to explain to you how you how the entire event chain of hyperion works it would take me a while. So I'll just tell you that hyperion is ran by Tasks and Events, they are all executed in the GameEngine. So if you want to learn how things work, look in that class.

    The main part that makes hyperions event managing system better than shards is because it's multi-threaded, unlike shard there was only one thread that did the event work.

    Just wait for Graham to come and give you a 10 page explanation.
    I don't believe that the event system itself is mult-threaded, because events are used for scheduling repeated game logic (player updating, npc updating, etc) so I think it all runs in one thread. The task system makes use of two thread pools: the main thread pool, and the logic executor (single threaded for logic safety).
    I don't remember investigating the event handler in hyperion but I'm pretty sure that it is more well-written (it might even be a BlockingExecutorService instead of one that loops).
    rest in peace Qemist, Izzy, TeChNo PuNk, Impulser, & bootnecklad
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Jul 2009
    Posts
    383
    Thanks given
    4
    Thanks received
    9
    Rep Power
    0
    Thank you Blake
    Reply With Quote  
     

  7. #7  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,074
    Thanks given
    2,625
    Thanks received
    3,578
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by blakeman8192 View Post
    I don't believe that the event system itself is mult-threaded, because events are used for scheduling repeated game logic (player updating, npc updating, etc) so I think it all runs in one thread. The task system makes use of two thread pools: the main thread pool, and the logic executor (single threaded for logic safety).
    I don't remember investigating the event handler in hyperion but I'm pretty sure that it is more well-written (it might even be a BlockingExecutorService instead of one that loops).
    It uses multiple threads for updating. I'll write a larger explanation when I have some more time.

    I would say Hyperion's is better than Shard's although it's only designed for use within Hyperion.
    .
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •