jmoenig / Snap

a visual programming language inspired by Scratch
http://snap.berkeley.edu
GNU Affero General Public License v3.0
1.51k stars 748 forks source link

suggestion #2721

Open gego51 opened 3 years ago

gego51 commented 3 years ago

hi, is it possible for snap to integrate a javascript compiler for to accelerate the viewing of projects like turbowarp for scratch?

jmoenig commented 3 years ago

Snap has the same turbo mode as Scratch has. Scratch also has an experimental JIT JavaScript compiler for higher-order-functions. The context menu of the MAP/KEEP/COMBINE blocks lets you "compile" them. BUT, for things to become really fast use Snap's hyperblocks, i.e. the ability to apply most reporters not just to scalars, but also to vectors (lists of values), matrices (tables - lists of lists) and multi-dimensional data structures.

gego51 commented 3 years ago

ok

brianharvey commented 3 years ago

On 11/21/20 6:04 AM, Jens Mönig wrote:

Snap has the same turbo mode as Scratch has. Scratch also has an experimental JIT JavaScript compiler for higher-order-functions. The context menu of the MAP/KEEP/COMBINE blocks lets you "compile" them. BUT, for things to become really fast use Snap's hyperblocks, i.e. the ability to apply most reporters not just to scalars, but also to vectors (lists of values), matrices (tables - lists of lists) and multi-dimensional data structures.

/Scratch also has/Snap! also has/