News for hackers. Stuff that matters.
Re:Why Lisp? by Roark66 on Friday November 04, 2022 @05:37AM (#33463938)
For anyone interested in lisp I suggest guile. Especially if speed is important. Guile can be interpreted, but it becomes much faster when compiled. The beauty of it is one can mix and match compiled code with interpreted code in the same script/program (usually this is done to run the interpreted code in another security context, allowing it to only do some "stuff" - this is especially useful for software deployments etc) - they call this feature gexp. Of course all this can be done with python too, but IMO such things are ugly/convoluted/complex in python while in guile they are very simple /straightforward).

It is basically a lisp language, but with a "curated" set of standard libraries that do a lot of the stuff one may commonly need in a predictable way.

Documentation is definitely not ideal, but it exists and there is a lot of it. Often one has to look through already written code to figure stuff out, but there is lots of that code in for example guix.

In summary, would I suggest anyone uses guile(or lisp in general) for a commercial project instead of python? In 99% of cases the answer is "definitely no", but does this diminish benefits of learning it? No, too. IMO one almost always benefits from learning new languages as long as the new language introduces new concepts. One gains a wider perspective and who knows, perhaps one day, one is involved in scoping that 1% of commercially written software where one may think, yes guile is the way to go.

Re:Why Lisp? by lispm on Friday November 04, 2022 @05:50AM (#33464018)
> The beauty of it is one can mix and match compiled code with interpreted code

That's a standard feature of many Lisp implementations since the dawn of time.

Re:Why Lisp? by Roark66 on Friday November 04, 2022 @07:22AM (#33464883)
>That's a standard feature of many Lisp implementations since the dawn of time.

Yes, of course. I mean this from the point of view of someone who doesn't know any other lisp. Not as an advantage of "guile over lisp" . Guile is a lisp after all.