Re: Larkin, Power BASIC cannot be THAT good:



On a sunny day (Wed, 10 Jun 2009 08:42:12 -0700 (PDT)) it happened
mrdarrett@xxxxxxxxx wrote in
<06622d43-48ec-4cfd-8b82-7804e06716da@xxxxxxxxxxxxxxxxxxxxxxxxxxx>:


Nice site :-)
Too bad the moron did everythin gin .pdf that loads slow and is useless i=
n a browser.
Blame that o adobe (WTF source code in pdf??????).
So I deleted that bookmark again.


You're impatient. Consider that the book, new, costs US$100+ on
amazon.com.

In Firefox I just right-click, Save Link As. I did it while reading
the various chapters.

Check out Chapter 6, and re-evaluate whether this is junk to you. I
had no idea the LEA instruction could add so efficiently.

http://downloads.gamedev.net/pdf/gpbb/gpbb6.pdf

Michael

So I looked up that chapter.
But you know. these days, I write in C, and use gcc as compiler.
I have come to trust gcc, its code generation, its libraries.
So I could not care less if the processor targeted (I use other platforms then x86 too)
had a hardware instruction to do every thing my program needs,
As long the as the compiler knows it :-)

This is the advantage of C, or as J. Larkin would state: 'Power BASIC',
or any high level language.
I did some asm programming of x86 in the long ago past, but since 486 DX2 66 MHz
I have not kept up with what Intel did, and do not care.
The only time I may ever look at x86 or similar complex processor's asm is for
fun at the gcc output to see what it generates.

I use asm on PIC (only asm, I have that C compiler, but asm is closer to
the hardware for me).
In my view with good compilers for the sort of thing I do no asm is needed.
It may be needed if you write a codec and need max speed perhaps.

There are several useful graphics APIs that can be called from C.

How fast do you have to go anyways?
The latest H264 encoders use Nvidia graphics cards as hardware accelerator.
that is so specialised, if you design that sort of soft, then yes, maybe
you need to be wizard in x86 asm:
http://www.mediacoderhq.com/
Do they use asm? perhaps?


.



Relevant Pages

  • Re: Help with Chosing Hardware / Software
    ... Can anyone who has experience with FORTRAN / X86 coding ... The ASM IDE package includes how-to info on making Linux system calls from ... compiler that allows custom command design and optimization. ... The compiler comes with the NASM assembler which uses the ...
    (comp.lang.asm.x86)
  • optimizers are overrated
    ... I started learning ASM not long ago to improve my understanding of the ... The first function uses a typical C style loop to ... which one is more efficient all you guys would reply "the compiler will most ... so my "write C like ASM" optimization worked. ...
    (comp.lang.c)
  • XML-based object orientated pre-Assembler
    ... I have been promising an object orientated ASM IDE for a while now. ... Trying to make the best of what is already here, I have made a compiler, ... that will parse XML code and output ASM files. ...
    (alt.lang.asm)
  • Re: C++ in ternms of C
    ... >about class and struct difference. ... How is the private and public part ... I tried to analise the ASM file produ ced my the VC++ compil er. ... >epresented by the c++ compiler in translation to intermediate stage. ...
    (microsoft.public.vc.language)
  • Re: [OT] Sed and Awk
    ... including leaving out the compiler and the libs necessary to ... then ASM would be the way to go. ... > debugging a suspected compiler bug? ... > the same assembly as nested ifs from my target compiler). ...
    (comp.unix.shell)