<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Scripting Performance]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=995&amp;type=atom"/>
	<updated>2014-05-23T18:40:27Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=995</id>
		<entry>
			<title type="html"><![CDATA[Re: Scripting Performance]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6815#p6815"/>
			<content type="html"><![CDATA[<p>Hey Mike!</p><p>You might take a look here: <a href="http://forum.maratis3d.com/viewtopic.php?pid=6814#p6814">http://forum.maratis3d.com/viewtopic.php?pid=6814#p6814</a></p><p>Sponk</p>]]></content>
			<author>
				<name><![CDATA[Sponk]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1316</uri>
			</author>
			<updated>2014-05-23T18:40:27Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6815#p6815</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Scripting Performance]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6813#p6813"/>
			<content type="html"><![CDATA[<p>Hi, in general, intensive calculation (like physics, or complex AI) should be done in C++, and the &quot;game&quot; logic in lua.</p><p>Lua is one of the fastest dynamic langage, it will basically run 2 to 50 times slower than C/C++.<br />There is also an optimized version of Lua called &quot;LuaJIT&quot; that actually compiles Lua at runtime, and will run 1 to 2 times slower than C/C++ only. But runtime compilation is not allowed on all platform (like iOS).</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2014-05-23T18:13:10Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6813#p6813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Scripting Performance]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6811#p6811"/>
			<content type="html"><![CDATA[<p>Hi, quick question.&nbsp; I&#039;m not very familiar with Lua (I&#039;m more familiar with C++), so I was just wondering if everyone has any insight into this.</p><p>Just what is the performance of calling functions using Lua, and doing various computations with Lua in Maratis?&nbsp; I&#039;m mostly curious as to how much you can get away with, AI computations for example, or if scripting should be used only for basic controls and the rest done in C++?</p>]]></content>
			<author>
				<name><![CDATA[Mike]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2776</uri>
			</author>
			<updated>2014-05-23T16:41:39Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6811#p6811</id>
		</entry>
</feed>
