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

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM
Re: Should I learn C or C++?
04/17/12 02:31 PM


> 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

Right. My point was that assembler would hurt simply because it's an order of magnitude more time-intensive to write and debug.

> 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.

That's less likely now than it was when we started MAME (only nutters like myself commonly run machines over 4 GHz) but we're slowly learning to take advantage of multicore. The real issue is these modern CPUs are so smart about reworking your code "live" for optimization that hand-tuning is mostly irrelevant.







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 228 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