Re: "AIscm" array JIT

2016-06-11 Thread Jan Wedekind
On 10. Juni 2016 22:48:56 GMT+01:00, Arne Babenhauserheide wrote: >Hi Jan, > >Jan Wedekind writes: > >> Yes, here are some examples with empty arrays and arrays with 250,000 > >> elements. I hope that the upcoming Guile version 2.2 will help >increase >> performance as well. >> >> $ make be

Re: "AIscm" array JIT

2016-06-11 Thread Jan Wedekind
On 11. Juni 2016 02:42:19 GMT+01:00, Basa Centro wrote: >I've had the AIscm code on my laptop for months, I was looking at how >to do something with GOOPS. Nice work, and I hope you continue on it. >Another "me too". Yes, one can use GOOPS objects without mutating. Unlike Clojure, Scheme does n

Re: Transient environment with standard functions

2016-06-11 Thread Basa Centro
It seems in essence you are building up a Scheme expression using the graph and the code snippets and evaluating that expression. If this is the case, do you even need to use a module system and/or to explicitly create environments? Prima facie, it looks like you are trying to reinvent the wheel.

Re: anyone define port types?

2016-06-11 Thread Andy Wingo
On Wed 06 Apr 2016 01:55, Matt Wette writes: >> On Apr 5, 2016, at 7:06 AM, Mark H Weaver wrote: >> >> Matt Wette writes: >> On Mar 28, 2016, at 12:04 PM, Andy Wingo wrote: I am working on improving our port implementation to take advantage of the opportunity to break ABI in 2

Re: anyone define port types?

2016-06-11 Thread Andy Wingo
On Wed 30 Mar 2016 08:29, Panicz Maciej Godek writes: > Hi Andy, > I have been using soft ports to implement a text widget in my GUI > framework. I also used GOOPS, which I regret to this day, and so the > whole framework needs a serious rewrite, but if you're collecting > various species to the

Re: anyone define port types?

2016-06-11 Thread Andy Wingo
On Fri 01 Apr 2016 16:38, l...@gnu.org (Ludovic Courtès) writes: > Here’s a port type! :-) > > https://gitlab.com/gnutls/gnutls/blob/master/guile/src/core.c#L785 Thanks! So port types written in C will have to change unfortunately :/ From NEWS: ** Complete overhaul of port internals

Re: anyone define port types?

2016-06-11 Thread Andy Wingo
On Thu 14 Apr 2016 16:08, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> I am working on improving our port implementation to take advantage of >> the opportunity to break ABI in 2.2. I am wondering how much I can >> break C API as well -- there are some changes that would all

Re: Transient environment with standard functions

2016-06-11 Thread Matthew Keeter
Yes, the graph is equivalent to an s-expr (with subgraphs being nested scopes). The reason that I’m not just representing the graph as a single expression is for efficiency – I’m doing incremental updates and change tracking, so you can update one of the node's expressions and have the changes p

Re: Transient environment with standard functions

2016-06-11 Thread Basa Centro
Yes, the graph is equivalent to an s-expr (with subgraphs being nested scopes). The reason that I’m not just representing the graph as a single expression is for efficiency – I’m doing incremental updates and change tracking, so you can update one of the node's expressions and have the changes pr

Re: Transient environment with standard functions

2016-06-11 Thread Basa Centro
I did think of one project that uses a Lisp (CL) to let you do CAD in an Emacs REPL, rather than a GUI, which is Gendl: Demo: https://www.youtube.com/watch?v=yTcxNaBKTOc Repo: https://gitlab.common-lisp.net/gendl/gendl If you haven't seen it, it uses a declarative syntax to avoid some of the