Monday, September 14, 2009

ActionScript 3 - threads and mulithreading

there is no thread support in action script
so....what we gonna do? how to implement event server( reactor) ?
i went over internet....
and... nothing except pseudothreads implementation...
i coul use java threads wrappers .....
anyways,
for now i implemented poseudo threads engine:
Iexecutable interface with 2 methods
execute() and boolean isOver()
i have executable manager that runs timer and defines event handler for on timer tick event, what is actually runs over all registered IExecutables [ it firstly check if isOver first and if no only then continues running....
we will see it works :)

Sunday, September 13, 2009

Car accident

Godam' car accident... my back still pains...and as i understand it will pain for 3-4 more weeks
(maybe more)
that's a time i can learn something new...
i can't sit , and laying down and reading make me a headache...
but i'm trying...
I'm sure that wevery person can know EVERYTHING about anything he wants..
starting from quantum mechanics and even things much more complex.
The person just needs 1 out of 2 ( or both ):
1 . a good guide ( person that knows the subject and knows the way to explain
2. being a researcher - to investigate the subject and build the knowledge picture of it...
which means : books / internet/libraries and much more..

I' m definitely the 2 and probably sometimes 1 ..
So,
for the first week i went over DSP: digital signal processing...that's very interesting...
probably i will post some overview ...
I had some idea in sound processing and checked it...maybe later i 'll implement it...

Now i'm reading about flash and action script programming....