Re: How to make GNU Guile more successful

2017-03-06 Thread Arne Babenhauserheide
Alejandro Sanchez writes: > Thank you for you responses, I will try to respond to them all in one email. > > >> About Emacs + Geiser as the default development environment > Emacs is a power tool. Giving someone Emacs to write a simple script is like > handing someone a jackhammer to nail plywoo

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

2017-03-06 Thread Nala Ginrut
I've rebased the latest master (2.1.7.1040-0f7db-dirty) and fixed to work. The result become more interesting with the naive case mentioned in my earlier mail: Chez: 15s Guile-JIT: 12s Alright, we still need to face some problems. In Atsuro's original design, there're two files should be included

Re: Playing with guile (vs python). Generate file for GDP suitable for gnuplot.

2017-03-06 Thread Thien-Thi Nguyen
() l...@gnu.org (Ludovic Courtès) () Sat, 11 Feb 2017 15:12:00 +0100 > (define (file->lines filename) > "Returns a list of lines contained in a file" > (call-with-input-file > filename > (lambda (p) > (let loop ([line (read-line p)]) > (if (eof-obj

Re: REPL history

2017-03-06 Thread Vladimir Zhbanov
I probably confused things and my previous post is not correct. OK, put things other ways. I have a GUI app which starts REPL in another thread. Is there a way to call a thunk in that REPL from the GUI app? Basically, I want it to exit gracefully by calling (quit) in the REPL before GUI exits. -

Re: Guile foreign object interface

2017-03-06 Thread Andy Wingo
Hi :) On Thu 02 Mar 2017 16:47, Mike Gran writes: > I wanted to make a quick post about the foreign object interface. > This is a bit of a placeholder because I haven't had time to > investigate the interface properly, yet. But I intend to poke at > it soon. > But for there record, there are som

Re: Guile foreign object interface

2017-03-06 Thread Andy Wingo
Hi :) On Thu 02 Mar 2017 16:47, Mike Gran writes: > I wanted to make a quick post about the foreign object interface. > This is a bit of a placeholder because I haven't had time to > investigate the interface properly, yet. But I intend to poke at > it soon. > But for there record, there are som

Re: REPL history

2017-03-06 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Mar 06, 2017 at 10:15:02PM +0300, Vladimir Zhbanov wrote: > I probably confused things and my previous post is not correct. > > OK, put things other ways. I have a GUI app which starts REPL in > another thread. Is there a way to call a thunk i

Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-06 Thread Andy Wingo
On Sun 05 Mar 2017 15:01, Thomas Morley writes: > Here some timing values > > (1) > lilypond-2.19.52 using guile 1.8.7 > (I would have prefered to build lilypond with a guile-1.8.8 build from > the guile-repository. Though my try to build it from the > branch_release-1-8 failed. Instead attemptin

Re: REPL history

2017-03-06 Thread Andy Wingo
On Mon 06 Mar 2017 20:15, Vladimir Zhbanov writes: > OK, put things other ways. I have a GUI app which starts REPL in > another thread. Is there a way to call a thunk in that REPL from > the GUI app? Basically, I want it to exit gracefully by calling > (quit) in the REPL before GUI exits. What

Re: Playing with guile (vs python). Generate file for GDP suitable for gnuplot.

2017-03-06 Thread Andy Wingo
On Mon 06 Mar 2017 14:50, Thien-Thi Nguyen writes: > FWIW, we can also use SRFI 13 to save a few cycles: > > (use-modules (ice-9 rdelim) (srfi srfi-13)) > > (define (file->lines filename) >"Return a list of lines contained in a file." >(call-with-input-file >filename > (l

Re: REPL history

2017-03-06 Thread Vladimir Zhbanov
On Mon, Mar 06, 2017 at 09:48:51PM +0100, Andy Wingo wrote: > On Mon 06 Mar 2017 20:15, Vladimir Zhbanov writes: > > > OK, put things other ways. I have a GUI app which starts REPL in > > another thread. Is there a way to call a thunk in that REPL from > > the GUI app? Basically, I want it to exi

Re: How to make GNU Guile more successful

2017-03-06 Thread Erik Edrosa
On 03/05/2017 06:57 AM, Jan Wedekind wrote: > According to Alan Kay's research, the future might be a lot of domain > specific mini languages. I.e. languages tomorrow are going to be like > libraries today. Guile supports custom languages which makes it future > proof at least to some extent. > I

Re: How to make GNU Guile more successful

2017-03-06 Thread Erik Edrosa
On 03/05/2017 09:27 AM, Arne Babenhauserheide wrote: > > Erik Edrosa writes: > >> I think one issue when you want to compare languages like Python to >> Scheme is that these languages are dominated by a single >> implementation. > > I read this argument repeatedly, but it does not apply to C an

Re: extension paths

2017-03-06 Thread Thien-Thi Nguyen
() Mike Gran () Thu, 26 Jan 2017 22:41:23 + (UTC) In ancient days, there were discussions of wrapping lt_dladdsearchdir directly, which would provide that functionality. It was actually something that you could do in TTN's version of Guile 1.4. Yeah, that's what ‘lt_dladdsearch