Re: Windows vs. Linux - HLA

From: Matt Taylor (para_at_tampabay.rr.com)
Date: 02/23/04

  • Next message: bigeyedfish81: "Multiplying two 16 bit integers"
    Date: Mon, 23 Feb 2004 00:22:57 +0000 (UTC)
    
    

    "James Burkett" <mrburkett@sbcglobal.net> wrote in message
    news:o0a_b.23663$276.15199@newssvr24.news.prodigy.com...
    > I am learning HLA so that I can have maximum speed in my program I want to
    > write. Speed is required as it is math intensive. I will be programming
    > using the math co-processor.
    >
    > In order to display the data, I want to put it into a graphical format in
    > Windows using MASM32 format or using graphics in Linux. Both will be
    using
    > 32-bit format.
    >
    > Question. Because of the layering effect of Windows, will the speed of
    the
    > total program be better in Windows or Linux?

    By how many milliseconds or microseconds? As long as you're not being
    terribly inefficient with graphics (i.e. making system calls to plot each
    pixel), there will be no difference. The main bottleneck as you yourself
    pointed out is the math.

    I would recommend that you look into the SSE/SSE 2 instruction sets. At a
    minimum, they offer scalar FP with flat registers rather than the x87 stack.
    You may also be able to take advantage of vectorization.

    Though it is off-topic here, I will also mention that there is a great
    library called SDL which handles graphics on both Linux and Windows. You
    might look into using it as it will simplify porting your program.

    -Matt


  • Next message: bigeyedfish81: "Multiplying two 16 bit integers"

    Relevant Pages

    • Re: Aint windows grand...NOT
      ... one of these newsgroups complaining that MS Windows is the problem.. ... Linux is coded MUCH better?.. ... INTERNET OPTIONS and look for the button to do this.. ... > I need to format, as i mentioned before, because Windows ...
      (microsoft.public.windowsxp.hardware)
    • Re: Windows vs. Linux - HLA
      ... > Windows using MASM32 format or using graphics in Linux. ... Because of the layering effect of Windows, ... After seeing several graphics demos, I'm lead to believe that windows ...
      (comp.lang.asm.x86)
    • Re: File size increases
      ... If you do a "Paste Special" you have more control over the pasting format, ... > (because they display well onscreen in Windows), ... > documents are reopened/saved on a mac. ... > these graphics handled/stored by Mac Word and Win Word? ...
      (microsoft.public.mac.office.word)
    • Re: Annouce: XNA Roguelike (working title) v0.1 release
      ... too lazy to boot/emulate into windows. ... with some multimedia additions like sfx,music and graphics. ... C# has terrible console support which ruled out ASCII graphics very ... allowing the code to run on linux. ...
      (rec.games.roguelike.development)
    • Re: Annouce: XNA Roguelike (working title) v0.1 release
      ... A* path finding used in dungeon exploration ... too lazy to boot/emulate into windows. ... with some multimedia additions like sfx,music and graphics. ... allowing the code to run on linux. ...
      (rec.games.roguelike.development)