4 ms·
An important note: this is not about "native GUI", this is about creating a GUI inside a browser.
by nine_k 3y ago
An important note: this is not about "native GUI", this is about creating a GUI inside a browser.
- brabel 3y agoCommon Lisp has a specification for a GUI framework, CLIM... This project implements it: https://codeberg.org/McCLIM/McCLIM 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 3y agoEven 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.
- brabel 3y agoYeah I noticed McCLIM uses the X Server, but wasn't aware that doesn't work on MacOS. So, if I install XQuartz I'll get an X Server that can make things work? MacOS is not based on X11 itself? Does it use its own thing?
- eschaton 3y agoNeither NeXT nor the Mac OS used X11 so Mac OS X didn’t either. X11 has always been an option atop the native window system.
- eikenberry 3y agoI'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 3y agoThe latest version of Allegro Common Lisp has a IDE that runs in a browser.
- nine_k 3y agoIn 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.
- Karrot_Kream 3y agoThat is unfortunately one of the main reasons to turn to something like Electron.
- deleted 3y ago[deleted]