C++ Builder vs Delphi vs MFC

2019-06-25 05:35发布

I am learning MFC and find it not that easy to use.

I've heard a lot about Delphi . researching on Delphi lead me to C++ Builder.

does C++ Builder offer a serious and good alternative to C++/MFC ? is C++ Builder better than MFC ? is C++ Builder better than Delphi ? (I've heard many goood things about Delphi)

can any one give me a comparison between C++/MFC, Delphi and C++ Builder ?

Thanks for the help.

11条回答
迷人小祖宗
2楼-- · 2019-06-25 06:24

Delphi community is still active (Why do you think there is Delphi 2009?). Delphi comes with rich sets of components, and there are thriving third party components. Having worked on both MFC and Delphi in professional setting, I can easily say that Delphi is way better in terms of ease of development and overall quality.

Coming from C#, there are similar concepts in Delphi the Anders Hejlsberg has already thought about like TComponent, TDataSet, properties and events (which became delegates). Delphi can also be used to consume COM objects, write Web Services, write report engines for custom reports.

But wait, there's more. Check out DevExpress' ExpressQuantumGrid.

查看更多
Ridiculous、
3楼-- · 2019-06-25 06:33

I'd suggest you go Delphi.

My pros for it would be

  • Syntax wise it is very easy and readable. You know C++ makes you write "cryptic" and "mystic" code with strange variables and such. Hell! half of c++ is prefixed with "__"

  • Performance is almost the same as a C++ application. If you don't use VCL then it should be the same. But what's Delphi without VCL.

  • --Native-- applications. Which means absolutely nothing else to worry about, no frameworkss, no runtimes. (You can still build an app with runtime packages tho)

  • Database connectivity is aswell one of it's strong points... very strong one

  • Powerfull visual designer you can build almost all of your application's interface at design-time.

And the list can go on...

Oh and to conclude, Delphi can make everything C++/C#/C etc can. EXCEPT device drivers, so if you don't plan to write drivers for a printer or something Delphi is the way to go.

查看更多
Evening l夕情丶
4楼-- · 2019-06-25 06:34

You may want to look at these SO questions.
Although not a comparison with C++/MFC, they highlight a lot of Delphi qualities.

https://stackoverflow.com/questions/179319/what-language-or-rad-ide-do-you-recommend-for-building-shareware

What language do I use for my project?

查看更多
趁早两清
5楼-- · 2019-06-25 06:35

Are you learning C++ at the same time? Do you already know Pascal? If yes to both then Delphi sounds like a great choice to me. All the apps I imagine you'd want to write with MFC can be written using Delphi.

查看更多
爱情/是我丢掉的垃圾
6楼-- · 2019-06-25 06:37

You might want to check this link. I can't comment on advantages of MFC over Delphi due not having used it, so I'm skipping first two question.

  • If you're going to do GUI database driven application, by any means go with Delphi.
  • It's possible to call C / C++ / C# DLL from Delphi.
  • Delphi is blazing fast and easy when it comes to developing Win32 Native applications. See RAD's definition .
查看更多
登录 后发表回答