Re: Whither VMS?



On Thu, 01 Oct 2009 00:17:31 +0200, P. Sture wrote:

In article <7if6l2F30a3ujU2@xxxxxxxxxxxxxxxxxx>,
Bob Eager <rde42@xxxxxxxxxxx> wrote:

By 'quality', I meant well written, i.e. properly laid out, commented,
maintainable. It works OK!

The thing that raised warning signals with me once I saw the NT APIs was
the dependence on null terminated strings. I'd spent a lot of time in
VMS applications eradicating those by adding a length parameter or using
descriptors.

And when CPU was the limiting factor, I didn't see the point of scanning
a string parameter to find the terminating null when the calling routine
knew the length of the string in the first place.

I think that's inevitable when the major language in use is C. That's a
design issue; I was thinking more of how well the code was (not) written.



--
Use the BIG mirror service in the UK:
http://www.mirrorservice.org

.



Relevant Pages

  • Re: Whither VMS?
    ... Bob Eager wrote: ... the dependence on null terminated strings. ... a string parameter to find the terminating null when the calling routine ... knew the length of the string in the first place. ...
    (comp.os.vms)
  • Re: Whither VMS?
    ... The thing that raised warning signals with me once I saw the NT APIs was ... the dependence on null terminated strings. ... a string parameter to find the terminating null when the calling routine ... knew the length of the string in the first place. ...
    (comp.os.vms)
  • Re: Creating anonymous functions using eval
    ... >> compiling a string parameter, and it seems to work pretty well: ... which one can easily fix by passing locals() as an extra parameter. ... Returns an anonymous function created by calling exec on. ... triple-quoted string. ...
    (comp.lang.python)
  • Re: Is there a easy way to program NT Performance Mointer?
    ... > I just want to create a new Performance Counter in my code and add it. ... string ProcessName, ProcessID; ... the buffer contains multiple null terminated strings and then ... string PerfProcessIDCounter, PerfProcessCounter, TempStr; ...
    (borland.public.delphi.nativeapi)
  • Re: C# string to C++ dll char*
    ... > The WS is intended to call some functions in the DLL. ... If the string parameter is used as an output or input/output ... LPCTSTR lpAppName, ...
    (microsoft.public.dotnet.languages.csharp)