Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Scripting technologies  (Read 7054 times)
0 Members and 1 Guest are viewing this topic.
Offline markus.borbely

Junior Devvie

« Posted 2009-02-23 10:21:07 »

I wonder if you would like to help me make an comparison of different scripting engine available in java. Maybe make this thread sticky? If you reply with more or argue something, I will enter it in the list:

For each scripting language:
* Name
* Introduction
* Status (dead or alive)
* Deployment
* Pros
* Cons

I start with:

Name: Beansell
Description: This scripting language is very java like, but with a few things working differently.
Status: I think it is dead (but working well)
Deployment: Include the jar.
Pros: Easy to develop (both the actual scripting language and to include it in your application). Flexible variables inside the script, before you run a script you can set any value to be used inside the script.
Cons: Not the fastest scripting language around. Not 100% java-like.
Offline CommanderKeith
« Reply #1 - Posted 2009-02-23 16:20:18 »

Name: Janino (
Description: exact Java syntax, without any weird quirks like BeanShell
Status: Actively developed (i think)
Deployment: Include the jar.
Pros: Fast to run, since the code is compiled to java byte code which the VM can optimise using the Hotspot compiler. Uses the java syntax.
Cons: Can not process code which includes some of the more recent java language advancements, eg generics and varargs.

Offline whome

Junior Devvie

Carte Noir Java

« Reply #2 - Posted 2009-03-06 12:08:38 »

Name: Javascript, Java Scripting Examples
Descriptioin: javascript engine
Status: one of the "official" Sun java script engines
Deployment: use JDK6/JRE6 and its there already

My few scripting tests. I don't have anything to give benchmarking or feature matrix. But after a short experimentation I find Java6 internal Javascript engine to be a fine candidate.
* it's there already on everyones machine (JDK6, JRE6)
* no additional .jars required
* easy to make app-domain interface+classes and call functions from javascript or vice-versa
* can move back and fort class instances

My example has JRuby variation, it worked but cannot say much about it. Ruby syntax is still new to me.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Nate

« JGO Bitwise Duke »

Medals: 167
Projects: 4
Exp: 14 years

Esoteric Software

« Reply #3 - Posted 2009-04-03 19:22:27 »

* Name: Pnuts
* Introduction: In development since 1997 as a side project of a Sun Japan employee, Toyokazu Tomatsu.
* Status (dead or alive): Alive. Still actively maintained by the original author.
* Deployment: JAR.
* Pros:
  • Shares type system with Java, which makes for cleaner integration.
  • Fast.
  • Stable.
  • Compiles to bytecode or can run interpreted.
  • Source for the Pnuts language is well written.
  • Designed to be similar to Java syntax. To add expressiveness, new syntax is not avoided (unlike Beanshell), but it is kept to a minimum (unlike Groovy). Generally the new syntax is optional, but useful.
  • Thorough documentation.
  • Nice module system for reusing code.
  • Comes with many useful modules.

* Cons
  • Has never been hyped/marketed aggressively, so it lacks a large user community. The author and a handful of users actively answer questions on the mailing list though.
  • No IDE support. This is the toughest part of using most JVM languages. Pnuts does have its own simple debugger for stepping through scripts, but it is primitive.

Offline Roquen

JGO Kernel

Medals: 517

« Reply #4 - Posted 2009-04-05 09:49:49 »

It would probably make sense list the licensing terms of each as well.
Pages: [1]
  ignore  |  Print  

EgonOlsen (76 views)
2018-06-10 19:43:48

EgonOlsen (56 views)
2018-06-10 19:43:44

EgonOlsen (76 views)
2018-06-10 19:43:20

DesertCoockie (258 views)
2018-05-13 18:23:11

nelsongames (156 views)
2018-04-24 18:15:36

nelsongames (155 views)
2018-04-24 18:14:32

ivj94 (896 views)
2018-03-24 14:47:39

ivj94 (160 views)
2018-03-24 14:46:31

ivj94 (809 views)
2018-03-24 14:43:53

Solater (173 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!