← Back to context

Comment by iLemming

22 days ago

You probably have no idea how much Lisp is out there in real, production systems. Just because the majority is required to be on Python, doesn't mean it's the best stack for solving problems. Gathering language stats for Lisp is also challenging, because it's not a single PL - it's a whole family of dialects. And these dialects and communities are absolutely thriving. Modern Lisp landscape is very, very different from LISP you're talking about (invented in the 50s).

I just wanna throw myself in here and get some advice. I’ve started using lisp recently mostly for emacs configuration but also doing a bit of recreation game programming in Fennel. If I wanted to learn a lisp for general programming/application stuff like writing a shell, a compiler, something more user facing, what would be good to check out?

  • It doesn't matter. Just start with a Lisp, any Lisp. Grok the idea of being REPL-driven, pick some structural editing idioms. That's all you need. Then, you pick a runtime for your needs. Depending on the runtime semantics you can choose a Lisp dialect for that runtime. Pick up some Clojure, it's enormously practical for any kind of data manipulation and analysis - small or big data. I don't even use jq anymore - studying http response in Clojure REPL is so much more convenient - you sort, filter and group data anyway you like.

  • I prefer the schemes.... Chicken scheme for standalone programs, s7 for embedding into larger systems. They're simple and easy to mold to whatever shape you want in my experience

That's kinda the problem of Lisp curse. You have several hundred slightly incompatible dialects instead of a one good language.

It's akin to how Linux isn't a OS but a family of OS with same core.

  • In practice, it is exactly the opposite of a "curse". From many practical points of view, when you actually use it, it feels and behaves like "one good language". You probably have little idea how jaw-dropping it feels when you write the same piece of logic in Clojurescript, and it seamlessly runs on both JVM and Javascript - completely incompatible platforms. I have not seen this kind of code-reuse even with Node, where the runtime is basically the same on both sides, but you still have to write code for them separately.

    And you haven't even seen the Clojure<->C++ interop in Jank. Anyone who has even the slightest clue of what's up says this is some kind of blackmagicfuckery.

    I mostly don't use Lisp for work; we have some Clojure services, but they rarely require any attention - mostly when we need to bump dependencies. But I use a Lisp for personal stuff and I switch between different dialects multiple times a day - Elisp, Babashka, nbb, Fennel, Jolt, Jank - and the overhead is virtually none. I can't say the same thing about switching between JS/TS, even though I have used them for far longer than any Lisp.

    • Your entire rave sounds like exactly like a NixOS heavy user ranting about the greatness of flakes and immutability.

      And I am left wondering if it is that great why didn't it take over. I think you are ignoring some minor things that make it unpalatable for the most programmers.

      3 replies →

You probably have no idea how much Lisp is out there in real, production systems.

We really do have a good idea because we can see how much every language is used on github and we can see bulk job listings on the internet.

Just because the majority is required to be on Python, doesn't mean it's the best stack for solving problems.

So which is it? Secretly popular or it doesn't matter that it's unpopular because it's so great anyway?

Gathering language stats for Lisp is also challenging, because it's not a single PL - it's a whole family of dialects.

If you take them all together, they still don't amount to much.

Modern Lisp landscape is very, very different from LISP you're talking about (invented in the 50s).

The old lisp landscape actually had some people using it.

It might be time to accept that most experienced programmer have heard of and used lisp or a variant at some point and it just didn't offer a real pragmatic advantage. It was very influential when the alternative was putting in assembly instructions using their hex codes, but modern languages have adopted all the best parts. The parts that are still unique like s-expressions, macros and 'code as data' haven't really paid off as much as people like to pretend. If you have every program writing their own crazy DSL, things get very squirly very fast, because every program becomes it's own niche language.

Mixing 'code and data' is the same thing. The key to simplicity is to use simple straightforward data structures and keep the data and execution as separate as possible because data is static and easy.

It has been 70 years and many ideas were hugely influential while some others ended up doing more harm than good. People thought inheritance was a great idea for 20-30 years too and we're still trying to fix that damage.

  • > We really do have a good idea because we can see how much every language is used on github and we can see bulk job listings on the internet.

    Public GitHub repos and job ads measure open source and hiring. They miss private production code. Nubank runs a bank with 100M+ customers. Google Flights grew out of ITA's Common Lisp engine. Those don't show up much in either metric.

    Just, spend a minute looking at Nubank's numbers. It is the biggest digital bank in the entire world. They grew from ~12M customers in 2019 to 131M in 2025 - almost 1000% growth in less than a decade. For JPMorgan (just for low-key comparison), getting to their ~80M customers took around 150 years and dozens of acquisitions. It's not totally fair, because I'm handwaving assets here and other things, but seriously, how can this story be just ignored?

    > So which is it? Secretly popular or it doesn't matter that it's unpopular because it's so great anyway?

    Both. "There's more than the stats show" and "popularity doesn't measure fitness" don't contradict each other.

    > The key to simplicity is to use simple straightforward data structures

    You're reciting word for word the Clojure philosophy. Rich Hickey's "Simple Made Easy" talk makes exactly your argument.

    > they still don't amount to much.

    Go check Github Language stats and see where Emacs Lisp sits there. And let me remind you, Elisp is not a general-purpose lang, it was made for one and single objective, it's an effing text-editor configuration tool. Once again, r/emacs gets daily announcements of new Emacs packages. I'm not even exaggerating, every single effing day there's someone posting about a new package. Are you seriously not curious to see who the heck all these people?

    > It might be time to accept that most experienced programmer

    I think you seriously need to study the demographics of Lisper communities. Maybe log into Clojurians Slack, or watch some talks from Clojure conferences. Majority of them are surpassingly experienced. Over 95% of them are bona fide programming language polyglots. Most of them either borrow ideas from other languages into Lisp or take what they learned from Lisp into other languages. They rarely bash on specific PLs, because the choice of a language for specific scenarios largely doesn't matter, they understand that. They are not language fanatics. Neither am I. I'm not telling you to switch to my "beloved language". Because Lisp is not a language. Lisp is an idea. And it is a very much a brilliant one.

    > If you have every program writing their own crazy DSL

    > Mixing 'code and data' is the same thing.

    "Code as data" doesn't mean mixing data with execution. It means code is written as ordinary data structures, so tools, editors and the program itself can read and transform it trivially. Languages without it still build DSLs. They just put them in YAML pipelines, JSX, HCL, decorators and annotation processors, and each one needs its own parser and tooling.

    > modern languages have adopted all the best parts.

    They adopted GC, closures and FP idioms. Most didn't adopt connecting to a running process and redefining one function while it runs, or structural editing. Those still change how the work feels day to day.

    > It has been 70 years

    Yes! That's the point. Great ideas are timeless and the grand idea of Lisp as a practical notation for lambda-calculus is timeless. Even though it was not initially designed as a notation for lambda calculus, the way how it fits almost purely incidental. McCarthy invented a language and, by accident, found inside it a minimal self-describing core. That core is the timeless part, and it stays timeless because it was found, not designed. Whether anything in mathematics is truly "discovered" is a philosophical question, but Lisp is one of the stronger cases for saying so.

    You're basically fighting with me if math still matters. Dude, of course it fucking does.

    • Public GitHub repos and job ads measure open source and hiring. They miss private production code.

      Not really, because if companies use it they will mention it when hiring. It isn't back up by any real information. You're basically saying that all data says the opposite, but it's used a ton because of the one example company. This is like when people say haskell is about to take over because someone at facebook used it for an email filter. Everyone gives the same exact example. Every popular language has about a million examples.

      Then you are trying to argue that customers or growth of one company has to do with language adoption. Do you realize that this seems like a desperate backwards rationalization of what you wish was true?

      watch some talks from Clojure conferences

      I have, they are obsessed with the rabbit hole of language pagentry and never seem to end up solving real problems. It's all about more and more complex language mechanics and labels of complicated techniques.

      Both. "There's more than the stats show" and "popularity doesn't measure fitness" don't contradict each other.

      Saying it doesn't matter that it isn't popular contradicts it being popular.

      Do you know where emacs lisp ranks? 49th, behind a half dozen languages I've never heard of and configuration languages.

      Most didn't adopt connecting to a running process and redefining one function while it runs Those still change how the work feels day to day.

      Agreed

      Great ideas are timeless

      Agreed, that's why lisp has been so influential. That doesn't mean it is objectively a good choice by today's standards.

      the grand idea of Lisp as a practical notation for lambda-calculus is timeless

      Maybe, but the truth is no one cares about that because it doesn't mean anything to productivity or better software.

      You're basically fighting with me if math still matters. Dude, of course it fucking does.

      This is a nonsense statement that doesn't relate to the conversation. You're giving something a label that no one is asking for then saying the label is super important. No one cares about this, people can already do what they want.

      5 replies →