Re: Question: link to wrong library

2018-01-22 Thread Chaos Eternal
sorry, you missed the -L flag On Mon, Jan 22, 2018 at 8:56 PM 陶青云 wrote: > Sadly, also not work. I just want to write a C program link with libguile > that compile from source. > > > -- Original -- > *From: * "Chaos Eternal"; > *

Re: Question: link to wrong library

2018-01-22 Thread Chaos Eternal
omic_ops.so.1 => /usr/lib/libatomic_ops.so.1 (0x7f3cf9937000) > ``` > > > -- Original -- > *From: * "Chaos Eternal"; > *Date: * Mon, Jan 22, 2018 12:58 PM > *To: * "Nala Ginrut"; > *Cc: * "陶青云"; "guile-

Re: Question: link to wrong library

2018-01-21 Thread Chaos Eternal
or try this LDFLAGS=-Wl,-rpath On Mon, Jan 22, 2018, 09:08 Nala Ginrut wrote: > I think you may need LD_LIBRARY_PATH > > 2018年1月21日 23:46,"陶青云" 写道: > >> Hi. I'm new to guile. I compiled it from source without `make install`. >> >> I write a simple C file and use the flowing command to compile i

Re: feature request: simple hashbang for executable scripts

2017-08-21 Thread Chaos Eternal
you can put more arguments in before !# that is on-purpose. On Sat, Aug 19, 2017 at 5:01 PM j kalbhenn wrote: > scripts of other languages usually need just one line to specify the > interpreter: > > #!/usr/bin/myinterpreter > > but with guile we have to add a final !# > > #!/usr/bin/gui

Re: The status of JIT compiler of Guile (was: Guile benchmark)

2017-03-02 Thread Chaos Eternal
赞(+1) On Thu, Mar 2, 2017 at 3:49 PM Nala Ginrut wrote: > Hi folks! > It's been a long time for me to be inactive here. ;-) > > I saw there's thread to discuss Guile benchmark, I think it's better > to mention the JIT compiler of Guile. It exists and real, and of > course, very fast. > > Thanks

Port sexp-diff to guile

2015-06-21 Thread Chaos Eternal
"sexp-diff" computes a diff between two s-expressions which minimizes the number of atoms in the result tree, also counting edit conditionals #:new, #:old. I've ported the code from chicken to guile The code is here https://github.com/ChaosEternal/guile-sexp-diff cheers.

Re: inotify ffi

2014-11-11 Thread Chaos Eternal
and it is not very portable. On Wed, Nov 12, 2014 at 1:55 AM, Chaos Eternal wrote: > i wrote a FFI to inotify system call. > > https://github.com/ChaosEternal/guile-inotify2 > > procedures: > * inotify-init > * inotify-init1 > * inotify-add-watch > * inotify-rm-

inotify ffi

2014-11-11 Thread Chaos Eternal
i wrote a FFI to inotify system call. https://github.com/ChaosEternal/guile-inotify2 procedures: * inotify-init * inotify-init1 * inotify-add-watch * inotify-rm-watch * inotify-read-port the errno handle is unreliable, use with caution. License: LGPL v3

Re: A more generic REPL server

2013-10-06 Thread Chaos Eternal
Is this thing a threadless repl server? if so, i suggest that the code be separated and can be easily integrated into other project. the guile-scsh badly needs such a feature. On Sat, Oct 5, 2013 at 8:56 AM, David Thompson wrote: > Hello all, > > As some of you know, I am writing my own custom R

initial announcement of guile-termite

2013-08-20 Thread Chaos Eternal
Termite is an erlang-style concurrent programming framework oringinally developed on Gambit-C scheme. the guile-termite is a port of the framework to gnu guile. currently finished the thread-mailbox part. the code is accessible https://github.com/ChaosEternal/guile-termite It is licensed under LG

Re: System asyncs and mutexes: a combination prone to deadlocks

2013-08-19 Thread Chaos Eternal
Mark, then what's the purpose that the asyncs supposed to be ? one thing i know which uses async is signal handler, something else? BTW, i used to compare performance that using asyncs as an inter-thread communication method. not good. On Tue, Aug 20, 2013 at 11:00 AM, Mark H Weaver wrote: > H

discussion: serialize procedures and continuations

2013-08-15 Thread Chaos Eternal
In Scheme, procedures are closures, that means it has the code of the procedure itself as well as the required environment for running that procedure. And, mostly, continuations are considered closure. Hence, it is reasonable to expect a way to serialize the closures to disks and/or remote machine

un-determined behavior of asyncs

2013-05-20 Thread Chaos Eternal
hi gurus, I wrote a short code to inspect the behavior of asyncs, and find that neither the running time nor the order of execution is determined, in fact , i find that the execution order of asyncs are random. I just want to understand whether this random execution order of asyncs is designed or

Re: [ANN] guile-scsh 0.2

2013-05-06 Thread Chaos Eternal
hi all, ported and pushed. On Tue, May 7, 2013 at 11:19 AM, Chaos Eternal wrote: > hi all, > > Fortunately, I found the same file in newest release of scsh has > changed licensing statement to GPL. I will port that file here. > > On Tue, May 7, 2013 at 11:12 AM, Chaos Eternal

Re: [ANN] guile-scsh 0.2

2013-05-06 Thread Chaos Eternal
hi all, Fortunately, I found the same file in newest release of scsh has changed licensing statement to GPL. I will port that file here. On Tue, May 7, 2013 at 11:12 AM, Chaos Eternal wrote: > hi Mark > I found this file is originally from savannah CVS repository: > http://cvs.savanna

Re: [ANN] guile-scsh 0.2

2013-05-06 Thread Chaos Eternal
. I will ask Olin whether he is ok to change license. On Mon, May 6, 2013 at 11:27 PM, Mark H Weaver wrote: > Chaos Eternal writes: > >> I here by announce the 0.2 version of guile-scsh, which is ported to >> guile-2.x and now >> available. >> >> you can get

[ANN] guile-scsh 0.2

2013-05-05 Thread Chaos Eternal
I here by announce the 0.2 version of guile-scsh, which is ported to guile-2.x and now available. you can get it from: https://gitorious.org/guile-scsh/guile-scsh Scsh, the scheme shell, a Unix Shell using scheme syntaxes, and much more powerful than bourne shell. Scsh is seized development for m

Re: [Feature Request] Some ideas on 'mmap'

2013-05-01 Thread Chaos Eternal
but howto protect your pointer ? Also, mmap-ed spaces can hardly be GCed, this will introduce extra complexities. still see no extra necessary in compare to ports. On Tue, Apr 30, 2013 at 10:23 PM, Nala Ginrut wrote: > On Tue, 2013-04-30 at 21:57 +0800, Daniel Hartwig wrote: >> On 30 April 2013

Webkit for guile

2013-03-25 Thread Chaos Eternal
Just ask is there any efforts on porting webkit to guile?