From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Olivier Dion via General Guile related discussions Newsgroups: gmane.lisp.guile.user Subject: Re: good papers on graphics in scheme/lisp? Date: Wed, 02 Mar 2022 12:34:32 -0500 Message-ID: <875yow5kd3.fsf@laura> References: <875yow2t06.fsf@nonconstructivism.com> Reply-To: Olivier Dion Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6830"; mail-complaints-to="usenet@ciao.gmane.io" To: Blake Shaw , guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Mar 02 18:36:32 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nPSts-0001Wj-5o for guile-user@m.gmane-mx.org; Wed, 02 Mar 2022 18:36:32 +0100 Original-Received: from localhost ([::1]:45962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPStq-00013K-Uk for guile-user@m.gmane-mx.org; Wed, 02 Mar 2022 12:36:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPSsB-0007sB-PQ for guile-user@gnu.org; Wed, 02 Mar 2022 12:34:47 -0500 Original-Received: from smtp.polymtl.ca ([132.207.4.11]:33193) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPSs8-00050F-Ph for guile-user@gnu.org; Wed, 02 Mar 2022 12:34:46 -0500 Original-Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 222HYWTA008834 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Mar 2022 12:34:37 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 222HYWTA008834 In-Reply-To: <875yow2t06.fsf@nonconstructivism.com> X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Wed, 2 Mar 2022 17:34:32 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18152 Archived-At: On Wed, 02 Mar 2022, Blake Shaw wrote: > Next week I will start working on my installation /Scribble Jam/ for > iLight Singapore[2], and I'm planning to do it all in Guile OpenGL + > GLSL. I've started fiddling with Guile OpenGL and it seems pretty > complete and performant (I haven't experienced any GC hiccups from the > small stress tests I've put it through, but its still only minor > stuff). > There is still a chance I might choose to create a Guile > interface to a subset of the C++ OpenFrameworks[3] library FFI for C++ is a real pain to do. You can't juste use plain Scheme (at least I don't know how for C++). If you go that route, I have C++ templates that can help you for the glue between Scheme and C++ (e.g. std::vector, std::map, std::string). > Also, one last thing, I'm considering attempting to create a DSL that > compiles to a subset of GLSL like Chicken's GLLS library[4], as I'm > becoming more and more interested in compilation. I remember reading > somewhere about a Guile library that allows you to write C in Guile, I think you are refering to . There's also that can be helpful if you're familiar with LALR(1) parsers. Regards, old -- Olivier Dion Polymtl