Re: The Revenge of the Geeks

From: Arne Vajhøj <arne_at_vajhoej.dk>
Date: Thu, 24 Jan 2013 17:30:17 -0500
Message-ID: <5101b5fc$0$295$14726298_at_news.sunsite.dk>



On 1/24/2013 5:10 PM, BGB wrote:
> I ended up trying to use Java for scripting at one point (since
> Minecraft made it look like maybe this made sense), and ended up using
> my own custom mini-JVM (using a JavaME like subset, mostly due to JNI
> frustration), but soon enough realized that it didn't really make a
> particularly great scripting language (didn't really fit in well with
> the use case, and I couldn't readily "eval()" it).
>
> (I also evaluated using .NET and/or Mono and C# for scripting, but this
> also looked like a big mess).
>
> so, effort mostly shifted back to my custom script language, which is
> more closely derived from JavaScript and ActionScript (with a lot more
> elements from C, Java, C#, ... glued on). (like, hell, I will glue on
> what parts I care about).
>
> it seems to work moderately well for game-scripting tasks, without the
> same level of funkiness as Lua or Python (I more prefer an at least
> vaguely C/Java/C# style syntax, even if the language still has its share
> of funkiness, and the controversy over whether to the use JS/AS or
> Java/C# style declaration syntax, ...).
>
> theoretically, I guess it would be a more direct competitor with Lua or
> similar though.

If one need a scripting language, then a scripting language is often the best choice.

:-)

If you absolutely want to use Java, then use BeanShell.

Arne Received on Thu Jan 24 2013 - 23:30:17 CET

Original text of this message