Posts Tagged ‘cooperative multitasking’

MVC, my friend

Posted by Jussi Lepistö on Dec 15 2007

As I was finishing high level design of scene management, I realized it was starting to resemble the Model-view-controller pattern. The (hopefully) more or less final design is sort of a hybrid of the alternatives I already presented:

Entities contain arbitrary data in attributes. These compose the Model.
Entities can contain any amount of features; these are [...]

2 responses so far

Tasks, tools and tribulations

Posted by Jussi Lepistö on Nov 21 2007

Inspired by Entity Crisis, I’m finally taking the plunge and converting my task scheduler to use generator-powered cooperative multitasking instead of normal functions. It should make both the task scheduler implementation and future task writing much more elegant. I’m also thinking of extending it later with threadable, networked and Stackless-based tasks. More on this as [...]

Comments Off