The Bag of Holding

Profile
Bellevue, WA
A bipolar guy in a pressure-cooker industry
1,455 comments
44 followers
628 entries
Advertisement
ApochPiQ
March 24, 2009
GDC, Day Something
Spent the morning in a session on making AI characters more interesting, and then snuck out of the AI summit to go see a day-long tutorial on multithreading techniques for games. Intel has some pretty slick tools coming out soon, which really make it a breeze to find and eliminate common threading …
507 views
ApochPiQ
March 23, 2009
GDC 2009 - Day 0
I'm officially checked in and hanging out at the press lounge here at GDC. So far everything has been fairly smooth (at least for me) and it promises to be a nice and busy year.

On the downside, nothing terrifically interesting has happened yet, so I really have very little to say.

I'm covering the A…
467 views
ApochPiQ
March 21, 2009
Epoch GDC'09 Release Now Available
Epoch GDC2009 Preview Release
I've officially completed the GDC 2009 Preview Edition of the Epoch SDK. This release includes quite a few major changes, including the foundations of Epoch's all-important multiprocessing support.

You can get the juicy goodness directly from here on GDNet - or, you can …
575 views
ApochPiQ
March 17, 2009
Celebration time...
I finally got a lockless FIFO implemented for passing messages between Epoch tasks. Like most lockless code, it works by the skin of its teeth, and a little dose or two of pure luck.

Here's the final code for those interested:
class LocklessMailbox
{
public:
//
// Construct and initialize the read and…
511 views
ApochPiQ
March 16, 2009
Stage 1 Completed... Get Ready!
After significant amounts of scouring across the intertron, and after pulling out large clumps of hair, I've managed to get lock-free message passing implemented in Epoch. This is cool because it makes it trivial to throw hundreds of messages around between tasks, and it's much more efficient than …
515 views
ApochPiQ
March 15, 2009
Locklessness is evil!
The bulk of my day has been sacrificed upon the alter of the synchronization gods. I am trying (thus far with little success) to implement a lock-free queue for sending messages between Epoch tasks. While progress is being made, it's slow going, as I'm pretty much entirely in uncharted territory.

As…
503 views
ApochPiQ
March 14, 2009
Talking about Epoch. Again.
Haven't really had any single big focus lately; instead I'm just working on polishing up existing functionality, doing some code cleanup, and doing the occasional bugfix.

The results of this aren't really easy to show, obviously, but there is one advance - the acceptmsg() function can now be passed …
441 views
Advertisement
ApochPiQ
March 13, 2009
Sleep is for the w... we.... weak. *zzz*
Against my better judgment, I decided to press forward on getting message passing functional. It's taken a fair bit of time, but actually it isn't quite as bad as I thought it would be.

At the moment I use a simple mutex-guarded list of messages, referred to as a task's "mailbox". When a message is …
396 views
ApochPiQ
March 11, 2009
Progress, of a kind
After some extended discussions, I've come up with a system that I'm almost completely happy with.


entrypoint : () -> ()
{

task(async)
{
responsemap(responses)
{
some_message(integer(foo)) => { do_stuff(foo) }

other_message(integer(lots), integer(of), integer(params)) =>
{
do()
450 views
ApochPiQ
March 11, 2009
Make yourself famous!
I've been toying around with various syntax options for the message passing model. So far I'm not terribly happy with any of them, but I have settled on one of the lesser evils. I'd like to just kick this out and see if anyone has some thoughts on how to improve it.

Unfortunately I can't afford to l…
450 views
Advertisement

Popular Blogs

shawnhar
Generalist
101 Entries
13 Followers
klg71
Generalist
53 Entries
1 Followers
ApochPiQ
Generalist
628 Entries
44 Followers
15 Entries
13 Followers
johnhattan
Programmer
1,277 Entries
50 Followers
Advertisement