Go to Post I have never gone to a FIRST Robotics competition and not had fun. - mathking [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 07-10-2012, 21:17
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Team 973 Code Now Public

Quote:
Originally Posted by AdamHeard View Post
Ross can provide more detailed answers on the technical side, but I'll field some of the reasons.

...
I can help with some technical reasons as well:

As BigJ pointed out, Lua is used in a lot of games. The interesting thing about use in games is that games have very strict speed requirements. If a game is designed to run at 30 frames per second, everything has to run within 1/30 of a second (about 33 ms) or your game is going to lag. Games tend toward Lua because it's very light and very fast (some benchmark comparisons to python are available here), while still having the high-level advantages of a scripting language.

Even disregarding the speed or the general advantages of high-level interpreted languages vs lower-level compiled languages, Lua as a language is impressively flexible, with first-class functions and extensible tables allowing programmers capable of a little more abstract thinking to make some extremely clever code. It wouldn't necessarily be my first choice for FIRST programming, but I can definitely see why team 973 settled on it.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:10.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi