Merge branch 'master' of github.com:jeena/GGS-report

This commit is contained in:
Niklas Landin 2011-05-12 22:42:55 +02:00
commit dcd8660b9d

View file

@ -7326,15 +7326,15 @@ name "cha:Problems-of-implementation"
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
This chapter contains specific problems encountered when implementing the This chapter contains descriptions of specific problems encountered when
GGS prototype. implementing the GGS prototype.
Some of the problems described have solutions attached, however some problems Some of the problems described have solutions attached, however some problems
were not solved, therefore only ideas for solutions have been attached. were not solved, therefore only ideas for solutions have been attached.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The integration of JavaScript as a GDL in the GGS prototype was particularly The integration of JavaScript as a GDL in the GGS prototype was particularly
difficult, and is handled in this section and so is the protocol design. difficult, and is handled in this section, so is the protocol design.
\end_layout \end_layout
\begin_layout Section \begin_layout Section
@ -7376,6 +7376,8 @@ V8
\begin_layout Standard \begin_layout Standard
For the Mozilla machines, there exists a Erlang binding called erlang_js, For the Mozilla machines, there exists a Erlang binding called erlang_js,
and for the V8 machine a binding called erlv8 exists. and for the V8 machine a binding called erlv8 exists.
Below follows a discussion about the different bindings and machines, and
a motivation as to why erlv8 was preferred over erlang_js.
\end_layout \end_layout
\begin_layout Subsection \begin_layout Subsection
@ -7383,9 +7385,9 @@ erlang_js
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
erlang_js provides direct communication with the JavaScript VM. erlang_js provides direct communication with the JavaScript VM, which is
Which is exactly what is desired, however also required is the possibility exactly what is desired, however also required is the possibility to communicat
to communicate from JavaScript to Erlang. e from JavaScript to Erlang.
The ability to communicate from JavaScript to Erlang is not yet implemented The ability to communicate from JavaScript to Erlang is not yet implemented
in erlang_js, due to lack of time of the erlang_js developers. in erlang_js, due to lack of time of the erlang_js developers.
\end_layout \end_layout
@ -7409,8 +7411,8 @@ erlv8
\begin_layout Standard \begin_layout Standard
erlv8 is powered by the V8 engine developed by Google. erlv8 is powered by the V8 engine developed by Google.
The ability to communicate from JavaScript to Erlang using callbacks (aka The ability to communicate from JavaScript to Erlang using NIF callbacks
NIF) is available in the erlv8 bindings and can be used within the GGS. is available in the erlv8 bindings and can be used within the GGS.
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
@ -7488,9 +7490,10 @@ key "Slee2007"
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
The use of Thrift, Google protocol buffers - which is a different approach The use of Google protocol buffers - which is a different approach to a
to that implemented by Google - or other protocols can be supported quite standard protocol framework, implemented by Google - or other protocols
easily by developing protocol modules for each the protocols. can be supported quite easily by developing protocol modules for each the
protocols.
No protocol modules for these protocols have however been developed during No protocol modules for these protocols have however been developed during
the writing of this thesis. the writing of this thesis.
\end_layout \end_layout