Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Delphi slow?

  1. #11

    Delphi slow?

    Before I bought Delphi 2 way back when, I loved how it was so easy to use, and the pascal format is just all me. But I was concerned about speed because I wanted to do games mostly. Back then I read quite a few articles of programs written in MS's VC++ and Delphi and the speeds were nearly identicle in all cases. In the end, this is what ultimately sold me on Delphi. To this day (Delphi5 now) it's just speedy as heck and haven't EVER run into any speed issues with my games .. 2D *or* 3D. Really, it's pretty much up to the person on what they can use better.

  2. #12

    Delphi slow?

    Quote Originally Posted by Alimonster
    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.
    Heer heer

    I work in both. A lot. Speed depends more on your style, what you know about the task your trying to preform and how well you know the langadge your using.

    Bottom line. The more you know, the Better your app will run and in most cases the faster you can make it run.
    Most low level stuff, your going to start running into limits of the api your using, The OS your on or the hardware running it.

    Quote Originally Posted by Alimonster
    Damn that rocket-powered bike!
    Lol..

    Quote Originally Posted by Alimonster
    Worry about the invisible demons underneath the bed, patiently waiting for you to fall asleep. That's something to be worried about.
    Yes, they ate my shoes this morning. Problem was my feet were in them at the time. :lol:

  3. #13

    Delphi slow?

    The biggest speed improvements are not what the compiler does, but in the algos you pick to use.

    You can write a Visual Basic program which will outproform a finely crafted C++ program, if the C++ program uses bubble sort on a large data set, and the visual basic version uses a quick sort or shell sort.

    Good program design will get you much much better speed improvments.

    And profile! You do not know were a speed slowdown is till you have profiling data to prove it!

    Having said that, things like StringReplace in Delphi shouldnt be used, because it use a poorly designed algo if need the extra speed.

  4. #14

    Delphi slow?

    Quote Originally Posted by ggs
    You can write a Visual Basic program which will outproform a finely crafted C++ program, if the C++ program uses bubble sort on a large data set, and the visual basic version uses a quick sort or shell sort.
    Even then, it would probably a close-run thing. VB sucks. Ah, don't mind me -- I just feel a lot of hatred towards VB at the moment since I have to use it. :evil:

    Introsort is pretty good too.

    Anyway, what you said makes a lot of sense and I would like to subscribe to your newsletter.
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

Page 2 of 2 FirstFirst 12

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
  •