to provide user space threading. The main difference is that all the 'C tricks' are generated automatically by the language translator. If you're using gcc then the switch is replaced by a computed jump (a gcc language extension). On my AMD64/2800 time for creating 500,000 threads and sending each a message is 2 seconds, most of the time probably being consumed by calls to malloc, so the real thread creation and context switch rate is probably greater than Meg/sec order.. just a tad faster than Linux. Both MLton and Haskell also support this style of threading with high thread counts and switch rates (although the underlying technology is different).
Apparently, men prefer war games..
including 'strategy' games. Where is one
I can play on my PC? [NT, Win98 or Linux]
Strategy games exist: Chess and Go are strategy
games. There are lots of military board games
in the 'strategy' class.
While they also depend on tactics,
that is, short term planning and response,
the key feature of these games is the need
for long term planning. That's what strategy
is about: supply, logistics, finance,
production, technology...
I've never seen even ONE such game on a computer.
Perhaps there is an element of strategy in
Advanced Civilisation, but if you think
Starcraft is a strategy game, you don't know
what strategy is. (Starcraft is an arcade game,
it doesn't rate in the tactics category either)
Modern games have superb production quality,
excellent graphics, generally poor interfaces,
occasionally interesting tactics, but
not a one has any serious strategic content.
And this is a great pity, because it is almost
impossible to build a serious strategy game
on a board: you really need a computer
to manage the complexity.
FYI this technique is heavily exploited in the programming language Felix:
.. just a tad faster than Linux. Both MLton and Haskell also support this style of threading with high thread counts and switch rates (although the underlying technology is different).
http://felix.sf.net/
to provide user space threading. The main difference is that all the 'C tricks' are generated automatically by the language translator. If you're using gcc then the switch is replaced by a computed jump (a gcc language extension). On my AMD64/2800 time for creating 500,000 threads and sending each a message is 2 seconds, most of the time probably being consumed by calls to malloc, so the real thread creation and context switch rate is probably greater than Meg/sec order
Apparently, men prefer war games ..
including 'strategy' games. Where is one
I can play on my PC? [NT, Win98 or Linux]
Strategy games exist: Chess and Go are strategy
games. There are lots of military board games
in the 'strategy' class.
While they also depend on tactics,
that is, short term planning and response,
the key feature of these games is the need
for long term planning. That's what strategy
is about: supply, logistics, finance,
production, technology...
I've never seen even ONE such game on a computer.
Perhaps there is an element of strategy in
Advanced Civilisation, but if you think
Starcraft is a strategy game, you don't know
what strategy is. (Starcraft is an arcade game,
it doesn't rate in the tactics category either)
Modern games have superb production quality,
excellent graphics, generally poor interfaces,
occasionally interesting tactics, but
not a one has any serious strategic content.
And this is a great pity, because it is almost
impossible to build a serious strategy game
on a board: you really need a computer
to manage the complexity.