Welcome, Guest. Please login or register.

Author Topic: C++ on Amiga  (Read 21985 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline psxphill

Re: C++ on Amiga
« on: December 06, 2012, 06:53:22 PM »
Quote from: itix;523226
SAS/C is probably the best C compiler you can find for 68k. I havent used GCC 68k

Years ago I used geekgadgets port of GCC (iirc 2.95), when I compared it to SAS/C I found GCC to be faster.
 
I tried various code generation options and I think telling GCC to generate 68000 code was the fastest across all processors.
 

Offline psxphill

Re: C++ on Amiga
« Reply #1 on: December 06, 2012, 11:32:03 PM »
Quote from: commodorejohn;717856
.NET takes up hundreds. (And, of course, it imposes a speed penalty just like every interpreted language ever has done - and it may seem like nothing much on your 2GHz i5, but it'll add up pretty damn quick on even a 1GHz G4 system, let alone anything slower.)

It's not interpreted, it's just in time compiled. You can even pre-compile it on desktop/server operating systems.
 
The code generation isn't the problem, it's the bad code that gets through because the bar has been lowered & made it easier for rubbish programmers to get jobs.
 
Good algorithms in C# aren't slow. You can do good things on a 600mhz ARM processor for instance (and I have).