Welcome, Guest. Please login or register.

Author Topic: C vs C++ ... or whatever language  (Read 20907 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline nicholas

Re: C vs C++ ... or whatever language
« Reply #59 from previous page: February 19, 2018, 03:33:41 PM »
Quote from: Kronos;836304
You obviously never tried to compile C++ with that.

I did, on an 68030 with 7MB (4MB on the A2630,2MB Z2 and 1MB CHIP).

It might be somewhat useable with today's resources (NG or UAE) ....


.... for compiling and running........



Who in their right mind compiles anything bigger than hello world on 68k silicon today though? ;)

SAS/C 7 ran fine under MorphOS on my PowerBook last time I tried (circa 2013) but obviously there are far better solutions like GCC.

It's a shame vbcc was never given C++ support IMHO though.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: C vs C++ ... or whatever language
« Reply #60 on: February 19, 2018, 04:58:37 PM »
Quote from: nicholas;836307

SAS/C 7 ran fine under MorphOS on my PowerBook last time I tried (circa 2013) .


C or C++?

Compiling C with SAS on an 68030 was just fine in 199x.
Compiling C++ with Storm on an 68030 was just fine in 199x.
Compiling C++ with SAS on an 68030 was just useless in 199x.

SAS C++ isn't really a compiler but a preprocessor taking ages to create oversized C code.
SAS C then compiled that code into bloated object code (again taking ages).
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

guest11527

  • Guest
Re: C vs C++ ... or whatever language
« Reply #61 on: February 19, 2018, 08:53:54 PM »
Quote from: Kronos;836309
SAS C++ isn't really a compiler but a preprocessor taking ages to create oversized C code.

So was the first C++ compiler as well (CFront).  No matter what, SAS/C only supported a small subset of C++, and this subset even diverges from C++, even more so today. It is next to useless today. Some important C++ are missing completely, such as templates.