From: Samuel Tardieu <sam@rfc1149.net>
Subject: Re: ICFP Programming Contest virtual machine in Ada
Date: 01 Aug 2006 20:53:26 +0200
Date: 2006-08-01T20:55:43+02:00 [thread overview]
Message-ID: <87vepcb849.fsf@willow.rfc1149.net> (raw)
In-Reply-To: 1154448852.738392.325930@p79g2000cwp.googlegroups.com
>>>>> "Hyman" == Hyman Rosen <hyman.rosen@gmail.com> writes:
Hyman> Did you verify whether it works properly on systems where text
Hyman> and binary I/O are different? In the contest, the first thing
Hyman> the machine needs to do is "decompress" a file, and both the
Hyman> input and output contain sequences which will be mangled if the
Hyman> normal text CR LF mapping takes place. I ran afoul of that in
Hyman> my C++ version of the code and it took me a while to realize
Hyman> what was going on.
As you can see in the code, I used Stream_IO, which only considers raw
bytes, so this is not an issue.
Sam
--
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/
next prev parent reply other threads:[~2006-08-01 18:53 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-01 9:59 ICFP Programming Contest virtual machine in Ada Samuel Tardieu
2006-08-01 16:14 ` Hyman Rosen
2006-08-01 18:53 ` Samuel Tardieu [this message]
2006-08-01 20:33 ` Hyman Rosen
2006-08-01 23:29 ` Samuel Tardieu
2006-08-01 20:43 ` Georg Bauhaus
2006-08-01 21:22 ` Alex Buell
2006-08-01 23:28 ` Javier Miranda
2006-08-02 9:13 ` Georg Bauhaus
2006-08-02 10:29 ` Javier Miranda
[not found] ` <2BEFF609-48F1-4420-8A24-ECFCB5BAD1E3@iuma.ulpgc.es>
2006-08-02 12:39 ` Javier Miranda
2006-08-02 13:57 ` Georg Bauhaus
2006-08-01 23:47 ` Samuel Tardieu
2006-08-02 5:13 ` Gautier
2006-08-02 9:36 ` Samuel Tardieu
2006-08-02 20:39 ` tmoran
2006-08-03 7:30 ` gautier_niouzes
2006-08-03 13:36 ` Samuel Tardieu
2006-08-03 22:58 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox