[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.c++

Is Scheme/LISP faster than C/C++

Is Scheme/LISP faster than C/C++

bolega

6/14/2010 5:10:00 PM

Quoting the following post :-

I am looking for expert opinions

http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/54fb97d...

> Probably doesn't meet your intent, but this is a really impressive bit
> of (whacky) art:

Lisp runs faster than C. Once you get more time away from screwing
Palestinians, and other false-flags, you will find ideas like these

How to make Lisp go faster than C
Didier Verna
Abstract
Contrary to popular belief, Lisp code can be very ef-
cient today: it can run as fast as equivalent C code
or even faster in some cases. In this paper, we explain
how to tune Lisp code for performance by introducing
the proper type declarations, using the appropriate
data structures and compiler information. We also
explain how e ciency is achieved by the compilers.
These techniques are applied to simple image process-
ing algorithms in order to demonstrate the announced
performance on pixel access and arithmetic operations
in both languages.

=======
Standard Disclaimer, nothing personal

http://www.youtube.com/watch?v=l...

http://www.youtube.com/watch?v=X...

http://www.youtube.com/watch?v=t...

Hey Racist and INcompetent FBI Bustards, where is the ANTHRAX Mailer ?
Where are the 4 blackboxes ? Where are the Pentagon Videos ? Why did
you release the 5 dancing Israelis compromising the whole 911
investigation ? If the Dubai Police can catch Mossad Murderers and put
the videos and Iranian Police can why cant you put the Pentagon
Videos ? If Iran police can put the AMERICAN TERRORIST, Riggi and
puting on INTERNATIONAL MEDIA a day after catching him without
TORTURE, why cant you put the INNOCENT patsies on the MEDIA. Why did
you have to LIE about Dr Afiya Siddiqui and torture that Innocent
little mother of 3 and smashing the skull of her one child ?

http://www.youtube.com/watch?v=D...
http://www.youtube.com/watch?v=0...

There are CRIMINAL cases against CIA CRIMINAL Bustards in Italian
courts.

FBI bustards paid a penalty of $5.8 million to Steven Hatfill, but
only because he was a white. They got away with MURDER of thousands of
Non-whites in all parts of the world.

Daily 911 news : http://911b...

http://www.youtube.com/watch?v=t...

http://www.youtube.com/watch?v=x...

http://www.youtube.com/watch?v=l...


bolega

6/14/2010 5:18:00 PM

Sorry, I dont have access to the journal papers ... or I would do
research myself.

On Jun 14, 10:10 am, bolega <gnuist...@gmail.com> wrote:
> Quoting the following post :-
>
> I am looking for expert opinions
>
> http://groups.google.com/group/gnu.emacs.help/browse_thread......
>
> > Probably doesn't meet your intent, but this is a really impressive bit
> > of (whacky) art:
>
> Lisp runs faster than C. Once you get more time away from screwing
> Palestinians, and other false-flags, you will find ideas like these
>
> How to make Lisp go faster than C
> Didier Verna
> Abstract
> Contrary to popular belief, Lisp code can be very ef-
>  cient today: it can run as fast as equivalent C code
> or even faster in some cases. In this paper, we explain
> how to tune Lisp code for performance by introducing
> the proper type declarations, using the appropriate
> data structures and compiler information. We also
> explain how e ciency is achieved by the compilers.
> These techniques are applied to simple image process-
> ing algorithms in order to demonstrate the announced
> performance on pixel access and arithmetic operations
> in both languages.
>
> =======
> Standard Disclaimer, nothing personal
>
> http://www.youtube.com/watch?v=l...
>
> http://www.youtube.com/watch?v=X...
>
> http://www.youtube.com/watch?v=t...
>
> Hey Racist and INcompetent FBI Bustards, where is the ANTHRAX Mailer ?
> Where are the 4 blackboxes ? Where are the Pentagon Videos ? Why did
> you release the 5 dancing Israelis compromising the whole 911
> investigation ? If the Dubai Police can catch Mossad Murderers and put
> the videos and Iranian Police can why cant you put the Pentagon
> Videos ? If Iran police can put the AMERICAN TERRORIST, Riggi and
> puting on INTERNATIONAL MEDIA a day after catching him without
> TORTURE, why cant you put the INNOCENT patsies on the MEDIA. Why did
> you have to LIE about Dr Afiya Siddiqui and torture that Innocent
> little mother of 3 and smashing the skull of her one child ?
>
> http://www.youtube.com/watch?v=DhMcii8smxkhttp://www.youtube.com/watch?v=0...
>
> There are CRIMINAL cases against CIA CRIMINAL Bustards in Italian
> courts.
>
> FBI bustards paid a penalty of $5.8 million to Steven Hatfill, but
> only because he was a white. They got away with MURDER of thousands of
> Non-whites in all parts of the world.
>
> Daily 911 news :http://911b...
>
> http://www.youtube.com/watch?v=t...
>
> http://www.youtube.com/watch?v=x...
>
> http://www.youtube.com/watch?v=l...

nanothermite911fbibustards

6/14/2010 5:48:00 PM

On Jun 14, 10:17 am, bolega <gnuist...@gmail.com> wrote:
> Sorry, I dont have access to the journal papers ... or I would do
> research myself.
>
> On Jun 14, 10:10 am, bolega <gnuist...@gmail.com> wrote:
>
> > Quoting the following post :-
>
> > I am looking for expert opinions
>
> >http://groups.google.com/group/gnu.emacs.help/browse_thread......
>
> > > Probably doesn't meet your intent, but this is a really impressive bit
> > > of (whacky) art:
>
> > Lisp runs faster than C. Once you get more time away from screwing
> > Palestinians, and other false-flags, you will find ideas like these
>
> > How to make Lisp go faster than C
> > Didier Verna
> > Abstract
> > Contrary to popular belief, Lisp code can be very ef-
> >  cient today: it can run as fast as equivalent C code
> > or even faster in some cases. In this paper, we explain
> > how to tune Lisp code for performance by introducing
> > the proper type declarations, using the appropriate
> > data structures and compiler information. We also
> > explain how e ciency is achieved by the compilers.
> > These techniques are applied to simple image process-
> > ing algorithms in order to demonstrate the announced
> > performance on pixel access and arithmetic operations
> > in both languages.
>
> > =======
> > Standard Disclaimer, nothing personal
>
> >http://www.youtube.com/watch?v=l...
>
> >http://www.youtube.com/watch?v=X...
>
> >http://www.youtube.com/watch?v=t...
>
> > Hey Racist and INcompetent FBI Bustards, where is the ANTHRAX Mailer ?
> > Where are the 4 blackboxes ? Where are the Pentagon Videos ? Why did
> > you release the 5 dancing Israelis compromising the whole 911
> > investigation ? If the Dubai Police can catch Mossad Murderers and put
> > the videos and Iranian Police can why cant you put the Pentagon
> > Videos ? If Iran police can put the AMERICAN TERRORIST, Riggi and
> > puting on INTERNATIONAL MEDIA a day after catching him without
> > TORTURE, why cant you put the INNOCENT patsies on the MEDIA. Why did
> > you have to LIE about Dr Afiya Siddiqui and torture that Innocent
> > little mother of 3 and smashing the skull of her one child ?
>
> >http://www.youtube.com/watch?v=D...http://www.youtub.......
>
> > There are CRIMINAL cases against CIA CRIMINAL Bustards in Italian
> > courts.
>
> > FBI bustards paid a penalty of $5.8 million to Steven Hatfill, but
> > only because he was a white. They got away with MURDER of thousands of
> > Non-whites in all parts of the world.
>
> > Daily 911 news :http://911b...
>
> >http://www.youtube.com/watch?v=t...
>
> >http://www.youtube.com/watch?v=x...
>
> >http://www.youtube.com/watch?v=l...
>
>

Here is the paper :

http://www.iaeng.org/IJCS/issues_v32/issue_4/IJCS_3...

Get ghostview which can show you better font display of the older
types.

I give good help and I ask people to spread the info in my sig by
quoting it.

The FAT per DIEM FBI bustards use our TAX PAYER MONEY and INCOMPETENCE
is UNACCEPTABLE.

=====

http://www.youtube.com/watch?v=l...

http://www.youtube.com/watch?v=X...

http://www.youtube.com/watch?v=t...

Hey Racist and INcompetent FBI Bustards, where is the ANTHRAX Mailer ?
Where are the 4 blackboxes ? Where are the Pentagon Videos ? Why did
you release the 5 dancing Israelis compromising the whole 911
investigation ? If the Dubai Police can catch Mossad Murderers and put
the videos and Iranian Police can why cant you put the Pentagon
Videos ? If Iran police can put the AMERICAN TERRORIST, Riggi and
puting on INTERNATIONAL MEDIA a day after catching him without
TORTURE, why cant you put the INNOCENT patsies on the MEDIA. Why did
you have to LIE about Dr Afiya Siddiqui and torture that Innocent
little mother of 3 and smashing the skull of her one child ?

http://www.youtube.com/watch?v=D...
http://www.youtube.com/watch?v=0...

There are CRIMINAL cases against CIA CRIMINAL Bustards in Italian
courts.

FBI bustards paid a penalty of $5.8 million to Steven Hatfill, but
only because he was a white. They got away with MURDER of thousands of
Non-whites in all parts of the world.

Daily 911 news : http://911b...

http://www.youtube.com/watch?v=t...

http://www.youtube.com/watch?v=x...

http://www.youtube.com/watch?v=l...

Conclusion : FBI bustards are RACIST and INcompetent. They could
neither catch the ANTHRAX or 911 YANK/Jew criminals nor could they
cover them up - whichever was their actual task.

SLASH the SALARIES of FBI/CIA/NSA etc BUSTARDS into half all across
tbe board, esp the whites/jew on the top.

fortunatus

6/14/2010 5:53:00 PM

For crying out loud, the best any compiler can do is make optimal
machine language. Many C compilers can do that over most inputs. So
can many Lisp compilers if you give the right type data. So it's a
moot point.

The only point to discuss would be that Scheme - in the R5 version of
the spec at least - doesn't have standard way to specify type data
unless I am mistaken. Therefore you will find that Scheme compilers
add their own syntax for it. Again we are led to a moot point.

fortunatus

6/14/2010 6:02:00 PM

One point that might be interesting, you do include C++ in your post.
Therefore some compare/contrast of C++ class member function
invocation rate versus Lisp object method invocation rate might be
meaningful. I'm sure if you Google back through comp.lang.lisp you
will find plenty on it already.

Raymond Toy

6/14/2010 7:35:00 PM

On 6/14/10 1:53 PM, fortunatus wrote:
> For crying out loud, the best any compiler can do is make optimal
> machine language. Many C compilers can do that over most inputs. So

Is that why I had to use assembly code instead of C for some parts of my
previous projects?

There was even one example where the C compiler made spectacularly bad
code. I only needed 6 pointer registers (the arch has 8), but the
compiler decided to use only one or two and spilled and reloaded them
from the stack for each use. Yay!

Ray

Aaron W. Hsu

6/15/2010 12:12:00 AM

fortunatus wrote:

> The only point to discuss would be that Scheme - in the R5 version of
> the spec at least - doesn't have standard way to specify type data
> unless I am mistaken. Therefore you will find that Scheme compilers
> add their own syntax for it. Again we are led to a moot point.

One of the points of something like Chez Scheme is that it compiles
standard Scheme, without additional static typing -- which, personally,
I find rather annoying -- into code that is often quite competitive with
C code if not faster.

More specifically, there is nothing inherently slow about the Scheme
language. While there are some things that are inherently expensive,
they are not more expensive than the equivalent constructs in C by
nature. Scheme can be compiled into very fast code, without resorting to
tricks like type declarations, and there are real life compilers out
there which do this.

I've heard it said, it is easy to beat C compilers for fast code, it's
just hard to beat them at benchmarks written for C. That is, do the same
type of things as what Scheme gives you, such as lots of dynamic
allocation and resizing, higher order functions, and closures, and you
won't find C faster. Benchmarks to compare C with Scheme often don't
compare the things Scheme is good at, but focus only on the static
things that C was designed for.

Aaron W. Hsu

Dave \Crash\ Dummy

6/15/2010 3:10:00 AM

On 2010-06-15, Aaron W. Hsu <arcfide@sacrideo.us> wrote:

> I've heard it said, it is easy to beat C compilers for fast code, it's
> just hard to beat them at benchmarks written for C. That is, do the same
> type of things as what Scheme gives you, such as lots of dynamic
> allocation and resizing, higher order functions, and closures, and you
> won't find C faster.

I don't know about that...

It's hard to beat the speed of a program that segfaults immediately. ;)

It's hardly fair if you're going to demand that the C program actually
works correctly.

--
Grant


Alex Mizrahi

6/15/2010 7:40:00 AM

b> I am looking for expert opinions

Are you a new gavino or something like that?

Tim Bradshaw

6/15/2010 9:01:00 AM

On 2010-06-15 08:40:01 +0100, Captain Obvious said:

> Are you a new gavino or something like that?

I think there is an infinite supply of them.

Norbert_Paul

6/15/2010 10:04:00 AM

Tim Bradshaw wrote:
> On 2010-06-15 08:40:01 +0100, Captain Obvious said:
>
>> Are you a new gavino or something like that?
>
> I think there is an infinite supply of them.

Maybe (equalp bolega gavino) but not eq.
Note the disclaimer which is untypical for
the original gavino.

Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Is Scheme/LISP faster than C/C++

Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te

Il servizio è completamente GRATUITO!