7 Nov 2009

My first talk, Android: A brief introduction to the open OS

 

I just finished my first ever public talk at the GTUG event in Bangalore. Initially it was scary but once I got underway it was rather fun, I really quite enjoyed myself, until the damn laptop hung up and wouldn't open or run eclipse or the android emulator. I just figured out why though, had the laptop on Maximum battery and the processor was running at half its usual cycles. I think overall the talk was well received though, which was a relief, could have put forward a lot more information as I first intended to do, however when up there it was hard to think straight. Whatever said and done I quite enjoyed myself, a big thank you to GTUG(http://bangalore-gtug.org/) for giving me the opportunity to talk at their event and Novoda(www.novoda.com) for helping out with the presentation. Now that the fun is over with back to work on Scala and working on my droidcon presentation :D.

For those who want to download the slides from today’s talk, they’re available at: http://docs.google.com/present/edit?id=0AYUIKIiIblQrZGN6eHJxYmZfMzJkZDY5NzdkNQ&hl=en

1 Nov 2009

Results: Scala Vs Java

 

I’ve just got my first series of results, although the timing measured is’nt accurate the number of Instructions are accurate. The results dont look too promising, a rather let down with Scala performing slower than Java on the Android platform. The results are given below:


Results:
Scala:
Sorting = 1219msec
Searching time = 37msec
Total instructions executed: 1397082
Method invocations: 183121
Java:
Sorting = 343msec
Searching time = 4msec
Total instructions executed: 895190
Method invocations: 75442

I have conducted further tests using the Trace view and even here the Java implementation bests the Scala one, with Java executing at 2.9msec and Scala at 4.5msec in creating, sorting and searching 100 objects.