<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.lisp.scheme.gauche">
    <title>gmane.lisp.scheme.gauche</title>
    <link>http://blog.gmane.org/gmane.lisp.scheme.gauche</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1216"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1214"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1213"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1212"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1209"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1207"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1205"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1199"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1196"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1193"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1190"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1188"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1186"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1185"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1184"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1182"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1181"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1180"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1178"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.gauche/1177"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1216">
    <title>[ANN] GaUnit 0.1.6</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1216</link>
    <description>Hi,

I've released GaUnit 0.1.6:
  http://www.cozmixng.org/~rwiki/?cmd=view;name=GaUnit
  http://www.cozmixng.org/~kou/download/gaunit-0.1.6.tar.gz

GaUnit is a xUnit based unit testing framework for Gauche.


! How to write?

gauche.test:

  (test "add" 3 (lambda () (+ 1 2)))
  (test "sub" -1 (lambda () (- 1 2)))

GaUnit:

  (define (test-add)
    (assert-equal 3 (+ 1 2)))

  (define (test-sub)
    (assert-equal -1 (- 1 2)))

! Output example

A failure test derived from test/string.scm in the Gauche
repository with a small change (bar -&gt; baz):

gauche.test:
  (test* "string-join" "foo::baz::baz"
         (string-join '("foo" "bar" "baz") "::"))

GaUnit:
  (define (test-string-join)
    (assert-equal "foo::baz::baz"
                  (string-join '("foo" "bar" "baz") "::")))

Here is output:

gauche.test:
  test string-join: expects "foo::baz::baz" =&gt; got "foo::bar::baz"

GaUnit:
    1) Failure: test-string-join
  ./test-string.scm:4: (assert-equal "foo::baz::baz" (string-join '("foo" "bar" "baz") "::"))
  </description>
    <dc:creator>Kouhei Sutou</dc:creator>
    <dc:date>2008-10-22T13:06:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1214">
    <title>0.8.14 FFI changes</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1214</link>
    <description>I moved to 0.8.14 today, and all my stuff immediately segfaults.
Is there a list somewhere of the changes in this version as relates to
foreign code?  For example, optional arguments to a foreign function
trigger a "wrong number of arguments" error.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2008-10-13T22:20:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1213">
    <title>ANN: dyncomp 0.2.0</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1213</link>
    <description>Hi all.

dyncomp 0.2.0 is released.

dycomp is a module that enables to create C function with
gauche.cgen.cise (C in S expression). This function is compiled to
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can
create a fast function.

The change from the previous version is:
    - Gauche module has bindings of C symbols, so different gauche  
modules can associate different binding to the same C symbol.
    - Added some macros (define-cfn, dyncomp-reset!).

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for
more details.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-10-11T12:19:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1212">
    <title>Release 0.8.14</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1212</link>
    <description>Gauche 0.8.14 is available.

 http://practical-scheme.net/gauche/

This release is to flush out cumulative bug fixes and small
improvements.  Nothing particularly shiny, but the performance is
also slightly improved, so you might want to upgrade.

In SVN trunk there's a module parser.peg, a parser combinator library
for parsing expression grammar.   It is NOT included in this release.
I want it be the default choice of the parser of Gauche, and not
satisfied by the current implementation.  You may try it from svn,
but be aware that the API will be changed a lot in future.

Some suggested changes are not incorporated due to the lack of
the time of testing, including Tomas Stanek's suggestion of using
USE_MMAP in GC.

It's been over 4 years since Gauche reached 0.8.  It's not that
the development is slowed down; in fact a lot of code has been
added or rewritten since then.  These days I get more and more
opportunities to use Gauche in real work, and keep adding
stuff that are required in the production environ</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-10-07T14:35:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1209">
    <title>garbage collector issues</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1209</link>
    <description>Hello,

I've encountered quite large memory consumption of gauche under some
circumstances. My program reads an xml document, converts it into a tree
with lots of flonums (sometimes about 20000), do some work with it and 
continues to another document. The program also allocates few large 
(up to a megabyte) blocks and lot of pairs/flonums/etc during each 
iteration.

Problem is, that it's memory consuption grows up to 200 - 300MB and 
never goes down.

I've noticed two things...

First,
Scm_MakeFlonum uses SCM_NEW (not SCM_NEW_ATOMIC) for allocation of the 
ScmFlonum, which is pointer free. I expectd this to be a "typo".

Changing SCM_NEW to SCM_NEW_ATOMIC improves the situation a bit, but 
not as much.


Second,
Boehm Weiser GC is by default configured not to use -DUSE_MMAP
and -DUSE_MUNMAP flags. This way, GC doesn't ever return allocated
memory to the operating system.

By using -DUSE_MMAP and -DUSE_MUNMAP, memory consumption keeps around
20 - 30MB. I'm not sure why -DUSE_M[UN]MAP makes a such difference</description>
    <dc:creator>Tomas Stanek</dc:creator>
    <dc:date>2008-09-04T10:05:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1207">
    <title>Connecting 2 processes by a pipe</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1207</link>
    <description>How one can connect two processes by a pipe like "cat file | wc -l"?
I read "9.16 gauche.process" section of the manual but still can't get it.

</description>
    <dc:creator>Stas Boukarev</dc:creator>
    <dc:date>2008-08-28T20:55:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1205">
    <title>expt hangs</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1205</link>
    <description>I think the expression (expt 1/500029 362880/3) causes Gauche to hang.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2008-08-09T19:52:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1199">
    <title>write-object from write vs. from display</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1199</link>
    <description>Hi.  According to gauche manual,

     When `write' and `display' encounter an object of a user-defined
     class, they call the generic function `write-object'.

The same generic is called for both methods? How do I make my objects
react differently to 'write' and 'display'?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Leonardo Boiko</dc:creator>
    <dc:date>2008-07-29T15:33:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1196">
    <title>c-wrapper doesn't play with the module system?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1196</link>
    <description>Hi.  Sorry if this is a frequent question, but I couldn't find info.
I'm using ncursesw with c-wrapper like this:

  (use c-wrapper)
  (c-load-library "libncursesw")
  (c-include "ncursesw/curses.h")
  […]
  (use gauche.collection)

From the way the module system works, I'd expect a symbol exported by
both the C libs and the "collection" module to be bound to the module
in the last "use" clause, but these aren't the results I get:

  gosh&gt; filter
  #&lt;closure (make-c-func loop239)&gt;
  gosh&gt; (with-module gauche.collection filter)
  #&lt;generic filter (2)&gt;
  gosh&gt; (filter (lambda (i) (lisp? i)) '(scheme ruby cl haskell lolcat))))
  *** ERROR: wrong number of arguments: filter requires 0, but got 2
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-c</description>
    <dc:creator>Leonardo Boiko</dc:creator>
    <dc:date>2008-07-29T02:18:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1193">
    <title>big number printout</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1193</link>
    <description>Not sure this is a bug, but it is confusing:

gosh&gt; (gauche-version)
"0.8.13"
gosh&gt; (+ 40816513889983671.0 3.0)
4.081651388998367e16
gosh&gt; (= (+ 40816513889983671.0 3.0) 4.081651388998367e16)   
#t
gosh&gt; (= (+ 40816513889983671.0 3.0) 40816513889983674.0)
#t
gosh&gt; (= 40816513889983670.0 40816513889983674.0)
#t
gosh&gt; (= 4.0816513889983670 4.0816513889983674) 
#f



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Bill Schottstaedt</dc:creator>
    <dc:date>2008-07-01T14:35:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1190">
    <title>ANN: dyncomp 0.1.2</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1190</link>
    <description>Hi all.

dyncomp 0.1.2 is released.

dycomp is a module that enables to create C function with  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

The change from the previous version is:
    - Added Windows/MinGW support.

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for
more details.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-07-11T22:14:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1188">
    <title>profiler overflow</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1188</link>
    <description>-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08_______________________________________________
Gauche-devel mailing list
Gauche-devel&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
</description>
    <dc:creator>Sven.Hartrumpf&lt; at &gt;FernUni-Hagen.de</dc:creator>
    <dc:date>2008-07-09T13:42:17</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1186">
    <title>ANN: dyncomp 0.1.1</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1186</link>
    <description>Hi all.

dyncomp 0.1.1 is released.

dycomp is a module that enables to create C function with  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

The change from the previous version is:
    - Added MacOSX and FreeBSD support (only x86).

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-07-05T15:35:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1185">
    <title>a little question about wiliki</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1185</link>
    <description>I hope it is the right place to ask.

Is there a way to get the name of the current page from within a virtual page?

for example if I call the page wiliki.cgi?p=RSS_myblog

I want to be able to use the string "myblog" from within 

(define-virtual-page (#/^RSS_/ (_))
...

Any help will be greatly appreciated!

--
JP Theberge





      Offrez un compte Flickr Pro à vos amis et à votre famille.
http://www.flickr.com/gift/

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
</description>
    <dc:creator>JP Theberge</dc:creator>
    <dc:date>2008-07-05T01:43:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1184">
    <title>ANN: dyncomp 0.1</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1184</link>
    <description>Hi all.

dyncomp 0.1 is released.

dycomp is a module that enables to create C function in  
gauche.cgen.cise (C in S expression). This function is compiled to  
native code with Tiny C Compiler (http://bellard.org/tcc/), so you can  
create a fast function.

Here is a Mandelbrot set benchmark in linux (PentiumM 2.13GHz).

# Scheme function
% gosh examples/mandelbrot.scm
;(time (fill-image image size))
; real   1.190
; user   1.180
; sys    0.010

# C function (using dyncomp)
% gosh examples/mandelbrot.scm -c
;(time (fill-image-fast image size))
; real   0.025
; user   0.020
; sys    0.000

See http://homepage.mac.com/naoki.koguro/prog/dyncomp/index.html for  
more details.

NOTE: dyncomp works only in Linux x86.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-06-22T05:36:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1182">
    <title>Gauhebox-0.8.13-box2.exe released.</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1182</link>
    <description>hi.

I released Gauchebox-0.8.13-box2.exe.

http://sourceforge.net/project/showfiles.php?group_id=25227

This release includes Gauche-mingw, Meadow(Emacs22), Gauche-gl, slib,  
WiLiKi, etc.
Thank you saito-san, I use youre Gauche-mingw build.

</description>
    <dc:creator>えんどう やすゆき</dc:creator>
    <dc:date>2008-06-16T10:11:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1181">
    <title>ANN: Gauche-rfb 0.1.3</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1181</link>
    <description>Hi all.

Gauche-rfb 0.1.3 is released.

Gauche-rfb is a cross-platform simple graphics library using VNC  
protocol. You can connect to it using VNC client or Web browser.

The changes from the previous version are:
    - Added the support of Flash's policy file request. If you use  
Flash Player 9,0,115,0 or later, you must upgrade Gauche-rfb.

See http://homepage.mac.com/naoki.koguro/prog/Gauche-rfb/index.html  
for more details.

There are some videos to introduce Gauche-rfb (these videos are for  
Japanese speaker, but you can get what Gauche-rfb can do if you know  
Scheme).
- Lightning Talk in gauche.night 2007
http://video.google.com/videoplay?docid=4894372035050844386
- LiveCoding of making Conway's Game of Life (using Gauche-rfb to  
display)
http://d.hatena.ne.jp/koguro/20080126

Enjoy.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just ab</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-06-06T16:05:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1180">
    <title>Migrating to Subversion</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1180</link>
    <description>Hi Gauche developers,

I've been procrastinating this, but SourceForge.net's CVS
is getting so slow enough to convince me to finally
start migrating Gauche repository to Subversion.

Since Gauche repository have several packages and we have
several committers, I gradually move one package at a time
whenever I find time to do so.   I just migrated Gauche-gl
for the starter.  I'm going to move small packages first,
then Gauche itself.

When you browse the source at the sourceforge.net webpage,
check out the subversion repository first:
http://gauche.svn.sourceforge.net/viewvc/gauche/
Once a package is migrated, the CVS repository will no longer
be updated.  I'll try to remove files from CVS repository
to avoid confusions, but there may be some delay.

Here's a short summary of how to access the new repository,
for your convenience:


THOSE WHO WANT TO GET CUTTING EDGE SOURCE
-----------------------------------------

This command works in general:

$ svn co https://gauche.svn.sourceforge.net/svnroot/gauche/Gau</description>
    <dc:creator>Shiro Kawai</dc:creator>
    <dc:date>2008-06-06T10:27:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1178">
    <title>typo in doc of permute</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1178</link>
    <description>Hi,

I found a typo in modgauche.texi. If it is not fixed yet, please
install following patch.

Masatake YAMATO


Index: modgauche.texi
===================================================================
RCS file: /cvsroot/gauche/Gauche/doc/modgauche.texi,v
retrieving revision 1.112
diff -c -r1.112 modgauche.texi
*** modgauche.texi18 Apr 2008 11:06:02 -00001.112
--- modgauche.texi28 May 2008 09:24:01 -0000
***************
*** 8079,8085 ****
  
  &lt; at &gt;example
  (permute '(a b c d) '(3 2 0 1))     &lt; at &gt;result{} (d c a b)
! (permute '(a b c d) '(0 2))         &lt; at &gt;result{} (a b)
  (permute '(a b c d) '(0 0 1 1 2 2)) &lt; at &gt;result{} (a a b b c c)
  &lt; at &gt;end example
  
--- 8079,8085 ----
  
  &lt; at &gt;example
  (permute '(a b c d) '(3 2 0 1))     &lt; at &gt;result{} (d c a b)
! (permute '(a b c d) '(0 2))         &lt; at &gt;result{} (a c)
  (permute '(a b c d) '(0 0 1 1 2 2)) &lt; at &gt;result{} (a a b b c c)
  &lt; at &gt;end example
  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Mic</description>
    <dc:creator>Masatake YAMATO</dc:creator>
    <dc:date>2008-05-28T09:31:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1177">
    <title>ANN: c-wrapper 0.5.4</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1177</link>
    <description>Hi all.

c-wrapper 0.5.4 is released.

c-wrapper is a foreign function interface for Gauche, and you can use
C libraries easily.

The changes from the previous version are:
    - Added partial support of Objective-C 2.0.
    - Modified ptr-&gt;string and x-&gt;string to copy an original string.

See http://homepage.mac.com/naoki.koguro/prog/c-wrapper/index.html
for more details.

Enjoy.

--
KOGURO, Naoki &lt;naoki&lt; at &gt;koguro.net&gt;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
</description>
    <dc:creator>KOGURO, Naoki</dc:creator>
    <dc:date>2008-05-11T03:29:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.gauche/1174">
    <title>c-wrapper: performance problem</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.gauche/1174</link>
    <description>Hi,

I am playing around with the really nice c-wrapper module. (thanks
alot!)
I stumbled across a performance problem:
Converting some c byte array (char*) to a u8vector is really slow. It
semms the bytes are copied byte for byte in scheme. But maybe my
approach is just plain wrong?

Attached a test script and some profile output (using -ptime).

Note: the profile output is for running the script with the line 24:
    (time (c-byte-array-&gt;u8vector2 (cast (c-array &lt;c-uchar&gt; bytes) array)))
commented out and for 50000 and 100000 bytes.

#!/usr/bin/gosh
;; -*- coding: utf-8; mode: scheme -*-
;; test: performance problem with char/byte* -&gt; u8vector
(use c-wrapper)
(use gauche.uvector)
(use gauche.sequence)

(c-load '("malloc.h"))

;; todo: really slow
(define (c-byte-array-&gt;u8vector1 array)
  (cast &lt;u8vector&gt; array))

;; not fast either
(define (c-byte-array-&gt;u8vector2 array)
  (let1 data (make-u8vector (size-of array))
(for-each-with-index (lambda(i x)(u8vector-set! data i x)) array)
data))

(define (main ar</description>
    <dc:creator>Jens Thiele</dc:creator>
    <dc:date>2008-04-10T18:52:36</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.lisp.scheme.gauche">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.scheme.gauche</link>
  </textinput>
</rdf:RDF>
