> competitive advantage to have the fastest driver because it shows up
> in PC Magazine benchmarks. Some stuff can be equally quick under
> assembly or C, but some, especially device i/o, is much quicker with
It tends to be very small amounts, and porting them is normally easy.
Doom has about 100 lines of asm in its game engine for example (and worth
about 15% speedup when put into the linux doom!). Device I/O is generally
as quick in C if you have a decent compiler.
> There's also the additional point that SDK-specific coding, such as Direct-
> Draw, is not assembly but is highly platform-dependent. In that sense,
Yep. That one is a real issue. You use 'mega neat function X' then find the
other platform doesnt have it but emulates it by plotting pixels. Whoops ;)
> FWIW, I've been writing a program to connect the PC110 to an IrDA serial
> adapter under WinNT and Linux, because I run both and neither has a
Are you using Dag's Linux IrDA protocol stack for this ?
> For a particularly painful example, try running a Commodore emulator under
> Win95/DOSEMU. Again, Win95 lets it go pretty much right to the hardware,
> sacrificing a bit of speed. DOSEMU makes it unusable.
Full screen it works ok. Ive been using the X windows emulators however.
The Amiga emu is still too slow so I bought an Amiga and plugged it into
my TV card 8)