Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Celebrities > Elite > Re: Jongware ->...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 14 Topic 1039 of 1103
Post > Topic >>

Re: Jongware -> Building Galaxy Generator in C#

by "[Jongware]" <IdontWantSpam@[EMAIL PROTECTED] > Dec 12, 2007 at 10:33 PM

"Marcin Grzegorczyk" <mgrzegor@[EMAIL PROTECTED]
> wrote in message
news:fjpbkj$dtt$1@[EMAIL PROTECTED]
> MICHAEL.MCALEA@[EMAIL PROTECTED]
 wrote:
> > [...]
> > Thanks Jong, it works perfectly under borland C++ 5.5 which means its
> > a compiler problem *Grrrr*.
>
> I'd suspect non****table code rather than a compiler problem.  It's not
> that easy to write ****table C (especially when ****ting from assembly),
> so many details of C are implementation-defined or unspecified (or even
> undefined).

While a perfectly valid statement, it doesn't rule out programmer errors;
I
found one in Mike's code, and when fixed, it worked perfectly.

A /possible/ implementation flaw is when some compilers zero out new
variables
and others don't -- a very popular one in MSVC ("debug version runs but
release
code does not", as often seen on MS forums).
Your comment on the behaviour of rotl/rotr has been duly noted
(implementation
of rotl/rotr). With the singular exception of the rotl/rotr code all
worked
perfectly first go on a competitive C compiler (MSVC vs Borlands).
But other unexpected errors can be expected when people try my code on
other-endian or 64 bit machines -- or, gods forbid, on 8 bit machines.

I can only comment: "At least now it's in C instead of pure 386 assembly."
That
should at least open the door to other platforms and architectures.

[Jongware]
 




 14 Posts in Topic:
Jongware -> Building Galaxy Generator in C#
MICHAEL.MCALEA@[EMAIL PRO  2007-12-06 17:18:55 
Re: Jongware -> Building Galaxy Generator in C#
"[Jongware]" &l  2007-12-07 17:06:29 
Re: Jongware -> Building Galaxy Generator in C#
Marcin Grzegorczyk <mg  2007-12-07 22:35:30 
Re: Jongware -> Building Galaxy Generator in C#
MICHAEL.MCALEA@[EMAIL PRO  2007-12-09 15:37:54 
Re: Jongware -> Building Galaxy Generator in C#
"[Jongware]" &l  2007-12-10 12:28:30 
Re: Jongware -> Building Galaxy Generator in C#
MICHAEL.MCALEA@[EMAIL PRO  2007-12-10 05:14:56 
Re: Jongware -> Building Galaxy Generator in C#
"[Jongware]" &l  2007-12-10 20:01:56 
Re: Jongware -> Building Galaxy Generator in C#
MICHAEL.MCALEA@[EMAIL PRO  2007-12-11 01:50:32 
Re: Jongware -> Building Galaxy Generator in C#
"[Jongware]" &l  2007-12-11 21:54:48 
Re: Jongware -> Building Galaxy Generator in C#
MICHAEL.MCALEA@[EMAIL PRO  2007-12-12 04:13:19 
Re: Jongware -> Building Galaxy Generator in C#
Marcin Grzegorczyk <mg  2007-12-12 20:09:06 
Re: Jongware -> Building Galaxy Generator in C#
"[Jongware]" &l  2007-12-12 22:33:24 
Re: Jongware -> Building Galaxy Generator in C#
Marcin Grzegorczyk <mg  2007-12-13 00:10:16 
Re: Jongware -> Building Galaxy Generator in C#
stevehodge@[EMAIL PROTECT  2007-12-21 15:54:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 6:33:46 CST 2008.