[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnome-clutter + repl?

From: joakim
Subject: gnome-clutter + repl?
Date: Sat, 24 Sep 2011 16:57:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)


I'm interested in prototyping an application with gnome-clutter and

This application will probably be a C application that embedds
Guile. (I've tried many other approaches* but they fail so lets discuss
this particular scenario)

Anyway, the problem is that clutter needs its own event loop,
clutter-main, so then I can't simply use the Guile REPL as I'd like.

So these appear to be my choices and I'd appreciate help selecting a
good approach:

- Don't use the REPL as is, instead make the C application call the
  Guile evaluation routines. Then I must decide things in advance and
  can't use explorative programming

- Make separate threads for the REPL and Clutter. Then I get boring thread
  synchronisation issues.

It seems guile-gnome-platform take the first approach.

*) Ideally I'd like no C and only Guile. 
I've mostly tried different ways to interface to Clutter from Guile. I
hacked guile-clutter until it compiled but then it didn't want to
runtime link. I tried Sbank, but it didn't work with guile. I also tried
guile-gir, but it didn't work too well either. So until any of these
other approaches pan out I can embedd guile.

Joakim Verona

reply via email to

[Prev in Thread] Current Thread [Next in Thread]