Apple relaxes iOS SDK terms to allow Lua but block Flash

Cours apple relaxes iOS SDK terms to allow Lua but block Flash, tutoriel & guide de travaux pratiques en pdf.

Apple relaxes iOS SDK terms to allow Lua but block Flash

“Apple’s iOS SDK rules for iPhone developers have relaxed the restriction of section 3.3.2 pertaining to interpreted code, enabling Apple to forbid Flash and other middleware platforms while still enabling popular game engines and libraries.”

Lua main goals
• Portability
• Small size
• Embedability
• Simplicity
Portability
• Written in ANSI C Ç ANSI C++
• avoids #ifdef’s
• avoids dark corners of the C standard
• Runs on most platforms we ever heard of
• WinCE, Symbian, iOS, BREW, Android, PS3, PSP, Nintendo DS, IBM z/OS, etc.
• Runs inside OS kernels
• FreeBSD, Linux
Small size
• Less than 20,000 lines of C code
• 7,800 semicolons
• ELF binary: less than 200 KB
• complete package
• Important for portability
• allows Lua to run in small machines
Embedability
• Emphasis on scripting
• to be used together with a system language
• tight integration between languages
• not only external libraries
• Provided as a library
• Not only an implementation issue
• Embedded in C/C++, Java, Fortran, C#, Perl, Ruby, Python, etc.

Scripting in Grim Fandango

“[The engine] doesn’t know anything about adventure games, or talking, or puzzles, or anything else that makes Grim Fandango the game it is. It just knows how to render a set from data that it’s loaded and draw characters in that set. […]
The real heroes in the development of Grim Fandango were the scripters. They wrote everything from how to respond to the controls to dialogs to camera scripts to door scripts to the in-game menus and options screens. […]
A TREMENDOUS amount of this game is written in Lua. The engine, including the Lua interpreter, is really just a small part of the finished product.”

Simplicity

Reference manual with 100 pages (proxy for complexity)
documents language, libraries, and C API

Cours gratuitTélécharger le cours complet

Télécharger aussi :

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *