Magnus Ahltorp | 18 Aug 06:05 1998
Picon
Picon

building bugs in 0.52

I ran into a few bugs while compiling in srcdir != objdir. Except for
the bugs fixed by the included patch, $(objdir)/c/unix is never
created.

Index: Makefile.in
===================================================================
RCS file: /aladdin/cvsroot/scheme48/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile.in
--- Makefile.in 1998/08/18 03:26:37     1.1.1.1
+++ Makefile.in 1998/08/18 04:05:12
 <at>  <at>  -32,7 +32,7  <at>  <at> 
 #   LDFLAGS = -N

 .c.o:
-       $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir)/c $(CFLAGS) -o $ <at>  $<
+       $(CC) -c $(CPPFLAGS) $(DEFS) -I$(srcdir)/c -I./c $(CFLAGS) -o $ <at>  $<

 # You might want to change RUNNABLE to "s48"
 RUNNABLE = scheme48
 <at>  <at>  -114,7 +114,7  <at>  <at> 
 c/main.o: c/main.c
        $(CC) -c $(CFLAGS) -o $ <at>  \
                -DDEFAULT_IMAGE_NAME=\"$(LIB)/$(IMAGE)\" \
-               $(CPPFLAGS) $(DEFS) c/main.c
+               $(CPPFLAGS) $(DEFS) $(srcdir)/c/main.c

 c/scheme48vm.o: c/prescheme.h c/scheme48vm.h c/scheme48heap.h c/event.h \
                        c/io.h c/fd-io.h
 <at>  <at>  -142,8 +142,8  <at>  <at> 
(Continue reading)

Rodrigo Ventura | 28 Aug 01:19 1998
Picon

Threads anyone?


        Hi. This question is half-off-topic, but here it goes:

        I tried to use threads in rscheme but it looked like only a
small subset of the documented functions were implemented. Then I
found out an "hidden" huge-named module which also implemented threads
that looked like the documented functions. Anyway it seemed still
unusable and I gave up. The whole idea was to port a agent-oriented
language I developed in Common Lisp to scheme, and rscheme looked like
a great platform.

        Several months after I'm interested in resuming that project,
and perhaps redesign a new agent-oriented language from scratch, and I
want to start doing some experimentation. The idea is to use threading
intensively, looking at sequencing as an optimization. Anyway, what I
want is a strong thread support in a scheme language platform.

        Here are my options so far:
                rscheme -- unusable thread support, at least now
                scm -- no threads at all, AFAIK
                mit-scheme -- no threads, too complex system
                scheme48 -- some thread support

        Is there anymore scheme implementations with better/working
thread support? Is any working Common Lisp environment working with
threads? Is my evaluation of the above scheme implementations
wrong/incomplete? What are your suggestions?

        Regards,

(Continue reading)

Donovan Kolbly | 28 Aug 01:25 1998

Re: Threads anyone?

On Fri, 28 Aug 1998, Rodrigo Ventura wrote:

> 
>         Hi. This question is half-off-topic, but here it goes:
> 
>         I tried to use threads in rscheme but it looked like only a
> small subset of the documented functions were implemented. Then I
> found out an "hidden" huge-named module which also implemented threads
> that looked like the documented functions. Anyway it seemed still
> unusable and I gave up. 

Was the "hidden" module rs.sys.threads.manager?  If so, that is the
new-with-unreleased-0.7.3 threads package and I'm curious to know what you
found unusable about it.  It is based on thread support that other people
are using regularly, and it is supposed to be usable and useful.

Any problems you had with the new threads package I will take as a bug and
try to fix.

The base threads support (ie, the threads module in the base system) is
also useful, but requires more kick-starting to get it into gear, and will
be deprecated in favor of the newer modules.

> The whole idea was to port a agent-oriented
> language I developed in Common Lisp to scheme, and rscheme looked like
> a great platform.

Sounds interesting; I've used RScheme for such a project before, to fair
success.  The new threads package is based on my experiences with that
project, in fact.
(Continue reading)

Arthur A. Gleckler | 28 Aug 01:44 1998
Picon
Picon

Re: Threads anyone?

At 04:19 PM 8/27/98 , Rodrigo Ventura wrote:

>        Is there anymore scheme implementations with better/working
>thread support? Is any working Common Lisp environment working with
>threads? Is my evaluation of the above scheme implementations
>wrong/incomplete? What are your suggestions?

You might also try DrScheme:

  http://www.cs.rice.edu/CS/PLT/packages/drscheme/

It has a threads package that uses native threads on Win32 and Solaris and
non-OS threads on other operating systems.  I've just begun experimenting
with it over the last few days but it looks very nice.

Picon

Re: Threads anyone?

>>>>> "Rodrigo" == Rodrigo Ventura <yoda <at> isr.ist.utl.pt> writes:

Rodrigo> Anyway, what I
Rodrigo> want is a strong thread support in a scheme language platform.

Rodrigo>         Here are my options so far:
Rodrigo>                 rscheme -- unusable thread support, at least now
Rodrigo>                 scm -- no threads at all, AFAIK
Rodrigo>                 mit-scheme -- no threads, too complex system
Rodrigo>                 scheme48 -- some thread support

Rodrigo>         Is there anymore scheme implementations with better/working
Rodrigo> thread support?

Thread support in Scheme 48 is pretty complete and transparent.
Moreover, it blends well with the distributed variant of Scheme 48,
Kali.  However, it implements its own thread system rather than going
through an OS thread library.

--

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


Gmane