MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Anonymous
Unregistered
Re: Should I learn C or C++?
04/17/12 08:54 AM


> I would submit that the answer is actually "no". Accuracy would plummet due to the
> complexity of writing a Naomi emulation entirely in assembly, and if the same exact
> algorithms were used (e.g. an interpreter SH-4 core and a PowerVR drawing routine
> that piped each pixel through MAME's memory system) you would get identically absymal
> performance.

The answer is no. I disagree on your reasoning though.

It would certainly be harder to write in assembler. It would be possible to match or exceed MAME's current accuracy with a version written in assembler. However in this very unlikely situation it wouldn't be assembler that helped. You could improve the accuracy much easier by improving the current code (even if you threw it all out and started again).

You probably wouldn't have time to work or sleep as Intel & AMD are likely to have released hardware that dwarfs your optimisations before you finish.







Entire thread
Subject Posted by Posted on
* Should I learn C or C++? mike20599 04/17/12 12:30 AM
. * Re: Should I learn C or C++? Bryan Ischo  04/17/12 01:37 AM
. * Re: Should I learn C or C++? CTOJAH  04/17/12 12:43 AM
. * Re: Should I learn C or C++? R. Belmont  04/17/12 02:31 AM
. * Re: Should I learn C or C++? CTOJAH  04/17/12 02:51 AM
. * Re: Should I learn C or C++? R. Belmont  04/17/12 04:18 AM
. * Re: Should I learn C or C++? DMala  04/17/12 04:58 AM
. * Re: Should I learn C or C++? Anonymous  04/17/12 08:41 AM
. * Re: Should I learn C or C++? mogli  04/17/12 05:29 AM
. * Re: Should I learn C or C++? Bryan Ischo  04/17/12 01:35 AM
. * Re: Should I learn C or C++? R. Belmont  04/17/12 02:33 AM
. * Re: Should I learn C or C++? Anonymous  04/17/12 08:54 AM
. * Re: Should I learn C or C++? R. Belmont  04/17/12 02:31 PM
. * Re: Should I learn C or C++? Anonymous  04/17/12 11:16 PM
. * Re: Should I learn C or C++? R. Belmont  04/18/12 03:27 PM
. * Re: Should I learn C or C++? Sune  04/17/12 01:34 AM
. * Re: Should I learn C or C++? Sune  04/17/12 12:40 AM
. * Re: Should I learn C or C++? Quantum Leaper  04/17/12 12:42 PM
. * Re: Should I learn C or C++? Anonymous  04/17/12 11:18 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 254 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1335