Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Delphi
  4. Can Delphi do what C++ can't?

Can Delphi do what C++ can't?

Scheduled Pinned Locked Moved Delphi
c++delphitutorialquestionlearning
6 Posts 4 Posters 20 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 4641878
    wrote on last edited by
    #1

    Hi, I'm a C++ programmer that is looking into learning Delphi. I've been googling around trying to find the differences. More specifically, I've been wondering, can Delphi create, or do some unique feature, that C++ can't. So far all the sights I've been to, have not boasted such a claim, or I'm just going to all the wrong sights. I know Delphi compiles fast, creates fast applications with hardly any work, but I'm wondering more about the ability to create apps a C++ project would never dream of. Like for example, in VB, you can't create DLLs, But in C++ you can. Or in C++ you can multi-thread... A link to a site would be just fine. -Thanks for your time!

    E L R M 4 Replies Last reply
    0
    • M Member 4641878

      Hi, I'm a C++ programmer that is looking into learning Delphi. I've been googling around trying to find the differences. More specifically, I've been wondering, can Delphi create, or do some unique feature, that C++ can't. So far all the sights I've been to, have not boasted such a claim, or I'm just going to all the wrong sights. I know Delphi compiles fast, creates fast applications with hardly any work, but I'm wondering more about the ability to create apps a C++ project would never dream of. Like for example, in VB, you can't create DLLs, But in C++ you can. Or in C++ you can multi-thread... A link to a site would be just fine. -Thanks for your time!

      E Offline
      E Offline
      egenis
      wrote on last edited by
      #2

      Suppose it's a matter of preference... Some info[^] and Some more info[^]

      M 1 Reply Last reply
      0
      • E egenis

        Suppose it's a matter of preference... Some info[^] and Some more info[^]

        M Offline
        M Offline
        Member 4641878
        wrote on last edited by
        #3

        Thanks that helps. Anyone feel free to post more, if you have something earth shattering.. (which I doubt exists.)

        1 Reply Last reply
        0
        • M Member 4641878

          Hi, I'm a C++ programmer that is looking into learning Delphi. I've been googling around trying to find the differences. More specifically, I've been wondering, can Delphi create, or do some unique feature, that C++ can't. So far all the sights I've been to, have not boasted such a claim, or I'm just going to all the wrong sights. I know Delphi compiles fast, creates fast applications with hardly any work, but I'm wondering more about the ability to create apps a C++ project would never dream of. Like for example, in VB, you can't create DLLs, But in C++ you can. Or in C++ you can multi-thread... A link to a site would be just fine. -Thanks for your time!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Member 4641878 wrote:

          I've been wondering, can Delphi create, or do some unique feature, that C++ can't.

          No such thing. Delphi is a layer on top of assembly, just as C++.

          Member 4641878 wrote:

          I know Delphi compiles fast, creates fast applications with hardly any work, but I'm wondering more about the ability to create apps a C++ project would never dream of.

          Go for C# - you can create WPF-applications that a low-level programmer can only dream of. I surely wouldn't be able to recreate all that functionality in Delphi.

          Member 4641878 wrote:

          Like for example, in VB, you can't create DLLs, But in C++ you can. Or in C++ you can multi-thread...

          VB is a very closed environment, but you can use the WinAPI. You can even use VB.NET to add real threading to a VB6-application. I'm using Delphi 6 only for small command-line applications for those clients who don't have/want the .NET framework. Now, therein' lies the last advantage that Delphi has; it can create native executables that don't need a runtime. Anyway, that's something that C++ can do too :)

          I are Troll :)

          1 Reply Last reply
          0
          • M Member 4641878

            Hi, I'm a C++ programmer that is looking into learning Delphi. I've been googling around trying to find the differences. More specifically, I've been wondering, can Delphi create, or do some unique feature, that C++ can't. So far all the sights I've been to, have not boasted such a claim, or I'm just going to all the wrong sights. I know Delphi compiles fast, creates fast applications with hardly any work, but I'm wondering more about the ability to create apps a C++ project would never dream of. Like for example, in VB, you can't create DLLs, But in C++ you can. Or in C++ you can multi-thread... A link to a site would be just fine. -Thanks for your time!

            R Offline
            R Offline
            Rozis
            wrote on last edited by
            #5

            I can't help you with Delphi, but generally there's a difference between interpreters (like VB) and compiled languages (like C++), in that an interpreter can have macro's: a string that contains sourcecode that can be executed. Example (in pseudocode): x=5 y=6 string="x+y" z=execute(string) // z contains 11 This works in an interpreter because the 'compiler' is avalable in runtime. In a compiled language the names of x and y are lost (because the compiler changed them to pointers) so you can't make something that mimics that. Although you pay heavilly for macro's (performance) it can be handy in some specific situations. Think about a list of items where the user can input a filter expression. All pure compiled languages have the same 'power' because they are all derived from the same model. There are a few languages that mix the interpreter and the compiler concept. You could search if Delphi is capable of handling programs like the one above. Rozis

            1 Reply Last reply
            0
            • M Member 4641878

              Hi, I'm a C++ programmer that is looking into learning Delphi. I've been googling around trying to find the differences. More specifically, I've been wondering, can Delphi create, or do some unique feature, that C++ can't. So far all the sights I've been to, have not boasted such a claim, or I'm just going to all the wrong sights. I know Delphi compiles fast, creates fast applications with hardly any work, but I'm wondering more about the ability to create apps a C++ project would never dream of. Like for example, in VB, you can't create DLLs, But in C++ you can. Or in C++ you can multi-thread... A link to a site would be just fine. -Thanks for your time!

              M Offline
              M Offline
              Member 4641878
              wrote on last edited by
              #6

              That is excellent! :) Thanks for the help everyone. It's great to know the differences of each language, especially their strengths and weaknesses. Post more if you like, but my problem is solved.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups