Flash Player 10 VM

Wow.

I have not done actual benchmarking on this. But I think that just installing flash player 10 made my timestep calculations a whole lot faster! (From 3/4ms to 1/2ms). Furthermore, graphics (vector rendering) have sped up too. FPS went from 50 to about 100, for a whole lot of vector objects, controlled by Box2D.

Note that this is for stuff that is still compiled for flash 9! (So I'm not using any "AS3.5" stuff like vectors)

If I can figure out how to run both in Flash 9 and Flash 10 I can do neat benchmarking. I don't want to have to reinstall another player every time.

More good news: If you do use AS3.5, you can copy the drawing commands from shapes drawn in the IDE, that means that you won't have to do SVG parsing anymore, but you can keep stuff internal to Flash! (For example, make a MovieClip/Sprite with 2 layers, 1 is graphics, the other is a shape that is automatically converted to Box2D)

ITT: We talk about how awesome Flash 10 is. 😆
It does sound awesome, but I haven't given it a whiz yet. Mainly because once I start, it means a truck load of work updating things for it.

And yes, I predict that the provided drawing framework will quickly wipe out the various kludgy techniques we've got so far. Pity, I preferred the SVG import idea, even if it was more work.
Any idea when flash 10 is supposed to be officially released?
It has: http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash

And Creative Suite 4 was also released, yesterday I think.
Keeping in mind that Flash Player 10 is nowhere near as ubiquitous as 9, and probably won't be for some time, how do people feel about optimizing Box2DFlash for 10, with the caveat that once we go 10, we probably won't go back?
I think you just said it, I myself won't be switching to compiling for F10 for some time.

We still win though, in that FP10 is not as sensitive to the performance issues we used to have in FP9. (Box2D already runs faster in FP10, even if it's compiled for FP9). For a while, I think that sticking with AS3 is best, people can still use some AS3.5 techniques like copying vector graphics from shapes, and if users have FP10 installed they will profit from better performance. But it won't force them to use FP10.
shaktool,

What optimizations did you have in mind? The only fundamental change to AS I've read about so far is typed, fixed length arrays and vectors. Most of the other additions to the language are display stuff that Box2d doesn't touch. I'm really curious what parts of Box2d could be speed up by Flash 10.

Personally, I'm sold on 10. Hardware acceleration FTW.
Good news!
Yeah, I was mostly just referring to the Vector type, which would be useful for both polygon contact detection and also for broadphase contact detection.

Oh, and to be clear, I don't believe that hardware acceleration is the important update:
http://blog.pixelfumes.com/?p=213
Unless you were referring to improved usage of multiple CPUs.

Original thread: https://box2d.org/forum/viewtopic.php?t=1621