PDA

View Full Version : Technical Blog #4



John
10-31-2012, 09:53 PM
Wednesday October 31

Many things have transpired since last we spoke. We’ve shown the game at several gaming events and are now in Beta! The technology marches forward, and I thought I’d give you a look at the progression of code size over the duration of the project. The graph below illustrates the total lines of Stoic-penned code, in the languages of Actionscript, C++, and Java:


http://stoicstudio.com/uploaded/loc_2012_10_31.png

We currently sit at about 95K lines of code in TBS, including client, server, and tools. The gap in the chart represents the time prior to switching to a new Mercurial repository, and I didn't feel like cloning and measuring the old one for this chart :)

If you were to include Ant, Scala, SQL, and Bash the number is about 100K. The breakdown by language is shown below:

http://stoicstudio.com/uploaded/languages_2012_10_31.png

With the approximate numbers shown here:

AS3 83000
Java 9000
Ant 4000
C++ 3000
Scala 1000
SQL 500
Bash 300
This excludes external and 3rd party source code. Including external source, our total codebase is 209K in size. We compile against external libraries such as:


as3isolib
FMOD
dncompute
greensock tweening
greensock transform
raulbajales’ frigga
starling
steamworks

In addition, we've added several new external technologies to our mix:


New Relic for server monitoring
RabbitMQ for inter-server message queue communication, hosted on CloudAMQP
MySQL for persistence, hosted on Amazon RDS
Play! Framework for internal dashboards and web tools


Heroku has been working out great for us so far. We jettisoned SimpleDB a while back because it simply doesn't scale, doesn't perform well, and is incredibly expensive. SimpleDB was only intended to be a temporary solution for prototype stage, anyway.

Ok, I’m back to working on beta features and bugs!


Previous: Technical Blog #3 (http://stoicstudio.com/forum/showthread.php?177)
Next: Technical Blog #5 (http://stoicstudio.com/forum/showthread.php?3227)

Flickerdart
11-01-2012, 01:47 AM
What's with the massive gap in the first chart?

Sean
11-01-2012, 08:35 AM
What's with the massive gap in the first chart?

See John's post:



http://stoicstudio.com/uploaded/loc_2012_10_31.png

We currently sit at about 95K lines of code in TBS, including client, server, and tools. The gap in the chart represents the time prior to switching to a new Mercurial repository, and I didn't feel like cloning and measuring the old one for this chart :)

Mudfly
11-01-2012, 05:36 PM
wow a technical update that i actually understood! amazing!
i mean, the reason i understood it was most likely because there were very little technical mumbo jumbo in it, but im still somewhat proud of myself :D

Troll
11-01-2012, 06:32 PM
wow a technical update that i actually understood! amazing!
i mean, the reason i understood it was most likely because there were very little technical mumbo jumbo in it, but im still somewhat proud of myself :D

Well, when there are pictures, it becomes clearer :p

lamaz
11-02-2012, 05:20 AM
An update! :)

The Guilty Party
11-04-2012, 12:49 PM
I'm glad Heroku is working out for you, the people here work very hard on it :)

John
11-04-2012, 01:02 PM
I'm glad Heroku is working out for you, the people here work very hard on it :)

Upvote heroku!