This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Scheme is too complicated


David Welton writes:
 > 
 > I would put my 'difficulties with scheme' issues in 2 categories: 1.
 > it really *is* different from everything else I've done..  I
 > definitely fumed a bit when I discovered that there was no 'while'
 > built into the language (and appluaded the fact that guile does have
 > one), and 2. the fact that, except for some things here and there like
 > slib and guile, scheme doesn't seem aimed so much at the "everyday
 > programming tasks" crowd, like Perl, Python, Tcl, etc..  I think Guile
 > will help change this.

'while' can be easily replaced with recursion or a do construct, I don't see 
any reason for missing it.

 > 
 > > BTW-  is it possible to compile guile to use kernel threads?  I saw code
 > > for several different thread packages (mostly labeled as obsolete), but I
 > > don't see the familiar LinuxThreads among them - and grepping for clone() 
 > > doesn't find anything.
 > 
 > >From 'man clone':
 > 
 > " This call is Linux-specific and should not be used in pro grams
 > intended to be portable. You may use POSIX threads instead."
 > 
 > Grep for 'pthread', and 'mutex'...  I think I saw something looking
 > through the sources last night, but I didn't stop and examine it.
 > 

What is so bad about threads implemented in user space like via the qthread lib
that everyone except myself cries for kernel level threads?

	      Klaus Schilling