| Subject: |
Re: FoxPro 8.0 Capacities |
| Author: |
"Leland F. Jackson, CPA" |
| Posted: |
2003/04/30 18:49:00 |
|
|
|
|
Hi,
If I understand it correctly, C and C++ are related. If you purchase = microsoft C++, you have everything needed to write C code. C is the = base language and C++ add functionality to C through foundation classes = which are built from C code. The class libraries come with objects that = are little more that shapes and properties that allow a programmer to = quickly assemble programs of windows, forms, dialog, etc. Microsoft's = operating system itself is written in C. The windows foundation classes = are used to build Window O/S dialogs, windows, forms, etc. Also, other = programs like VB, Office, IE, and outlook express use the same = foundation classes which gives everything a consistent look and feel.
Visual FoxPro came to Microsoft from Fox and was written in Watcom C. = Visual FoxPro had its own foundation class libraries to create windows, = forms, etc. This made Visual FoxPro somewhat of a Maverick, because its = class libararies were not the same as everything else that belong to the = windows class library, even thouogh it was ported over using Windows = version of C.
Although C++ makes it easy to build application, it carries a lot of = overhead. At one time, C++ was not used because it was simply to slow. = C++ has come to the front of programming, because of the technological = advances in the Microprocessor and low cost of memory and disk space, = which is exponentially greater today than it was only a few years ago. = Microsoft is currently rewriting it base classes into .NET. Eventually = office IE, outlook express and everything else will be based on the .Net = class libraries.
FoxPro could be easly ported to any other platform, because it is self = contained with its own classes and libararies. It can access the = windows functionality though the Windows API. Supoort for windows = themes is available as of Visual FoxPro 8.0, but I don't know if that is = because Visual FoxPro now uses the Microsoft C++ class libararies, or if = Visual FoxPro is still based on its own C/C++ libraries. The Visual = FoxPro database engine, vfp.exe, and the runtime are written in C.
Mose games are written in pure C, because C++ object oriented code is = just to slow. The C code must work with graphic to make the game come = to life and it must be very fast. There is nothing faster that C and = about every new language is written in it like Ruby, etc, because it the = best we have.
Visual FoxPro, as well as almost every other language like perl, php, = VB, Linux, Windows, Unix, etc is written in C. Once the C and C++ layer = are built, just about every language become self hosting. This mean = that Visual FoxPro programmer can add additional functionality to app by = written their own classes, etc in the Viusal FoxPro language itself. = This is great because it allow the Visual FoxPro progammer to extent his = own language.
LelandJ ----- Original Message -----=20 From: Mike Stewart=20 To: profox (AT) leafe DO.T com=20 Sent: Wednesday, April 30, 2003 4:22 PM Subject: RE: FoxPro 8.0 Capacities
Wrong on both. I am curious as to how someone came to that = conclusion. It's not like anyone outside of MSFT has the source code.
Mike Stewart
-----Original Message----- From: Derek J. Kalweit [mailto:dkalweit@sensiblesoftware.com]=20 Sent: Wednesday, April 30, 2003 1:59 PM To: profox (AT) leafe DO.T com Subject: RE: FoxPro 8.0 Capacities
> -----Original Message----- > From: Derek J. Kalweit [mailto:dkalweit@sensiblesoftware.com]=20 > Sent: Wednesday, April 30, 2003 10:57 AM >=20 > > It's been pointed out here before that VFP is written in straight = C, > so >it's entirely procedural code-- no object orientation = whatsoever. >=20 > Wrong. >=20 > Mike Stewart
Wrong on it being straight C, or wrong on no object orientation?
--=20 Derek
[excessive quoting removed by server]
©2003 Leland F. Jackson, CPA |
|
|
|