Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Delphi slow?

  1. #1

    Delphi slow?

    Many, many, many people says that Delphi and C++ are like a bike and a Ferrari.
    I hate this people and I think that Delphi is enought fast to break their stupid applications but I never do a benchmark so I'm not sure of Delphi speed.
    Do you have any idea?

    P.S.: sorry for my bad english :roll:

  2. #2

    Delphi slow?

    I think it's the C++ fans' job to convince us that Delphi's slow, don't waste your time :roll:

  3. #3

    Delphi slow?

    Did anyone do a benchmark?

  4. #4

    Delphi slow?

    No I didn't do a benchmark, but I think those C++ people are living in the past... Delphi is up to the competition and is just as fast as C++, however if you are going to compare Delphi with C++ keep in mind that C++ uses no VCL components for the form, so thats what you'll have to do in Delphi too, if you are going to compare them!

    However I'm confident Delphi is just as fast as C++!
    Do it by the book, but be the author!
    <br />
    <br />Visit the Lion Productions website at:
    <br />http://lionprod.f2o.org

  5. #5

    Delphi slow?

    Well this is interesting... Computer Language Shootout - Delphi

    P.S. This guy makes a case (although breif) about literal translations from C/C++ to Object Pascal, and how a rewritten version specifcally for Object Pascal increased the speed of the program.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  6. #6
    Delphic
    Guest

    Delphi slow?

    blub

  7. #7

    Delphi slow?

    There is a site here (don't know if it's still active, haven't visited in a while) that holds a competion to write an optimized program. The programs are divided between VC and Delphi and between those using only VC/Delphi and those that include inline assembly

  8. #8

    Delphi slow?

    If perchance a C++ application runs faster than its identical Delphi equivalent in a benchmark, you can be guaranteed which one took longer to get working

  9. #9

    Delphi slow?

    I'm of the opinion that if something is fast enough for your needs - does it really matter if something else does it faster?

    I guess I've never gotten around to programming something that needs every possible fraction of a second of speed you can optimize it for but on the other hand I have programmed a lot of things in C++... and coming over to Delphi may or may not improve runtime speed but it certainly cuts development time!

    Neil

  10. #10

    Delphi slow?

    This is exactly the kind of thing that I never, ever, ever get bothered about .

    Delphi is approximately as fast as C++. Sometimes a bit slower. Sometimes a bit quicker. Part of the problem in comparing the two is simply that they require different ways of thinking. If you write a Delphi program as you could a C++ program then you're not taking advantage of some of the finer points of Object Pascal and should change your style.

    The point is that the difference is not something to lose sleep over. If Delphi is slower, it is not by a great deal. Sometimes code can be more concisely expressed in Object Pascal, sometimes C++. But don't listen to any FUD that flat-out disses a language without any thought. Think about it - how can any one problem accurately describe how the language performs on a general task? The only way to check those out are from larger-scale case studies (i.e., projects). Experience helps here.

    If you really *are* bothered by this, check Jake's code efficiency challenge. You'll see that the oldish compiler versions (VC6, Delphi 5) are absolutely neck and neck (we're talking less than milliseconds in most cases). There's even a challenge where Delphi 5 wins. Damn that rocket-powered bike!

    Don't worry about it. Really. Worry about the invisible demons underneath the bed, patiently waiting for you to fall asleep. That's something to be worried about.
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •