lkml.org 
[lkml]   [1996]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Proposal: merged system calls
    On Sun, 19 May 1996, Bryn Paul Arnold Jones wrote:


    > Hmm, woulden't makeing this work:
    >
    > send( 5, read( 4, NULL, 100), 100, 0);
    > send( 5, read( open( "/whatever", O_RDONLY), NULL, lenfile( "/whatever")), lenfile( "/whatever"), 0);


    I've already made this work!

    .....

    Okay I'll tell the whole truth, I created a set of bindings for the lazy
    functional programming language Haskell to the UNIX Socket and low level
    IO routines.


    IMHO anyone who wants to program like the above and is currently using C
    is not only using the wrong language but is in the wrong paradigm.

    Functional programming has it's place and so does C but please don't mess
    up the symantics of standard UNIX tools to make one look like the other.
    send and read are defined by POSIX and that is the way they should stay in
    libc - if you don't like it redefine it in a user lib or use the
    appropriate language bindings.





    --
    Darren J Moffat



    \
     
     \ /
      Last update: 2005-03-22 13:37    [W:6.317 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site