delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/11/26/20:45:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.42.194.5 with SMTP id dw5mr7632144icb.5.1385515738781;
Tue, 26 Nov 2013 17:28:58 -0800 (PST)
X-Received: by 10.49.88.5 with SMTP id bc5mr431135qeb.4.1385515738750; Tue, 26
Nov 2013 17:28:58 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 26 Nov 2013 17:28:58 -0800 (PST)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.141.26.245;
posting-account=O4PeigoAAAAxZv2r8tNE88JIfXb1PYZ9
NNTP-Posting-Host: 90.141.26.245
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0404a92b-e194-4e75-97b5-58c8e5b3c076@googlegroups.com>
Subject: Using DJGPP for C++ DOS development today?
From: John Davidson <codewhakker AT gmail DOT com>
Injection-Date: Wed, 27 Nov 2013 01:28:58 +0000
Bytes: 2368
Lines: 29
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rAR1j1GW000861
Reply-To: djgpp AT delorie DOT com

Hi!

I used to program C and inline assembler with DJGPP under DOS in the nineties.

Now I have a hobby project that would target DOS (yes, seriously), and I would like to take the opportunity to get beyond the basics of C++ and actually learn the language proper. So I'll try to implement this program in as elegant C++ code as possible. (The program will be of a moderate size and I have written similar programs before in C)

Having spent some time reading up on C++, it seems that C++ has evolved a lot in recent years, and modern C++ is quite different from the dog-turned-octopus I remember frowning upon.

So, my questions:

* "Which C++" can I realistically expect to use with DJGPP? To what extent are features from C++11 supported? C++03?

* Google led me to a DJGPP version 2.04-beta. Is this usable?

* Which GCC version is the latest I can use with DJGPP? (without having to do any porting myself)

* Can I expect the same performance from C++/DJGPP over C/DJGPP, when targeting something like a 20MHz 80386 with 2mb RAM?

(The the development will _not_ be done on the 386, even with RHIDE and all...)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019