Google Groups Home
Help | Sign in
Delphi equivalent in the C world or Scheme/LISP world
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
gnuist...@gmail.com  
View profile
 More options Aug 20, 4:19 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: gnuist...@gmail.com
Date: Tue, 19 Aug 2008 20:19:00 -0700 (PDT)
Subject: Delphi equivalent in the C world or Scheme/LISP world
Is there a Delphi equivalent in the C world or Scheme/LISP world ?

Recently, Delphi is in resurgence. In Russia people are using like
crazy. For example, Bolega has written a free image processing program
scankromsator in delphi because its easy to write a gui. In arabia
people are using it also.

Also delphi, I heard delphi allows visual programming and delphi
programs run on:

linux
win2k
winxp
vista

I heard that its a lot easier than MFC, and C# and so on.

The only think I worried is the PASCALISH syntax. Can any of you tell
me if there is an alternative in C world and the pros and cons because
I am used to C syntax.

Gnuist


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tony_in_da...@yahoo.co.uk  
View profile
(1 user)  More options Aug 20, 6:41 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: tony_in_da...@yahoo.co.uk
Date: Tue, 19 Aug 2008 22:41:51 -0700 (PDT)
Local: Wed, Aug 20 2008 6:41 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world
On Aug 20, 12:19 pm, gnuist...@gmail.com wrote:

First, this newsgroup is not for C or Scheme.  FWIW, there are a great
many C++ IDE builders that attempt to allow rapid GUI application
creation - a 'net search engine should quickly turn up matches.
Lastly, I think you'll find the differences between C and Pascal are
mainly cosmentic - if Delphi is what you want functionally I suggest
you use it.

Tony


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fred Zwarts  
View profile
(1 user)  More options Aug 20, 8:22 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: "Fred Zwarts" <F.Zwa...@KVI.nl>
Date: Wed, 20 Aug 2008 09:22:06 +0200
Local: Wed, Aug 20 2008 8:22 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world

I'm not sure about the names. Borland created another product C++ Builder,
with a similar functionality as Delphi, but using C++ instead of Pascal.
In the latest release, I think, they integrated the two product and
now use the name Delphi for the combination of the two.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hans-Peter Diettrich  
View profile
(1 user)  More options Aug 20, 5:08 pm
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: Hans-Peter Diettrich <DrDiettri...@aol.com>
Date: Wed, 20 Aug 2008 18:08:09 +0200
Local: Wed, Aug 20 2008 5:08 pm
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world
gnuist...@gmail.com schrieb:

> Is there a Delphi equivalent in the C world or Scheme/LISP world ?

Depends on what exactly you want to be equivalent, and what you want to
be C/Scheme/Lisp proprietary.

> Recently, Delphi is in resurgence. In Russia people are using like
> crazy.

They have special conditions, for using Delphi in education (schools,
universities...).

> Also delphi, I heard delphi allows visual programming and delphi
> programs run on:

> linux
> win2k
> winxp
> vista

Delphi programs can run on many more platforms, when the FreePascal
compiler is used for the final build.

> I heard that its a lot easier than MFC, and C# and so on.

Most GUI development environments are based on specific graphics
libraries. The Delphi VCL (Visual Component Library) was developed for
Windows GDI, then converted into CLX (AFAIR based on Qt), and FreePascal
has implemented a true platform independent FCL (Free Component
Library), that is fully compatible with the VCL. The whole VCL/FCL is
written in Delphi (OPL), so that it can be used only with compilers that
can use the Delphi object model. The RAD Studio, now sold by
Embarcadero, includes such compilers for Delphi, Delphi.NET, C++ and C#,
where for C# the VCL has been ported to .NET, so that it also can be
used with every .NET language.

I dunno whether the VCL really is easier to use than any equivalent
library, but when I see that the VCL (as FCL) can be used with many
graphical environments, it seems to be a very good, portable and IMO
really easily usable library. In most cases it's sufficient to drop VCL
components on a form, set their properties, add event handlers, and
you're done with the whole GUI. There exist various extensions of the
VCL, where you can find readily usable components for almost every task.

> The only think I worried is the PASCALISH syntax. Can any of you tell
> me if there is an alternative in C world and the pros and cons because
> I am used to C syntax.

Then I suggest that you use the RAD Studio, where you can use the VCL
also with C/C++/C# code. Or get an old Borland C++ Builder, or a newer
C++ personality of BDS, which allow to use the VCL with C++. I've been
using C and C++ in former times, amongst many other languages, but since
I came across Delphi, now I write everything in Delphi myself, and only
"package" existing C code for use in my Delphi code.

DoDi


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gnuist...@gmail.com  
View profile
 More options Aug 21, 7:52 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: gnuist...@gmail.com
Date: Wed, 20 Aug 2008 23:52:22 -0700 (PDT)
Local: Thurs, Aug 21 2008 7:52 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world
On Aug 19, 10:41 pm, tony_in_da...@yahoo.co.uk wrote:

Basically, I have never had need to build guis and now I would like to
build guis for windows and possibly linux also. I dont want to
duplicate
my effort and be caught in the intricacies of programming but to do
the
job fast.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gnuist...@gmail.com  
View profile
 More options Aug 21, 8:05 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: gnuist...@gmail.com
Date: Thu, 21 Aug 2008 00:05:25 -0700 (PDT)
Local: Thurs, Aug 21 2008 8:05 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world
On Aug 20, 9:08 am, Hans-Peter Diettrich <DrDiettri...@aol.com> wrote:

This was a nice reply where you tried to explain some special aspects
of delphi
based on the techniques of compiling and cross compiling them.
Therefore I have
confidence that this explanation can be expanded a little and made
more lucid
for a newbie like me by putting in more details into a single self-
contained
account.

> Most GUI development environments are based on specific graphics
> libraries. TheDelphiVCL (Visual Component Library) was developed for
> Windows GDI, then converted into CLX (AFAIR based on Qt), and FreePascal
> has implemented a true platform independent FCL (Free Component
> Library), that is fully compatible with the VCL. The whole VCL/FCL is
> written inDelphi(OPL), so that it can be used only with compilers that
> can use theDelphiobject model. The RAD Studio, now sold by
> Embarcadero, includes such compilers forDelphi,Delphi.NET, C++ and C#,
> where for C# the VCL has been ported to .NET, so that it also can be
> used with every .NET language.

I am surprised that C/C++/C# people and gnu people have not done this
since even
unix and X windows are written in these languages and also the
microsoft
windows.

How do you call or package C code inside delphi ?

What is the best book to read for a newbie on delphi and what is the
software needed to practice as you read ? This would help me a lot
since
i have to learn by myself. I also dont know if any schools in the US
teach programming via delphi. All I ever heard was scheme and python
these days.

Anyone please tell me a little more about pros and cons. I appreciate
your
help a lot.

Gnuist


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gnuist...@gmail.com  
View profile
 More options Aug 21, 8:07 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: gnuist...@gmail.com
Date: Thu, 21 Aug 2008 00:07:30 -0700 (PDT)
Local: Thurs, Aug 21 2008 8:07 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world
On Aug 19, 8:19 pm, gnuist...@gmail.com wrote:

What are good books, sites, and newsgroups for delphi and delphi type
of
programming and transitioning back to Pascal from C. Is it
regressing ?

Which language is more readable, Pascal or C ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherm Pendley  
View profile
 More options Aug 21, 8:08 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: Sherm Pendley <spamt...@dot-app.org>
Date: Thu, 21 Aug 2008 03:08:46 -0400
Local: Thurs, Aug 21 2008 8:08 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world

gnuist...@gmail.com writes:
> Which language is more readable, Pascal or C ?

Whichever one you know better.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hans-Peter Diettrich  
View profile
(1 user)  More options Aug 21, 11:38 am
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: Hans-Peter Diettrich <DrDiettri...@aol.com>
Date: Thu, 21 Aug 2008 12:38:04 +0200
Local: Thurs, Aug 21 2008 11:38 am
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world
gnuist...@gmail.com schrieb:

> This was a nice reply where you tried to explain some special aspects
> of delphi
> based on the techniques of compiling and cross compiling them.
> Therefore I have
> confidence that this explanation can be expanded a little and made
> more lucid
> for a newbie like me by putting in more details into a single self-
> contained
> account.

So much more could be said, depending on what exactly you want to do.

Most companies and GNU groups concentrate on their own goals, and do not
cooperate much with each other. The .NET approach lacks compatibility
with existing code and languages, and the users have to follow every
change in the proprietary Microsoft libraries. The GNU activities
traditionally solve portability problems by adding tools, like automake,
that introduce new problems, which have to be fixed by even more tools.
When I asked them for cooperation in the design and implementation of a
new model, for managing and building platform independent libraries and
programs, the only answer was "make it work yourself, then we'll
see...". The consequence is, that more and more people use interpreted
languages in the POSIX world, where only the interpreter has to be
ported once to every platform.

>> but since
>> I came acrossDelphi, now I write everything inDelphimyself, and only
>> "package" existing C code for use in myDelphicode.

> How do you call or package C code inside delphi ?

Delphi has a package concept, similar to the .NET assemblies, that
allows to make and use packages regardless of programming languages.
Well, not really *all* languages, but all those that can use external
binary libraries (*.DLL, *.so).

Thus making a package is not very different from making a DLL. And like
in making an ActiveX DLL, you have to #include the according header
files in your C code, to make sure that the package itself, and all
users of that package, will use the very same type definitions and
runtime library. Of course C and Delphi have different opinions, about
how a "header" file should look like. Therefore tools exist to convert C
header files from or into Delphi interface units, which may be invoked
automatically in a newer IDE. Note that IDE stands for Integrated
Development Environment, which integrates compilers for multiple
languages, and knows how to make accessible modules of one language in
the other languages :-)

> What is the best book to read for a newbie on delphi and what is the
> software needed to practice as you read ? This would help me a lot
> since
> i have to learn by myself.

I cannot suggest any current literature, because I had to buy my last
book many years ago.

> I also dont know if any schools in the US
> teach programming via delphi. All I ever heard was scheme and python
> these days.

As mentioned above, only few languages are so platform independent that
they can be used in teaching programming in general. As a Windows user,
you may not have noticed that you'll have to tweak your C code for use
on every other platform. Teaching C effectively means teaching "how to
use C on platform XYZ", and that's why platform independent languages
are preferred in education.

Even if Delphi currently is bound to Windows, I've emphasized the easy
use of Delphi code on many other platforms, by simply using the
FreePascal compiler. Did you know that FPC can cross-compile your
Windows programs even for exotic machines, like ole Amiga or Atari?

DoDi


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gnuist...@gmail.com  
View profile
 More options Aug 21, 5:12 pm
Newsgroups: comp.lang.pascal.delphi.misc, borland.public.delphi.language.delphi.general, comp.lang.c++
From: gnuist...@gmail.com
Date: Thu, 21 Aug 2008 09:12:47 -0700 (PDT)
Local: Thurs, Aug 21 2008 5:12 pm
Subject: Re: Delphi equivalent in the C world or Scheme/LISP world

> > What is the best book to read for a newbie ondelphiand what is the
> > software needed to practice as you read ? This would help me a lot
> > since
> > i have to learn by myself.

> I cannot suggest any current literature, because I had to buy my last
> book many years ago.

Just tell me the good book, current or out of print, i dont care. but
it got to be a good one, so if necessary, i may photocopy after
getting permission from publisher.

Take a look at this site:
http://www.delphibasics.co.uk/

It has good colors but I cant understand my first program in detail. I
hated the same thing about java 10yrs ago i took got A and forgot coz
i never used again. now i have to write programs and learn delphi. Are
there any better sites for learning till the book arrives ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.