[Shootout-list] Directions of various benchmarks

José Bollo jose.bollo@tele2.fr
Wed, 18 May 2005 08:13:36 +0200


Le mercredi 18 Mai 2005 07:53, Bengt Kleberg a écrit :
> skaller wrote:
> ...deleted
>
> > Are we measuring the cost of interfacing to an
> > external library .. and if so how can we do that
> > when external libraries are excluded ..? <g>
>
> would it be a good idea to have a specific test for this purpouse?
> a ''foreign function interface'' test.
> and disallow such use in other tests?

EIFFEL will win for interfacing any C / C++ / JAVA external libraries.

And forget such kind of test for many languages like Tcl / Java ...

Let show an example:

	one write a C library and publish the interface:
		float compute_it_fast(float x, float y)
	then you must call that library
	with JAVA: write an additional C library that is a JNI/C proxy stub
		it is not JAVA
		it is boring
		it is not interesting
	Same with Tcl and many other languages
	C and C++ are naturally privileged
	EIFFEL do it in one line

And from an other point de vue, it is not interresting because CORBA (ORBIT), 
client/server protocols, are better ways of integrating libraries/components 
in an huge project.

>
>
> bengt
>
> _______________________________________________
> Shootout-list mailing list
> Shootout-list@lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/shootout-list