{"id":1963,"date":"2011-03-29T23:22:49","date_gmt":"2011-03-29T12:22:49","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=1963"},"modified":"2011-03-29T23:26:07","modified_gmt":"2011-03-29T12:26:07","slug":"more-little-updates","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2011\/03\/29\/more-little-updates\/","title":{"rendered":"More little updates"},"content":{"rendered":"
A bunch of little technical updates today.<\/p>\n
First, I’ve updated the VectorStorm engine so that it’ll compile successfully against iOS SDK v4.3. \u00a0I’ve also got both the standard VectorStorm Testbeds and MMORPG Tycoon 2 compiling under the newly released XCode 4. \u00a0My opinion of XCode 4 is complicated; \u00a0I can understand the general outcry from many developers, but there’s lots of cool stuff in there too. \u00a0Whether the cool stuff outweighs the concerns, I’m not really sure. \u00a0But for the next couple of days, I’ll be using XCode 4 as my day-in day-out compiler to see how well I adapt.<\/p>\n
Second, I’ve begun implementing some threading primitives into VectorStorm. \u00a0These are not yet compiling under Windows (since Microsoft has an entirely different threading model than UNIX-based systems), but I do now have both mutexes and threads working under OS X. \u00a0I’ll get the Windows version working tomorrow. \u00a0These little tools are going to be critical for MMORPG Tycoon 2, due to the amount of processing that it has to do; \u00a0it’s just going to be a lot easier to put some of that work into a separate thread.<\/p>\n
Do be aware, though, that none of the rest of VectorStorm is written to be threadsafe. \u00a0These multithreading classes should really only be used for simple tasks that don’t involve calling into the various VectorStorm libraries at all. \u00a0If you have lots of calculations to be done in the background, then that’s fine. \u00a0But probably best not to try to allocate memory or start playing sounds from inside a thread or anything. \u00a0:)<\/p>\n","protected":false},"excerpt":{"rendered":"
A bunch of little technical updates today. First, I’ve updated the VectorStorm engine so that it’ll compile successfully against iOS SDK v4.3. \u00a0I’ve also got both the standard VectorStorm Testbeds and MMORPG Tycoon 2 compiling under the newly released XCode 4. \u00a0My opinion of XCode 4 is complicated; \u00a0I can understand the general outcry from…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[4,3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-vF","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1963"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=1963"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/1963\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=1963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=1963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=1963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}