Why we need Delphi prism - pascal

What is the need to use delphi prism instead of Visual studio;
i am a delphi programmer so i like object pascal but what else are that delphi prism have that other does not have

What do you mean by "Delphi Prism instead of Visual Studio"?! Delphi Prism is a pascal-flavor in .NET platform. Visual Studio is an IDE. Delphi Prism uses Visual Studio as its IDE. So when you code in Delphi Prism or debug your prism codes, you are doing it in Visual Studio, just as doing with C# or VB.NET.
.NET is supposed to support multiple programming languages and providing common types and libraries to all languages targeting it. Delphi Prism is just another .NET language. It has access to all the stuff that .NET provides to languages. It also has some distinct language features (refer to PRUZ post).
So you can use Delphi Prism when you want to code in Pascal for .NET platform, or if you really need any of its distinct language features in your .NET applications.
Of course Microsoft's own languages (C#, VB.NET, F#) have little edge in .NET over third-party language providers:
There are so many books and articles - including MSDN -
written about MS languages, or written about .NET with C# or VB.NET sample codes (recently Delphi
Prism added a tool to automatically
convert C# code snippet to Delphi
Prism code).
New .NET features would be
available first to Microsoft's own
languages first, and then to other
languages, so if you need a really
new .NET feature, you might have to
wait a few months to have it in your
favorite language.
And, some IDE features like visual
form designer for .NET compact
edition are only provided for C#
and VB.NET.

Like any other programming language, we don't need Delphi Prism. But Prism is an option for software developers with a Pascal/Delphi background to start developing for DotNET. Is this important? For some, yes. For others, not really.I have over 20 years of experience with Pascal and am familiar with every Delphi version since the first one. But 8 years ago, I also learned C# simply because Delphi was too weak as a tool for developing DotNET applications. And unfortunately, no matter how much Embarcadero/Borland tries, their development of Prism will also be behind the generic DotNET products that Microsoft keeps publishing.The advantage of Prism is that it's an add-on for Visual Studio. And you can use Prism to write applications for the Mono platform, which is used on Apple's Mac computers. It can also work together with C# and VB.NET applications and you can create mixed projects where you use Delphi, C# and VB.NET to create a single product. (Made of multiple assemblies, though.) Prism allows you to create Pascal code that you can use in your regular WIN32 environment but also in DotNET. This code can't be too platform-specific but in general you can get some very good results this way.Delphi Prism isn't fully developed by Borland/Embarcadero, though! It started with RemObjects, who created an alternative compiler for Delphi-like code, but with some additional features that you won't find in regular Delphi code. RemObjects started to just push out Delphi for DotNET from the market, since RemObjects provided a nicer product and they had focused more on the DotNET issues. So the two started to work together to create Prism.Like any programming language, Prism has some features that you won't find elsewhere. If those features are practical always depends on if you can find some practical usage for them. In my personal opinion, if you already have Visual Studio and you're only creating applications for the Windows platform then you won't really need Prism. If you have additional Delphi experience, you might like Prism for some projects. If you need to port a Delphi/WIN32 application to DotNET then Prism might help with that. But I don't know of any advantage that would make Prism a requirement.

Personally I think Delphi Prism do more bad than good for the (real) Delphi ecosystem.
I can not deny that the RemObject's product has many interesting things and technically well done, but as a (real) Delphi programmer and enthusiast I see that thay are dangerously distracting the attention and giving some ambiguos non clear message to new comers and .Net programmers.
A (MS) .Net programmer will never move to D. Prism, only Delphi programmers who wants a smooth transition while leaving the boat.
Since there is no tie between D. Prism and (real) Delphi it was a bad move to name it Delphi. They share some basic pascal syntaxis but that's all. They even do not share their improvments, nor they can be used fully integrated.

I bought Rad Studio for Delphi and C++ but I spend most of my time with Prism. As for the old saw that third party products for net are behind the Microsoft products, I say that is just ignorance talking in this case. Prism is not lacking anything that C octothorpe or Visual Basic has. The net system is best programmed by Hejilsburgs' best language, object pascal, and Rem Objects has been improving the best language for net all the time. Those guys at Rem Objects move fast and make things happen. All the updates come from them, Embarcadero just stands and salutes. By the way, the C# to Prism convertor really works. I grab code at msdn and paste it into Prism with no worries.

You can view old question Will you use Delphi Prism, about many opining about Delphi prism from Delphi developers and others.

Related

Nemerle for Windows Phone

I just started to study Nemerle. Since this is .NET language, I wonder, is possible to use for Windows Phone development? Does Visual Studio support it well?
Nemerle compiler uses System.Reflection.Emit for assembly manipulations. Then it can create assemblies same CLR version only.
I know only one reciepe for build WP assemblies: ildasm ncc.exe, fix all references to WP framework and ilasm it again.
This may not be possible, since Windows Phone runs a subset of the full .NET Framework which is closer to the .NET Compact Framework.
Looking at this page (translated from Russian) it looks like Compact Framework support is something that is/was planned for Nemerle version 2. However that article was written before Jetbrains acquired the project, so objectives may have changed.
Having said that, much more recently (Feb 2013) one of the Nemerle developers spoke about their difficulties in getting Nemerle to support other frameworks. So perhaps it is on their agenda after all.

What version of VB to use as a beginner?

I have never programmed VB, but a university course forcibly requires me to use it. Now, I've done VC++/Win32 programming before, but not the CLR(.NET). There's this free IDE from Microsoft, Visual Basic.NET express, that I plan to learn on. Is that okay? I mean I'm not learning .NET stuff, it'll be plain old Win32 with VB. Is that possible on that IDE? Will it require(read: force) me to use the .NET libraries instead? If yes, is there a free copy of VB 6 (or anything NOT NET) IDE still available? Excuse me if this sound noobish, but I really haven't ever touched on VB or .nET development.
If you have never learned old Win32 with VB aka VB6, I would advise you to skip it altogether and learn VB.net unless your end goal is to maintain legacy applications.
The concepts and libraries that you learn as part of VB.net will be transferable to C# which seems to be the most popular .NET language at the moment
VB.NET and "regular" VB are vastly different. VB6 was the last release of VB6 that is not managed. I question the value of learning this though. VB6 is unsupported, products for it are unsupported, and there isn't much you can gain by learning it instead of learning something else like VB.NET. If you really are stuck learning plain VB (which hasn't had an update since 1998), then you'll have a hard time finding resources.
VB.NET really means "A VB-like syntax language for .NET". Since the Express edition is for VB.NET, you cannot use it for VB development.
Your best bet is to find a copy of Visual Studio 6 or Visual Basic 6 Professional. You can still purchase them from places like Amazon.
MSDN Downloads has VB6 as well. You should contact your school to see if they can provide any additional resources. Perhaps your school can get you an Academic MSDN license (though I am not sure if that would include VB6).
You can forget about running those IDEs on Windows Vista or Windows 7. You'll need a copy of XP / 2000 as well.
I'd rather use the free Visual Basic 2008/2010 Express edition.

Easy Language/IDE to Develop GUI Program?

I'm planning on developing an Windows desktop-based GUI application, and I don't have a clue which language or IDE to choose. I'd REALLY like something with a WYSIWYG GUI editor. My application will rely on web-based XML feeds, so built in support for that would be great. I don't want the application to have any dependencies or require admin rights to run. Cross-platform is nice, not not required.
I'm willing to learn a new language if that's necessary.
Delphi is well reputed for Windows GUI application developpment. It's even a 'RAD' Studio (rapid application development studio) as they call it.
Check out Delphi. Alternatively FreePascal with its Lazarus IDE is pretty much an open-source Delphi clone, which while not as polished, offers cross-platform support.
For Windows, I will definitely go for C#.
If you know c++ and have MFC experiences, it should be fairly easy to learn.
Yes, it has WYSIWYG GUI editor.
Designing a User Interface (Visual C#)
http://msdn.microsoft.com/en-us/library/ms173080(v=vs.80).aspx
and it seems this is what you are looking for?
SyndicationFeed Class
http://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.syndicationfeed.aspx
Good Luck!
There are several variants.
Windows only
C# + MSVS:
One of the best choices on Windows platform today
+good documentation
+big developers community
-you need a system which has .net installed.
Delphi
+easy to start
all-in-one tool with GUI editor
not very widespread
Cross-platfrom
Qt or wxWidgets or some other toolsets
If you're looking for a free solution, you can use SharpDevelop, which is a free IDE for C# or VB.NET, and has a GUI designer similar to the one in Visual Studio. You should be able to use any classes and libraries from/for the .NET Framework.
You'll need the .NET Framework, but starting with Windows Vista it's installed by default (.NET Framework 3.0, I think).

What is the difference between Win32 Project vs Windows Forms Application in Visual Studio?

In Visual Studio, when I go to add a project, there are two options for creating GUI applications. Win32 Project and Windows Forms Application. What's the difference between these two? Is one of them
dependent on more .dlls than the other?
faster than the other?
easier to program in than the other?
Win32 are native applications primarly written with C++. (Machine dependent). Windows Forms are managed-code applications using the .NET Runtime Environment.
Between both, Windows forms are easier to program given the fact that you can choose the language you are better with; the vast amount of libraries (BCL) without bizarre things like manual memory management and the real object-oriented paradigm implementation of many of them.

Ada with Visual studio

I'm just starting to learn Ada and was wondering if an editor like MVS 2008/2010 can be used? Will MVS detect the GNAT compiler? I have the GNAT GPL compiler but find the GPS editor hard to use (much less intuitive than the MVS editor). The tutorial doesn't explain well how to create a project in GPS.
I'm currently using AdaGIDE which works well, though it's limited in features.
Thanks.
I haven't ever seen any VS addon for Gnat. It would be tough to do for vanilla Gnat, as it isn't compatible with the Microsoft linker. This is more of a gcc vs. Microsoft thing. There is a Gnat .NET port, which claims to integrate well with the Microsoft tools (including VisualStudio). You may have better luck with that.
The other option you have is ObjectAda. It doesn't use VisualStudio either, but it uses an environment designed to be familiar to VS users. It isn't free, but last I checked its cost was comparable to VisualC++'s. It does use the Microsoft linker, so integrating it with VisualStudio should be doable.
Personally I loathe VisualStudio, and do all my editing in Emacs (Even for Microsoft C++ work), but I can see where you are coming from.
VisualAda isn't released yet, but when it is eventually, it will not only integrate GNAT with Visual Studio, but also automatically generate Ada bindings for WinRT components รก la what C++/WinRT does for C++. Here is a video and here is a posting on comp.lang.ada of a demo of the unreleased VisualAda.
Finally, we got "Visual Ada" plugin by Alex Gamper:
https://marketplace.visualstudio.com/items?itemName=AlexGamper.VisualAda
As stated by many others, the add-on is based on gcc/gnat (with all that mingw/msys2 infrastructure) and still not native for VS

Resources