BEA offers real-time version of WebLogic server

Corrado Santoro <>
Wed Sep 28 18:51:59 CEST 2005


Joel Reymont wrote:
> It sounds like Erlang has got some competition now. Moreover, it  seems 
> like there will be far less reason for people to move to Erlang  now 
> since the claims like soft real-time and hot code loading have  been 
> matched for Java.
No please... not again another discussion about Erlang vs. Java. Is it 
only a matter of soft real-time abilities and hot code loading?
No! These are only minor reasons, I think. The best comparison I show to 
my student is a piece of code that filters data in a vector:

Java:

   Vector<int> source = ....;
   Vector<int> dest = new Vector ();
   for (int i = 0; i < source.size(); i++) {
     int data = source.elementAt (i);
     if (data > 10) {
       dest.add (data);
     }
   }

... and the code is worse if a "int[]" has to be filtered, instead of a 
"Vector".

Erlang:
   [ X || X <- Source, X > 10]

This should *definitively* remove any doubts :-))

Ciao,
--Corrado

-- 
======================================================
Eng. Corrado Santoro, Ph.D.

University of Catania - Engineering Faculty
Department of Computer Science and
Telecommunications Engineering
Viale A. Doria, 6 - 95125 CATANIA (ITALY)

Tel: +39 095 7382144 Int. (5) 8035
      +39 095 7382380
      +39 095 7382365
      +39 095 7382364

VoIP: sip:

Fax: +39 095 7382397

EMail: 
Personal Home Page:
             http://www.diit.unict.it/users/csanto

NUXI Home Page:
             http://nuxi.iit.unict.it
======================================================




More information about the erlang-questions mailing list