Re: Working with other languages
- From: Andrea Raimondi <rainaple@xxxxxx>
- Date: Wed, 31 Jan 2007 15:00:08 +0100
Robin ha scritto:
I was recently in a forum discussion about recreating an old game.
It would be a group effort as no one has the time / experience to do it on their own. The ever present question arose, which language?
There was a C++ guy pushing like it was the only choice, a few VB folk, myself and another Delphi user, and a few C# users.
So we had a bit of a mixed bag.
I suggest that you use dotNET and WinForms.
Why?
Very simple:
- You can use whatever language(Delphi, C++, VB.NET, C#, IronPython
even) you want.
- DirectX has a managed layer and there are *tons* of samples using
WinForms
- Assemblies can be shared across IDEs/languages so that would be
*much* easier to form a group effort.
- You can have the "shell" being in Delphi W32 and loading the
dotNET assemblies externally(use the "Library" project which
comes in Delphi.NET)
Another selling point is that dotNET2.0 can load/use 1.1
assemblies and the other way around.
The downsides of this approach are the usual:
- Don't expect the game to work on W9x
- dotNET client side can be *extremely* slow if you don't do
things properly(and, sometimes, even if you *do* things
properly... <g>)
- Keep in mind that you'll have to code maths in C++ or Delphi
native and use that, otherwise you're going to be in big
trouble as the math needed isn't just add and sub :D
If the trade-off is reasonable for you(and I suppose it is,
after all I strongly doubt we're talking of a commercial
product here) then you can start coding :D
Cheers,
Andrew
.
- Follow-Ups:
- Re: Working with other languages
- From: Robin
- Re: Working with other languages
- References:
- Working with other languages
- From: Robin
- Working with other languages
- Prev by Date: Re: Borland Balance *** + Goodwill
- Next by Date: Re: Why not use form's ParentFont for Vista?
- Previous by thread: Re: Working with other languages
- Next by thread: Re: Working with other languages
- Index(es):