Re: Windows vs. Linux - HLA
From: Matt Taylor (para_at_tampabay.rr.com)
Date: 02/23/04
- Previous message: James Burkett: "Windows vs. Linux - HLA"
- In reply to: James Burkett: "Windows vs. Linux - HLA"
- Next in thread: Phil Carmody: "Re: Windows vs. Linux - HLA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: James Burkett: "Windows vs. Linux - HLA"
- In reply to: James Burkett: "Windows vs. Linux - HLA"
- Next in thread: Phil Carmody: "Re: Windows vs. Linux - HLA"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|