PlayBASIC V1.64N2 / V164N3 (Work In Progress) Gallery

Started by kevin, April 22, 2012, 12:07:12 AM

Previous topic - Next topic

kevin

Quotei would assume you would get more people downloading on weekends than during the week?

   nah, mid week is traditionally the busy time for the site.. 

kevin

#121
 PlayBASIC V1.64N3 - Beta 12e

      It would seem the stack issues have been solved, or at least nobody posted anything that doesn't run because of it and nor can i find any local examples that fail because of it.   There's few legacy examples that don't work with newer versions of PB out of the box, often cause from tightening up or filling in some behavior, which may have been none existent  in legacy versions of PB.  

      Been disassembling a lot examples as I go, tedious yes, but the only real way to be sure about what the compiler is producing.   Noticed an oddity with Type Caching when using math short cut operators (+=, -=, ++ etc etc ) on typed variables/arrays.    Where the compiler wouldn't cache the accesses across multiple lines.  Meaning such code wouldn't be an efficient as it could be.   Had noticed this before in the Type Cache Bench Mark, but couldn't see an obvious cause.  Turned out the code generator for the math short cuts wasn't being told to cache them.  

      In previous revisions of 1.64N, this code

PlayBASIC Code: [Select]
       Me.X = Me.X +1
Me.Y = Me.Y +1


     
       was actually quicker (at runtime) than

PlayBASIC Code: [Select]
       Me.X += 1
Me.Y += 1


       
       Now it's the same..

       The optimizer is one of the most beneficial additions for the legacy VM's performance we're ever had.. The picture bellow shows the benchmark running on V1.64L (Learning Edition),  V1.64N3 (today's build) and PBFX V1.77.    Obviously V1.64N3 is much quicker than V1.64L with the optimizer enabled (remember both are running on VM1 runtime).  It's performing so well, it's almost as quick as the legacy VM2 runtime used in PBFX.     What's really interesting, is that edition of VM2, doesn't have Type caching or most of the compile time optimizer...   One can only imagine, how quick that'll be when implemented into Vm3 runtime.  

      This will be the release version, so get downloading and get testing !  



Download

 Get Latest Beta (login required)  (Updated to beta 12e 2012-oct-11th )



Function Performance

      All the stack and instruction set changes has made some fairly significant improvements to the Function Vs Psub bench mark.    We're seeing about a 15-20% speed up in function calling (from the IDE) in V1.64N3 over 1.64N2 (more if you go older).    Which equates to about 1 millisecond gain per test.   Very happy about that.   Attached is a piccy of the bench marks results.   Older results in previous pages.   

       


ATLUS

#122
I'm going to test this beta =) These numbers are very impressive!

all work very well!

p.s. I tried make video to mick4fun arcade game, first i start my fraps demo then i start playBasic and PB don't appear Editor windows.
win7x64
Maybe this is not a bug, but editor.exe really not appear.

stevmjon

to atlus

i had exacly the same issue. i think it is fraps, because my art program won't launch if i have fraps running.
a while back i even e-mailed fraps and told them about this, but they said it is not fraps, even though i have two programs that won't launch while fraps is running.
i hope this works out.

  stevmjon
It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.

ATLUS

Thank You stevmjon, now i am not alone with this issue.

Sigtrygg

Tested Beta 12e and everything work fine!
Looking forward for N3 Version  :)

Greetings

Sigtrygg

kevin


PlayBASIC V1.64N3 - Retail Upgrade

      Well, it's finally here.... have fun !



Download

  PlayBASIC V1.64N3 Retail Upgrade (login required)  (2012-oct-13th )


       


ATLUS


stevmjon

#128
playbasic v1.64 N3 still thinks it's a beta?

check pic.


EDIT:  i did not install this properly. i tried to install this as a standalone program, rather than intall it as a patch.
It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.

kevin


sigh, you'd think by now, people would have learn how to install an upgrade   

BlinkOk

you think by now the product would auto update like every other product

kevin

Quote from: BlinkOk on October 13, 2012, 08:57:22 PM
you think by now the product would auto update like every other product

   No trolling please..   Wish we'd thought of it..   Far from concept,  this was tried at one point.  But it doesn't solve the problem.     To be freely available, all updates must assume must they're being installed over an existing 'complete' version, if the user manually selects a new install path during installation, then it won't work..       

 
 

stevmjon

blimey , sorry about that.

i was too excited to install this, and completely forgot the correct method.
thanks for the update.

  stevmjon
It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.

BlinkOk

not trolling at all. every other product does it and does it well. just solve the problems

baggey

Keep up the good work KEVIN. A little bit of performance here and there makes a big difference!  ;D

Ive tried other languages and guess what, Im using PLAYBASIC still.

Its the best forum for backup and help!

So KEEP ON CHIPPING AND IMPROVING PERFORMANCE.

kind regards BAGGEY
Jesus was only famous because of his dad