Welcome Guest!
 Open Euphoria
 Previous Message All Messages Next Message 
Pure Eu file i/o  Pete Lomax
 Feb 17, 2006 20:31 PST 

I have been beavering away, on my compiler/interpreter; and got a good
way in but hit a snag over file i/o, especially performance. What I
want is a pure "Eu" version of file i/o (open, getc, gets, puts, seek,
where, flush ,close) which uses the windows API (ie GetStdHandle,
CreateFile, ReadFile, WriteFile, SetFilePointer, FlushFileBuffers,
CloseHandle, etc).

ie:
function open(sequence filename, sequence mode)
...
r=c_func(xCreateFile,...


Should you accept this challenge, I believe your first attempt will be
over one hundred times slower than native i/o; what I really want is
buffered i/o (perhaps) to get that down to say 4..10 times slower,
before I try again to translate to asm.

If anyone is interested, let me know. If necessary, I can throw you a
few files to get you started, but doing so might lead you up the same
blind ally I have gone down so it might be better not to.

Regards,
Pete
	
 Previous Message All Messages Next Message 
  Check It Out!

  Topica Channels
 Best of Topica
 Art & Design
 Books, Movies & TV
 Developers
 Food & Drink
 Health & Fitness
 Internet
 Music
 News & Information
 Personal Finance
 Personal Technology
 Small Business
 Software
 Sports
 Travel & Leisure
 Women & Family

  Start Your Own List!
Email lists are great for debating issues or publishing your views.
Start a List Today!

© 2001 Topica Inc. TFMB
Concerned about privacy? Topica is TrustE certified.
See our Privacy Policy.