From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-12 08:59:49 PST Xref: gmd.de comp.os.vms:42289 comp.sys.dec:14278 comp.unix.advocacy:1117 Path: gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Does UNIX do async i/o? Date: 12 Mar 1994 16:59:49 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <2lsse5$57h@gap.cco.caltech.edu> References: <1994Feb26.204059.4068@mixcom.mixcom.com> <11MAR199400234346@hearts.aces.com> <1994Mar11.144337.13745@inmos.co.uk>,<1994Mar11.190110.20289@integrity.uucp> <2lqrtk$99p@gap.cco.caltech.edu>,<2lrev2$q4u@news.utdallas.edu> <2lrgl0$nav@gap.cco.caltech.edu>, Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article , rockwell@nova.umd.edu (Raul Deluth Miller) writes: =I've still not seen a discussion of the VMS library design where, in =essence, all VMS i/o is done with what would be an ioctl() under unix, Under VMS, if you want to do I/O, you call SYS$QIO. You don't go browsing through the manuals to find out what they're calling the routines for various types of I/O in this particular version. =and there's all these useless arguments to be specified even in simple =cases where they're not needed. Gee. It's really an incredible amount of trouble to type in: #define qread(chan, buff, count, iosb) \ SYS$QIOW(0, chan, IO$_READVBLK, iosb, 0, 0, buff, count, 0, 0, 0, 0) #define qwrite(chan, buff, count, iosb) \ SYS$QIOW(0, chan, IO$_WRITEVBLK, iosb, 0, 0, buff, count, 0, 0, 0, 0) in an include file and include it in programs where you're going to use SYS$QIOW only for synchronous virtual I/O. So much more difficult than trying to coerce Unix into doing anything BUT synchronous virtual I/O. =Seems to me that VMS is providing a =low-level mechanism here, with all that implies. = =Which brings me back to my judgement that Unix provides a lot more =("higher level") modularity than VMS. Or, most of the benefits of VMS =have to do with it providing a lower level machine interface. =[Flashback to the "assembly" vs "high level language" wars of =yesteryear.] Hmmm. You just can't please some people: SYS$QIO is too low level, RMS is too high-level. SHEESH! -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.