Changes for page WebObjects with Scala
Last modified by Ravi Mendis on 2011/05/10 02:10
From version 403.1
edited by Ravi Mendis
on 2010/01/17 19:17
on 2010/01/17 19:17
Change comment:
There is no comment for this version
To version 400.1
edited by Ravi Mendis
on 2010/01/17 22:07
on 2010/01/17 22:07
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,11 +1,7 @@ 1 1 === What is Scala? === 2 2 3 -Scala is a modern language not unlike Groovy. 4 -It is said to be more powerful and faster than Groovy or Ruby. 5 -This's been the reason for its adoption at sites like Twitter. 6 - 7 7 Scala is a language for concurrent computing. 8 -In the day and age of multi-core processors, concurrent computing is not something thatcan be ignored.4 +In the day and age of multi-core processors, concurrent computing can't be ignored. 9 9 10 10 Many of Scala's features have been designed with concurrency in mind. 11 11 Some of these may not be unfamiliar to Objective-C or WebObjects developers. ... ... @@ -30,13 +30,12 @@ 30 30 31 31 === Why Use Scala? === 32 32 33 -Developing and maintaining a concurrent or multi-threaded WebObjects application can be challenging. 29 +Scala is inherently thread-safe. 30 +Because of the lack of static variables developers don't need to worry about synchronising access to mutable shared data. 31 +It has concurrency that is effectively built-in to the language. 34 34 35 -The lack of static variables means that Scala is inherently thread-safe. 36 -It has concurrency that is effectively built-in to the language in the form of Actors. 33 +So for WebObjects developers, Scala offers itself as a powerful, safe and easy-to-use solution for concurrent applications. (In other words, Scala Actors can be used for problems that would have normally required threads). 37 37 38 -So for WebObjects developers, Scala offers itself as a powerful, safe and easy-to-use solution for concurrent applications. 39 - 40 40 === Can WebObjects be Programmed In Scala? === 41 41 42 42 Yes. It is very simple.