|
From: | Steven H. Rogers |
Subject: | Re: [Swarm-Modelling] Something Glen said |
Date: | Mon, 27 Nov 2006 06:21:16 -0700 |
User-agent: | Thunderbird 1.5.0.8 (X11/20061025) |
Marcus G. Daniels wrote:
I believe JavaScript is an equal or better of Objective C for models that are best conceptualized in a late binding framework. Anything can be changed, code can be evaluated on demand, instance variables created or destroyed, With a good ahead of time compiler (http://www.mono-project.com/JScript#Introduction) and a high performance native code JIT (http://www.mozilla.org/projects/tamarin), JavaScript becomes an attractive language for ABM. With XPCOM connectivity, it isn't necessary to choose w.r.t. to Swarm. Models could be written in all JavaScript and agent methods would run at speed even in a [upcoming Tamarin-equipped] browser.
JavaScript is quite powerful, though generally under appreciated. A model executing in the browser calling Swarm methods with XPCOM seems rather tightly coupled and would work best if the browser and Swarm were running on the same machine, or perhaps machines connected by a fast, local network. Is this the anticipated use case?
[Prev in Thread] | Current Thread | [Next in Thread] |