• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Anyone playing with Scala?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anyone playing with Scala?


  • Subject: Re: Anyone playing with Scala?
  • From: Lachlan Deck <email@hidden>
  • Date: Thu, 17 Sep 2009 15:40:26 +1000

On 17/09/2009, at 3:24 PM, Ravi Mendis wrote:

I am thinking of using Scala with WebObjects...yes.

Typically deadlocks are more likely to be caused by your own code, rather than the underlying frameworks.
This assumes you're using Wonder/WO/EOF in a thread-safe manner.
i.e you are taking the necessary precautions for EOF (like turning off shared EOs, auto lock/unlocking of ECs, etc).


Broadly speaking, Scala is safer to use than Java for developing a concurrent request handling app because of its lack of static variables

I'm not sure why static variables would be necessarily anti- concurrent? It depends on the type of variable, no? e.g., a static string is immutable. A static nsformatter is not re-entrant... etc


and methods, use of separate mutable/immutable datatypes and collections, etc.

Using Ajax (i.e asynchronous communication) with WO is where the need for concurrent request handling and better thread-safety come in...

with regards, --

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Anyone playing with Scala? (From: Ravi Mendis <email@hidden>)

  • Prev by Date: Re: Anyone playing with Scala?
  • Next by Date: === WEBAPPZ releases PDFkit 5.4.3 ===
  • Previous by thread: Re: Anyone playing with Scala?
  • Next by thread: Re: Anyone playing with Scala?
  • Index(es):
    • Date
    • Thread