TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Mon Oct 15, 2018 8:21 pm

All times are UTC




Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Tue Nov 25, 2008 8:15 pm 
RexHunter99 wrote:
From what I've gathered and heard, Delphi is a slower form of C++ (Not too slow, just slower)

Below are the combined benchmark results from http://www.osnews.com/story/5602 and http://www.dellapasqua.com/delphibench.txt:

Visual C++ = 48.8
Delphi = 51.9
Visual C# = 65.3
gcc C = 73.0
Visual Basic = 85.9
Visual J# = 90.4
Java 1.3.1 = 97.6
Java 1.4.2 = 103.1
Python = 1679.0


Top
  
 
PostPosted: Tue Nov 25, 2008 8:33 pm 
Offline
Compsognathus
Compsognathus
User avatar

Joined: Fri Jan 04, 2008 12:14 am
Posts: 1066
Location: Switzerland
These values have to be taken with a HUGE grain of salt. The test is done on Math and IO operation. These depend a lot on two factors:
1) Is the language compiled or interprated ( aka VM )?
2) How is the functionality for IO/Math coded in the native libraries?

Hence these results are very useless since VM languages are NOT made for number crunching as compiled languages are. Tell me please what the hell you want to proof with this out-of-thin air results?

_________________
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )


Top
 Profile  
 
PostPosted: Tue Nov 25, 2008 8:40 pm 
Dragonlord wrote:
Tell me please what the hell you want to proof with this out-of-thin air results?


"please" and "what the hell" go well together ;)

What I "want to prove" is, if your project is CPU-intensive (including math and graphics) then you'll probably want to go with C++ or Delphi rather than with Java or Python.


Top
  
 
PostPosted: Tue Nov 25, 2008 9:03 pm 
Offline
Compsognathus
Compsognathus
User avatar

Joined: Fri Jan 04, 2008 12:14 am
Posts: 1066
Location: Switzerland
Look at your post above and tell me what you just said has anything to do with what you posted. You didn't post this for comparing compiled vs interprated... you tried to counter the argument above with a flawed argument so don't try to vanish into a dark alley hoping nobody notices this.

_________________
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )


Top
 Profile  
 
PostPosted: Tue Nov 25, 2008 9:40 pm 
I'm confused, mate... from where I'm sitting, it looks like this:

- RexHunter said that Delphi is slower than C++;
- I posted benchmarks from another site that showed Delphi to be just slightly slower than C++ (total score);
- you argued that the results should be looked at with caution as different languages have different internal designs for different purposes and wanted to know why the hell I posted those benchmarks anyway;
- I replied that, the bottom line is, Delphi is as good as C++ for developing CPU-intensive applications;
- you replied that I didn't post this for comparing compiled vs interpreted and warned me not to "try to vanish into a dark alley hoping nobody notices this".

What gives?


Last edited by Troodon on Wed Nov 26, 2008 12:31 am, edited 1 time in total.

Top
  
 
PostPosted: Tue Nov 25, 2008 9:53 pm 
Offline
Albertosaurus
Albertosaurus
User avatar

Joined: Mon Nov 05, 2007 8:11 pm
Posts: 2275
Location: living underground in the middle of freaking nowhere
Troodon wrote:
I'm confused, mate... from where I'm sitting, it looks like this:

- RexHunter said that Delphi is slower than C++;
- I posted benchmarks from another site that showed Delphi to be just slightly slower than C++ (total score);
- you argued that the results should be looked at with caution as different languages have different internal designs for different purposes and wanted to know why the hell I posted those benchmarks anyway;
- I replied that, the bottom line is, Delphi is as good as C++ for developing CPU-intensive applications;
- you replied that I didn't post this for comparing compiled vs interpreted and warned me not to "try to vanish into a dark alley hoping nobody notices this".

What gives?
must admit I'm a little lost too, DL you're an ok guy and sure as hell not a n00b but sometimes you can come across as a little confrontational

_________________
post something intelligent before I go insane from a combination of exhaustion and boredom


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 1:13 am 
Offline
-=TresCom Forum Admin=-
-=TresCom Forum Admin=-
User avatar

Joined: Sun Nov 10, 2002 9:40 pm
Posts: 6495
Location: Peru, Indiana
Calm down there Dragonlord. There's no reason to get crazy over a post on the internet.

_________________
Album 1 http://m.imgur.com/a/cRA26
Album 2 http://imgur.com/a/6tvKV
Jurassic World: Fallen Kingdom leaked and (few) official photos


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 1:37 am 
Offline
Compsognathus
Compsognathus
User avatar

Joined: Fri Jan 04, 2008 12:14 am
Posts: 1066
Location: Switzerland
Troodon wrote:
What I "want to prove" is, if your project is CPU-intensive (including math and graphics) then you'll probably want to go with C++ or Delphi rather than with Java or Python.

This one I mean. If you want to show that C++ and Delphi are not too much off each other in terms of speed concerning math and IO then yes but you started to compare here with Java and python as being slow using this benchmark to base that opinion on. This is plain wrong since it's comparing apples with pears there. Hence you switched argument mid-air there which has to be interpreted as trying to back out even if this is not the case.

_________________
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 2:25 am 
Offline
Albertosaurus
Albertosaurus
User avatar

Joined: Mon Apr 24, 2006 12:12 pm
Posts: 2197
Location: Australia
DL has a point.

Anyways, I know from personal experience that with most of my projects that Delphi is slower than C++... it performs crappily with loops.

_________________
~ They told me humans weren't real... I proved them wrong.
ImageAnthropology ~ A beautiful tale.
EpicZen
Carnivores Hub ~ Need the full games without all the hassle of torrents or viruses? Run on over to EpicZen's Carnivores Hub!


Top
 Profile  
 
PostPosted: Wed Nov 26, 2008 3:06 am 
Okay DL, now I understand what got you upset. Perhaps including Python was farfetched but there are Perl modules for creating sophisticated graphics. And would you believe that some do CPU-intensive 3D graphics in Java? See this: http://jsomap.sourceforge.net/ee547/FinalReport.htm


Top
  
 
PostPosted: Wed Nov 26, 2008 2:51 pm 
Offline
Compsognathus
Compsognathus
User avatar

Joined: Fri Jan 04, 2008 12:14 am
Posts: 1066
Location: Switzerland
Yes that's true, such people do exist. Granted it is possible if for example you use a library ( written in a compiled language ) for doing the number crunching stuff and using Java as the director ( like using a compiled game engine with LUA for example to drive the logic where managed memory and OO is in advantage ). This hybrid approach is the best way to handle it. Granted some try to do all in java and that's a bit... meh... ( although one has to remember that JIT can do some amazing things... but this is then again "compiled" and no more interprated ).

_________________
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )


Top
 Profile  
 
PostPosted: Wed Dec 03, 2008 1:39 am 
Found something nice... http://www.saschawillems.de/?page_id=99

While browsing that guy's site check out his "Newton Playground": http://www.saschawillems.de/?page_id=80


Top
  
 
PostPosted: Wed Dec 03, 2008 3:03 am 
Offline
Compsognathus
Compsognathus
User avatar

Joined: Fri Jan 04, 2008 12:14 am
Posts: 1066
Location: Switzerland
Newton Engine... wait a minute... that's this guy with an ego bigger than anything else on this earth. He once wrecked havoc on Coumans Bullet Physics forum ( before getting banned ). He's damn full of himself. Looks like he has some skills to back up his project but as a person he sucks. Nice page... kinda like NeHe what he does then?

_________________
Image
Leader, Head Programmer: Epsylon | Drag[en]gine ( Wiki )


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group