Mark Watson’s Artificial Intelligence Books and Blog

Share this post

Using Java applets for UIs for Lisp applications, and web apps in general

markwatson.com

Using Java applets for UIs for Lisp applications, and web apps in general

Mark Watson
Jun 19, 2004
Share

I re-read Paul Graham's paper on using Lisp for server side applications last night.

It got me thinking: since it is almost 20 years since I did a lot of UIs on a hardware Lisp machine, most of my Lisp programming is what I would call "algorithm development programming". That is, I am trying to figure out how to do something, and Lisp is very good for experimental programming.

Most of my Common Lisp programming is done in Lispworks (I own licenses for all platforms that I use) and GUI support with CAPI and CLIM GUI libraries is very good - so, doing straight off GUI applications is easy.

However, since socket connections on a single computer (or even a LAN) are light weight and fast, I am thinking that a more versatile GUI development technique would be to write the user interface as a combined Java applet and Java standalone program (easy to do) that keeps a socket connection open with the application itself.

This is more versatile because, assuming a multi-threaded Lisp implementation, it would be easy to extend an application to a multi-user web application (well, not trivial, but straight forward).

Share
Comments
Top
New

No posts

Ready for more?

© 2023 Mark Watson
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing