Path: news.daimi.aau.dk!news.uni-c.dk!sunic!sunic.sunet.se!news.luth.se!eru.mt.luth.se!bloom-beacon.mit.edu!news.media.mit.edu!grapevine.lcs.mit.edu!uhog.mit.edu!news.mathworks.com!zombie.ncsc.mil!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!gatech!swrinde!sgiblab!rpal.rockwell.com!news.Stanford.EDU!Xenon.Stanford.EDU!agesen From: agesen@Xenon.Stanford.EDU (Ole Agesen) Newsgroups: comp.lang.beta Subject: Re: BETA questions Date: 20 Apr 95 18:24:57 GMT Organization: Stanford University: Computer Science Department, CA USA Lines: 23 Message-ID: References: <3jq90s$ojp@belfort.daimi.aau.dk> <3n5eht$m2i@fbi-news.informatik.uni-dortmund.de> NNTP-Posting-Host: xenon.stanford.edu X-Newsreader: NN version 6.5.0 #4 (NOV) nowias00@marvin.informatik.uni-dortmund.de (Mark Nowiasz) writes: >>How fast is BETA (executable speed)...compared to Eiffel and C++? >IMHO very slow... i'll show you one example: >I've had to program a pattern in BETA which would compute recursively the >numbers of Fibonacci's algorithm. This program was compiled and started >on a SUN 4. >Simultanously, i implemented this function in C++ on my Amiga A-1200 (with >a 68EC020 14MHzm without a FPU). >Not only that the Amiga programm was smaller (5 k compared to >250k BETA) but >ran significantly _faster_ than the BETA-program on the SUN (which is certainly >a _lot_ faster then my Amiga) Mark, I would be interested in seeing both of your programs. Any chance they are small enough that you can post them? Another question: did you compare CPU time or real time of the two programs? The former increases linearly with the work load, so it may not be a good measure (unless you only run that one program). Ole