MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9711
Loc: ECV-197 The Orville
Send PM
Re: libmame patch discussion please
10/25/11 05:04 PM


> It espouses the philosophy of 'POSIX is the portable interface'; systems that don't
> support POSIX calls (i.e. Windows) have crutches and shims in place in the code to
> make them look like they do, at least as much as is necessary to support the POSIX
> calls used. Surely this must rub some MAME developers the wrong way.

I'm the Mac/Linux/BSD porter guy and *I* think that's wrong.

1) POSIX translation layers on Windows have a long and storied history of failure. Bloat, bad performance, and general bugginess are the usual suspects (Cygwin embodies the trifecta). Even osd/sdl on Windows uses primarily native Windows APIs aside from the SDL audio/video stuff.

2) MAME's existing OSD layer has primitives for anything you should ever need to do in the existing OSD layers (file I/O, graphics, audio, threading, synchronization, and soon sockets), so why ignore them? This is the thing about libmame that I find technically most off-putting; you can get very good portability for free if you simply use the existing OSD layer instead of trying to bolt on your own.







Entire thread
Subject Posted by Posted on
* libmame patch discussion please Bryan Ischo 10/20/11 09:33 PM
. * Re: libmame patch discussion please R. Belmont  10/25/11 05:04 PM
. * Re: libmame patch discussion please Bryan Ischo  11/03/11 08:01 PM
. * Re: libmame patch discussion please Lord Nightmare  11/06/11 06:53 AM
. * Re: libmame patch discussion please Bryan Ischo  11/07/11 09:01 AM
. * Re: libmame patch discussion please Robbbert  11/06/11 08:18 AM
. * Re: libmame patch discussion please Bryan Ischo  11/07/11 09:04 AM
. * Re: libmame patch discussion please lharms  11/07/11 06:24 AM
. * Re: libmame patch discussion please etabeta  11/09/11 10:02 AM
. * Re: libmame patch discussion please R. Belmont  11/10/11 05:37 PM
. * Re: libmame patch discussion please Bryan Ischo  11/10/11 08:13 PM
. * Re: libmame patch discussion please R. Belmont  11/11/11 11:04 PM
. * Re: libmame patch discussion please Bryan Ischo  11/09/11 08:11 PM
. * Re: libmame patch discussion please etabeta  11/15/11 09:51 AM
. * Re: libmame patch discussion please Bryan Ischo  11/07/11 09:10 AM
. * Re: libmame patch discussion please Bryan Ischo  10/26/11 12:04 AM
. * Re: libmame patch discussion please Bryan Ischo  10/25/11 06:58 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 1 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3569