rewritten theory about JavaScript

This commit is contained in:
Jeena Paradies 2011-05-12 22:10:23 +02:00
parent 9a9858e5d2
commit 77870a609f

View file

@ -3215,8 +3215,7 @@ Erlang is not a very popular language for game development, therefore the
interface to different virtual machines which would run the game code. interface to different virtual machines which would run the game code.
This way a game developer can write the game in his favorite language while This way a game developer can write the game in his favorite language while
the server part still is written in Erlang and can benefit from all the the server part still is written in Erlang and can benefit from all the
advantages of the Erlang language. advantages the Erlang language provides.
In this section, a few potential languages are given.
\end_layout \end_layout
\begin_layout Subsection \begin_layout Subsection
@ -3225,20 +3224,21 @@ JavaScript
\begin_layout Standard \begin_layout Standard
JavaScript is a prime GDL candidate for the GGS. JavaScript is a prime GDL candidate for the GGS.
The language is very flexible, a general knowledge of the language is present The language is very flexible, and a large base of developers within the
in the computer science community, furthermore there are virtual machines web community is using this language on the client side within the browser
readily available for JavaScript. and therefore are used to it.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
JavaScript has gained a lot of popularity lately, it is used in large projects JavaScript, as a interpreted script language, has gained a lot of popularity
such as in other fields of computer science lately.
It is used as a server side language in large projects such as
\emph on \emph on
Riak Riak
\emph default \emph default
\begin_inset Foot \begin_inset Foot
status open status collapsed
\begin_layout Plain Layout \begin_layout Plain Layout
\begin_inset Flex URL \begin_inset Flex URL
@ -3256,7 +3256,7 @@ http://wiki.basho.com/An-Introduction-to-Riak.html
\end_inset \end_inset
, or
\emph on \emph on
CouchDB CouchDB
\emph default \emph default
@ -3311,22 +3311,17 @@ https://github.com/languages/
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
Since the GGS is intended to be connected to several different GDL VMs the Apart from that there are virtual machines with bindings to Erlang readily
choice for the first language implemented for the GGS prototype seems not available for JavaScript which are provided by organisations like Mozilla
only to depend on the technical features of the GDL chosen, in this case and companies like Google.
JavaScript. In the end this choice was more or less arbitrary since the GGS is intended
A different, albeit still important non technical feature of JavaScript to be able to run several different GDL VMs, and one had to be the first.
is the familiarity with the language of the members of the GGS development
team.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The popularity of JavaScript in the programming community, in combination
with the availability of several different JavaScript virtual machines
was an important influence in choosing JavaScript as the main control language
for our GGS prototype.
\begin_inset ERT \begin_inset ERT
status collapsed status open
\begin_layout Plain Layout \begin_layout Plain Layout