4 ms·
When I started focusing on Scheme as an elegant Lisp for a rapid R&D platform (Web, AI, programming languages, etc.) ~20 years ago, Kawa was one of the implemen
by neilv 5y ago
When I started focusing on Scheme as an elegant Lisp for a rapid R&D platform (Web, AI, programming languages, etc.) ~20 years ago, Kawa was one of the implementations on which I tested my libraries.
I'd been using Java previously for research prototypes, Java was getting popular, and Kawa's property of running on the JVM seemed potentially practically very useful or critical, and I wanted it in my pocket.
I ended up moving primarily to PLT Scheme (aka Racket), but I would (and still do) always tell people about keeping some of the special Scheme implementations as backups. Kawa for JVM, Gambit for large numbers of threads and other properties, Chicken for its C compilation approach and significant community.
I think the JVM aspect was one of the keys to Clojure achieving more popularity than Racket. Though Clojure was also led from the top with a better command of industry application, and also focused outreach on the wealth of Common Lisp (CL) (sometimes called simply "Lisp" without qualification) developers, who as a whole seemed to be more seasoned veterans than our average Scheme/Racket developer. (Whereas Racket, though it also had and gained some very skilled developers, was led from the top towards research and CS education goals, and early developer outreach was maybe mostly about being out there among dozens of Scheme implementations, and trying to be attractive to move to, or to be tried first. Industry application understanding came up from the bottom, the funding at the top remained for academic goals, and none of the people with industry experience got into leadership. So, in hindsight, I suppose it's not surprising that Racket and all the Scheme people who went there never took off commercially, beyond a few random success stories, and that Clojure would end up winning more in that regard.)
If I get time to do more on Scheme/Racket, other than the occasional package maintenance, I'd probably re-focus on portability to at least a few Schemes, and Kawa would be among them. (Right now, I'm leaning towards investing side-project time in leveraging various background towards Rust -- partly for its merits, and partly to keep learning and integrating a breadth of topics. But Scheme is still worth learning beyond school assignments level, and very powerful and a joy to work with practically, iff you have the time to invest in leveling up, filling in missing bits, and pulling off the occasional magic. Scheme even has some influences on Rust, and maybe with additional influences possible.)
- slim 5y agoSo is kawa irrelevant now that clojure exists ? And why did'n't clojure build on kawa instead of starting from scratch ?
- Jtsummers 5y agoIf you have Scheme code that you, for some reason, want to run on top of Java (or the JVM), then Kawa is still relevant. Clojure is similar to Scheme (in some ways, but mostly by virtue of also being in the Lisp family and being a Lisp-1), but is not the same, compatibility with Scheme code was not the intent.
- neilv 5y agoClojure and Scheme are very different languages in the Lisp family. I see Kawa as an option if you need JVM, and you know you want Scheme. From another direction: If the situation is that you have to be heavily integrated into a Java environment (at the library/linking level, not microservices, etc.), such as due to enterprise legacy systems, tech policy, or maybe an embedded system... but you'd get big wins by using a non-Java language with that... then I suppose your options might include Clojure, Scala, and maybe Kawa. (Maybe other options right now; one would have to look into it.)
- akvadrako 5y agoKawa can be used to build and script Android apps. You can't easily run Clojure on Android.
- mumblemumble 5y agoI'd argue not. They're in the same family of languages, but Schema and Clojure feel offer very different programming experiences. Neither is really better or worse than the other, they're just different. Personally, I would probably pick Clojure as a primary implementation language because it's big and enterprisey and heavyweight and has all the tools and whatnot that come with that. And I would be more inclined to pick Kawa for high-level scripting, DSLs, and suchlike, for the same reason.
- alexott 5y ago