Add 2017 summary article

This commit is contained in:
2017-11-22 02:18:57 +07:00
parent 5c0c2250c5
commit 05cb5b3731
26 changed files with 640 additions and 173 deletions

View File

@@ -50,10 +50,10 @@
title="Permalink to Scripting research">Scripting research</a></h3>
</header>
<h6 class="subheader" title="2017-08-16T00:00:00+03:00">Wed 16 August 2017
<h6 class="subheader" title="2017-08-16T00:00:00+03:00">Ср 16 Август 2017
<a class="button secondary small translation-button" href="http://opengamestudio.org/scripting-research-ru.html">ru</a>
</h6> <p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png"></p>
</h6> <p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png" /></p>
<p>This article describes scripting research in July 2017.</p>
<p><strong>Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.</strong></p>
<p>OGS Editor 0.10 supports Python for such a code thanks to <a href="http://swig.org/">SWIG</a>. SWIG provides a way to wrap almost any C/C++ code and use it in dozens of languages like Python, Ruby, Lua, Java, C#, etc.. SWIG really helped us taste the beauty of platform-independent code. However, SWIG only works one way: from C/C++ to a target language. This means the main application must be in the target language, and C/C++ code can only be used as a library.</p>