Changes for page WebObjects with Scala
Last modified by Ravi Mendis on 2011/05/10 02:10
From version 397.1
edited by Ravi Mendis
on 2010/01/17 19:22
on 2010/01/17 19:22
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
-
... ... @@ -3,7 +3,7 @@ 3 3 Scala is a language for concurrent computing. 4 4 In the day and age of multi-core processors, concurrent computing can't be ignored. 5 5 6 - So many of Scala's features have been designed with concurrency in mind.6 +Many of Scala's features have been designed with concurrency in mind. 7 7 Some of these may not be unfamiliar to Objective-C or WebObjects developers. 8 8 9 9 Here's a quick summary: ... ... @@ -26,14 +26,12 @@ 26 26 27 27 === Why Use Scala? === 28 28 29 -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. 30 30 31 -The lack of static variables means that Scala is inherently thread-safe. 32 -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). 33 33 34 -So for WebObjects developers, Scala offers itself as a powerful, safe and easy-to-use solution for concurrent applications. 35 -(In other words, Scala can be used for problems that would normally have required threads). 36 - 37 37 === Can WebObjects be Programmed In Scala? === 38 38 39 39 Yes. It is very simple.