|
| 02 Dec 2013 10:32 PM |
"In computing, just-in-time compilation (JIT), also known as dynamic translation, is a method to improve the runtime performance of computer programs based on byte code (virtual machine code). Since byte code is interpreted it executes slower than compiled machine code, unless it is actually compiled to machine code, which could be performed before the execution – making the program loading slow – or during the execution. In this latter case – which is the basis for JIT compilation – the program is stored in memory as byte code, but the code segment currently running is preparatively compiled to physical machine code in order to run faster."
Google's NaCl uses this. It's a client that lets you write C++ code to run in the web browser, and it supposedly runs with native speeds. |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2013 10:55 PM |
JIT compilation is awesome. see LuaJIT.
ROBLOX, when are you migrating to the superior Lua implementation :(? |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2013 11:02 PM |
| Has there actually been any popular games created in Lua? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 02 Dec 2013 11:07 PM |
> Has ... (I'm not even going to finish that sentence)
You must have some mental disorder: Angry Birds Baldur's Gate Battle for Wesnoth World of Warcraft Civilization V Crysis Dark Souls Don't Starve Far Cry Fable II Garry's Mod Grim Fandango L.A Noire Legend of Grimrock Lego Universe Natural Selection 2 Project Zomboid Psychonauts Star Wars Battlefront I/II The Witcher
and that's all I remember |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 02 Dec 2013 11:08 PM |
| Garry's Mod was created in C++ wasn't it? |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2013 11:09 PM |
| Could you provide me evidence that these games were all programmed in Lua? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 02 Dec 2013 11:12 PM |
| I guess I meant, they weren't all made in pure Lua but its used enough in the community to make things and it be widely recognized as used in that game. |
|
|
| Report Abuse |
|
|
|
| 02 Dec 2013 11:13 PM |
On the other hand, quite a few of those were in fact made using Lua.
|
|
|
| Report Abuse |
|
|
SoftWinds
|
  |
| Joined: 27 Feb 2010 |
| Total Posts: 730 |
|
|
| 02 Dec 2013 11:29 PM |
"WoW"
o.0 What are you smoking?
~Success is binary, you're either a one or a zero. There is no second place.~ |
|
|
| Report Abuse |
|
|
SoftWinds
|
  |
| Joined: 27 Feb 2010 |
| Total Posts: 730 |
|
|
| 02 Dec 2013 11:30 PM |
Wow is too complex of a game to be made in just Lua.
~Success is binary, you're either a one or a zero. There is no second place.~ |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 02 Dec 2013 11:55 PM |
He means the games use Lua, not solely made from it. Like for managing game logic and stuffs.
~The alpaca of the acting world. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
| |
|
|
| 03 Dec 2013 07:51 AM |
Velocityraptor,
you forgot some games:
S.T.A.L.K.E.R. - Shadow of chernobyl,clear skies,call of pripyat Driver: San Francisco Serious Sam 3: BFE SimCity 4 Mafia II
Theres dozens of more these i just named from the top of my head
|
|
|
| Report Abuse |
|
|
|
| 03 Dec 2013 07:52 AM |
Oh and to note from the STALKER series,
all games are entirely made with Lua, except some of the dx rendering |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
| |
|
|
| 03 Dec 2013 08:56 AM |
| Many games implement Lua as a scripting interface for designers, but few games have Lua as the majority of the code. |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2013 10:14 AM |
awsum beat me to it.
Most of those games weren't written in Lua, think of Lua just as an extension.
For example in ROBLOX, most of the core stuff was written in C++ (I think), but we use Lua to make games in it. |
|
|
| Report Abuse |
|
|
|
| 03 Dec 2013 11:00 AM |
They said what games are written /in/ lua and you not only insult their intelligence, but go so far as to suggest that they may have mental issues-- When you're the one who can't even read their question... If you're going to jump to the gun and make that sort of claim then please at least read their post first.
Someone puts up an interesting discussion and question and the response is being flamed because people are too trigger-happy to read an entire post. |
|
|
| Report Abuse |
|
|
RaidenJPN
|
  |
| Joined: 22 May 2013 |
| Total Posts: 6920 |
|
|
| 03 Dec 2013 11:05 AM |
>most of the core stuff was written in C++ (I think)
Pretty much. |
|
|
| Report Abuse |
|
|