This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-12-09 13:28:28

RHY3756547
Scratcher
Registered: 2009-08-15
Posts: 1000+

True Compile-To-Java for Uploads

I think that instead of running an sb file on the Java Player Scratch should compile the code into raw Java with Scratch-API modifications. This would see a massive increase in performance as the Java program would not have to decode the commands before it executes them, but instead execute them immediately without checking through every block for what one it is. Scratch applications could possibly be compiled into Locally executable .jar files this way, too.

If you compare scratch's speed to the speed of many other Java Applications then you can notice this difference greatly.

Offline

 

#2 2009-12-09 13:55:26

technoman
Scratcher
Registered: 2008-07-24
Posts: 500+

Re: True Compile-To-Java for Uploads

I like the idea.

Offline

 

#3 2009-12-13 17:56:46

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: True Compile-To-Java for Uploads

I don't
-------------------------------------------------------------------------------------------------------------------
The following errors need to be corrected before the message can be posted:

At least 60 seconds have to pass between posts. Please wait a little while and try posting again.

Offline

 

#4 2009-12-13 21:44:09

fanofcena
Scratcher
Registered: 2008-07-03
Posts: 1000+

Re: True Compile-To-Java for Uploads

i gave the idea months ago but nobody bother btw hav u seen the performance of squek it runs far faster then scratch I think Byob Gives u an Ability to Edit Scratch Basic Blocks just check the defination its unusually long and slow downer
@Rhy
i think u should see the defination cause removing some extra coding will improve ur things performance
and btw Gale 3d gives a blazing FPS at C++
i got 120 Frames persecond on C++

Last edited by fanofcena (2009-12-13 22:34:48)


http://i53.tinypic.com/2vxr2c0.png Click whats above u might make a cute planet happy ^_^

Offline

 

#5 2009-12-13 22:28:55

Jonathanpb
Scratcher
Registered: 2008-07-25
Posts: 1000+

Re: True Compile-To-Java for Uploads

Not a bad idea...


"Human beings... must have action; and they will make it if they cannot find it.
-Charlotte Brontë

Offline

 

Board footer