[HN Gopher] Clog - The Common Lisp Omnificent GUI
       ___________________________________________________________________
        
       Clog - The Common Lisp Omnificent GUI
        
       Author : marcodiego
       Score  : 107 points
       Date   : 2023-06-29 14:40 UTC (8 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | jpe90 wrote:
       | I've been exploring this project recently, I'm having a great
       | time with it so far. The many examples and great documentation
       | are much appreciated. I'm very tempted to try it for some
       | upcoming projects building workflow systems at work.
        
       | kaeland wrote:
       | I really hope this library continues to grow. Going through Dr.
       | Botton's documentation has been helpful in learning the in's and
       | out's of CLOG.
        
       | nine_k wrote:
       | An important note: this is not about "native GUI", this is about
       | creating a GUI inside a browser.
        
         | eikenberry wrote:
         | I'm starting to come around to the idea that the browser _is_
         | the modern GUI framework. That is that modern web browsers are
         | the native desktop widget set these days and the model of
         | running an app that opens a browser tab (not electron) as it 's
         | interface is probably the best option for many applications.
        
           | lisper wrote:
           | The latest version of Allegro Common Lisp has a IDE that runs
           | in a browser.
        
           | nine_k wrote:
           | In many cases, this is a fine approach: see Syncthing, or
           | every router GUI.
           | 
           | Also, you can throw away the DOM and render everything via
           | WebGL, which may be fine for something like a video editor.
           | 
           | What bothers me for _decades_ is the stubborn refusal of
           | browser vendors to allow connecting to domain sockets on Unix
           | or named pipes on Windows. That would solve the problem of
           | connecting to some random port on localhost, where TLS is a
           | pain.
        
         | brabel wrote:
         | Common Lisp has a specification for a GUI framework, CLIM...
         | 
         | This project implements it: https://codeberg.org/McCLIM/McCLIM
         | 
         | However, just today I tried to run it on MacOS and got socket
         | errors... it seems that it tries to communicate with a backend
         | server via sockets, and Mac doesn't let that run?!
        
           | LispSporks22 wrote:
           | Even on macOS I believe McCLIM will use X11, for which CLX is
           | the Common Lisp implementation of. CLX works by sending X11
           | packets over a socket. Unless you have Quartz or similar
           | installed, you probably got that error.
        
       | vindarel wrote:
       | and for a quick overview of other GUI solutions:
       | https://lispcookbook.github.io/cl-cookbook/gui.html (Gtk4, Qt4
       | and 5, LispWorks' CAPI (incl. for mobile runtimes), IUP...)
       | 
       | I have been pleasantly surprised lately to discover surprisingly
       | nice-looking Tk themes (like https://github.com/rdbende/Forest-
       | ttk-theme). We can use them from CL too, with the nodgui library
       | :) (see link)
        
       ___________________________________________________________________
       (page generated 2023-06-29 23:00 UTC)