Solved

Delphi Prism v Visual Basic

Posted on 2010-11-17
7
988 Views
Last Modified: 2013-11-22
Hi experts,
 I have programmed a lot in Delphi and I'm now looking to move to .net to allow use of the code in other environments and to allow other programmers to develop code modules in other languages.
 I like Delphi and would like to be able to use some of the existing modules (modified to suit .net) that I've developed over the years.
 I seem to have a choice between Visual Basic (and other languages in the Visual Studio) and Delphi Prism. Which is best to use? I am concerned that I can find no books or tutorials on Delphi Prism. Does anyone know of any such available information so that I can make an informed choice?
0
Comment
Question by:AndrewJohnGraham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 84 total points
ID: 34161757
The VB.Net has the advantage of the good help available (MSDN):
http://msdn.microsoft.com/en-us/vbasic/ms789193.aspx

I have came across similar question about Delphi Prism resources on StackOverFlow.com:
http://stackoverflow.com/questions/2729472/delphi-prism-online-resources

You can check all the resources provided in there, but here is a good start:

http://www.embarcadero-info.com/whitepaper/Delphi_Prism_2010_and_Mono_WP_Brian_Long.pdf
0
 
LVL 7

Assisted Solution

by:ebob42
ebob42 earned 83 total points
ID: 34161891
I have published a PDF courseware manual on Delphi Prism (covering Delphi Prism 2010 at this time, but it's planned to get updated to Delphi Prism XE after which I will also publish it as paperback on Lulu.com).

See http://www.eBob42.com/courseware for details (note: if you purchase the Delphi Prixm Development Essentials PDF courseware manual for 50 Euro, you also get the Delphi XE Development Essentials PDF as a free bonus - plus all update of both courseware manuals).

For some free Delphi Prism tutorials, check out http://prismwiki.codegear.com/en/Main_Page
0
 
LVL 7

Expert Comment

by:ebob42
ID: 34161899
I have also published a number of Delphi Prism articles at http://www.drbob42.com/examines - mainly about ASP.NET, web services and WCF.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 21

Assisted Solution

by:developmentguru
developmentguru earned 83 total points
ID: 34165021
You need to consider a lot of things when making a decision like this.  VB.NET does not handle all of the .NET platform possibilities that C#.NET does.  C#.NET does not support all of what Delphi Prism does.  VB < C# < Prism (based on language capabilities).

Learning curve going to VB versus enhanced productivity using a language you are already (mostly) familiar with.

If you need to be able to hire more developers for a project then you can find more developers (for less pay) going with VB.

If you want a far more skilled programmer base, and are willing to pay more, stick with Delphi.

There is a small learning curve with any .NET language as the string handling is a major issue versus the possibility of causing major pauses during execution (I have seen 12 second pauses that freeze the entire OS - in commercial games based on .NET).  This is universal in all .NET languages.  There are also new language capabilities in Prism versus Delphi.

Now that I have made an attempt to show pros and cons, I will give you my personal opinion.  The readability of Delphi code is far better than VB, making it easier to write and maintain.  Your current comfort level with the Object Pascal code would also make me lean towards Prism.  I would be sure to take careful notes when trying to convert Delphi code to Prism code.  The notes will become a step by step process for the next file(s) to be converted.

Let me know if you need more.
0
 
LVL 32

Expert Comment

by:Ephraim Wangoya
ID: 34182307
Here's my take

First, Delphi (Win32) is the best programming language that ever existed (Thats my opinion)

Now, Delphi Prism is still relatively new so resources are not going to be as plentiful as other languages. You may find a few differences in syntax  eg method instead of procedure

C# on the other hand, there are tonnes of resources and a large group of users as well. MSDN also provides descent information on C#. For delphi developers, moving to C# tends to be quite easy and you will see some similarities with delphi.
It works out even better if you have experince with C an C++

If you are going to be working on Web projects, I would recomend you go with C#. If you intend to develop Win32 applications, use Prism
0
 

Author Closing Comment

by:AndrewJohnGraham
ID: 34216597
Experts,
 Thanks for your advice. I've downloaded all the references you have supplied and they are very useful. One of the things that always attracted me to Borland (originally Turbo-C) was that their products came with a lot of printed manuals. A pity they have dropped that and they seem to have gone more down the Microsoft route with online documentation that is of limited real help.
0

Featured Post

Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month7 days, 3 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question