TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Lispers: Which dialect of Lisp do you use and why?

39 pointsby acalderaroalmost 8 years ago

19 comments

bjolialmost 8 years ago
Scheme. The whole &quot;build a language from a small set of well-chosen primitives&quot; really resonated with me.<p>I tried a bunch of other lisps but disliked them for various reasons. Clojure is nice because of the tooling, but I disliked being tied to the JVM and all what that means.<p>CL has some very nice implementations (Allegro CL has a limited free version that has forever changed how I think a programming environment should be).<p>In the end I found guile scheme which is great. The threading situation is good and getting better, the language has all the comfortable srfi&#x27;s that implementations like chez lack, and it has nice community.<p>The reason I chose guile over chicken was the r6rs compatibility, which made supporting both chez and guile rather easy. Other than that, I&#x27;d say that the chicken community is probably the nicest one online. Chicken is really a fine scheme as well.<p>I am not a programmer though, and what I want is for programming to be just fun. Not enterprise ready, not web6.0-cool. just fun.<p>Shameless self-plug: I just finished my racket-like for l-loops for guile: <a href="https:&#x2F;&#x2F;bitbucket.org&#x2F;bjoli&#x2F;guile-for-loops" rel="nofollow">https:&#x2F;&#x2F;bitbucket.org&#x2F;bjoli&#x2F;guile-for-loops</a>
pavelludiqalmost 8 years ago
Common Lisp, for it&#x27;s maturity, stability(decades old code still runs on modern implementation) and remarkably good design considering it&#x27;s a language designed by a committee. Almost all of it&#x27;s problems or dusty corners that show their age can be worked around by libraries. Not to mention the quality of the spec is great. I really miss the attention to detail the common lisp hyperspec has when I have to read about some obscure corner of python for example.<p>I also spend some time with clojure around the time of v1.0-1.2 and quite liked it, but it&#x27;s maturity level and the JVM made it less attractive in the long run.<p>I like scheme as well, but because of the spartan(to use a nice word) spec, If I actually want to get stuff done I&#x27;d have to chose just one implementation and it&#x27;s associated libraries, rather than rely on portable code.
shaknaalmost 8 years ago
Scheme.<p>Simple, strongly typed, and really really easy to write and read.<p>On top of that, its fairly easy to compile as well, which gets rid of a bunch of distribution problems that come with other Lisps.<p>My first in-production experience was converting a monolithic Python web app to Scheme.<p>We wrote a library that brought a lot of Python conventions over to make things easier. Like an import macro that automatically namespaces things. (And we copied Clojure&#x27;s &quot;-&gt;)&quot; macro for closing all open parentheses).<p>Total conversion for ~18,000 LOC Python to ~7,000 LOC Scheme took about nine weeks. The speed-up was about 2.5x.<p>And despite the much smaller codebase for Scheme - we actually added a whole heap of features, whilst matching all old features. (A bug or two as well, but that&#x27;s to be expected).<p>Scheme is just <i>really</i> well suited to parsing, and rewriting itself as necessary.<p>So far as I&#x27;m aware, that stack is still running three years later, so Scheme wasn&#x27;t just a fad for the team (who picked it up in about a week or so).
评论 #15046722 未加载
评论 #15038174 未加载
评论 #15052584 未加载
fractallytealmost 8 years ago
LFE (Lisp Flavoured Erlang). It&#x27;s the ideal tool for exploring AI.<p><i>Handbook of Neuroevolution Through Erlang</i> by Gene Sher makes a compelling argument (with detailed, varied examples) that Erlang is the perfect language with which to implement neural nets.<p>Lisp has always been associated with AI, of course. Nowadays it&#x27;s all Python, Java and R for machine learning, but Lisp can do just as well, plus more: Lisp has an affinity for recursion, and its homoiconicity will - I suspect - prove fundamental for true AI. One can&#x27;t just &#x27;strap on&#x27; its features to those other languages (including Elixir: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7623991" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7623991</a>).<p>So, obviously the right tool for the job is LFE!
tetracaalmost 8 years ago
Common lisp via SBCL. I tried Practical Common Lisp for the hell of it one day, and fell in love with the syntax and macro system once I got the hang of it. I&#x27;ve been using it with Clack to make web applications which is pretty fun.
rekadoalmost 8 years ago
I use Emacs Lisp for Emacs and Guile Scheme for everything else. I prefer Scheme over Common Lisp and Emacs Lisp, because it is more stream-lined, simpler, and elegant.<p>I&#x27;m very happy with Guile and its performance has greatly been improved with version 2.2 (not that performance was a problem before); one thing I miss in Guile is the picture language that Racket comes with.
kazinatoralmost 8 years ago
I use Common Lisp and TXR Lisp, which is my own dialect. (<a href="http:&#x2F;&#x2F;nongnu.org&#x2F;txr" rel="nofollow">http:&#x2F;&#x2F;nongnu.org&#x2F;txr</a>)<p>Common Lisp is well-optimized for application programming. It has excellent compilers, and good debugging support.<p>TXR Lisp is geared toward scripting; it is a very agile, ergonomic Lisp dialect. It has minimal dependencies and builds as a single executable with some satellite library files in your &#x2F;usr&#x2F;share tree, yet is loaded with features.<p>TXR Lisp is a Lisp-2, but thanks to a square bracket notation, the coder can seamlessly shift into Lisp-1 style programming with higher order functions. Though it has the equivalent of CL&#x27;s <i>funcall</i> function and <i>function</i> operator, they are almost never used, and there is no <i>#&#x27;</i> (hash quote) notation at all.<p>I am currently working on the aarch64 (64 bit ARM) port of TXR which I hope to be able to include in version 184.<p>I started the TXR project around this time of year in 2009, which makes it 8 years old now.
JamesLeonisalmost 8 years ago
Clojure, with heaps of Clojurescript to manage the Javascript ecosystem.<p>For over a decade I wrote mainly in C++ doing a lot of Windows programming, usually games or simulations. Mix in some VB and C# when I didn&#x27;t want to battle the Win32 API. I was used to seeing codebases with 100k+ loc and hundreds of megabytes of code files. xkcd COMPILING is real!<p>While working at BitTorrent in 2013, a coworker back introduced me to his little server that distributes uTorrent executable to everybody. It was an implementation of this[1] paper for a general purpose rules-based engine with a snappy (Clojurescript?) front-end. The whole thing was ~5k loc, and ran on surprisingly small hardware compared to it&#x27;s traffic.<p>From there I was hooked. My project sizes are radically smaller, it&#x27;s LISP, and I can go wherever Java goes. I wrote about my experiences with AWS Lambdas last year [2], for example. The community itself is outstanding. They are some of the nicest people you will ever meet. Because the community focuses on small libraries that are composable, those libraries become remarkably stable. Several heavily used libraries haven&#x27;t had commits in months or years.<p>[1]: <a href="http:&#x2F;&#x2F;moscova.inria.fr&#x2F;~maranget&#x2F;papers&#x2F;ml05e-maranget.pdf" rel="nofollow">http:&#x2F;&#x2F;moscova.inria.fr&#x2F;~maranget&#x2F;papers&#x2F;ml05e-maranget.pdf</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;jamesleonis&#x2F;serverless-in-clojure" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jamesleonis&#x2F;serverless-in-clojure</a>
评论 #15037277 未加载
thiagooffmalmost 8 years ago
racket.<p>The ecosystem is great. I wouldn&#x27;t use it for anything big on prod though, but it&#x27;s easy to experiment with and is fun.
bhkalmost 8 years ago
SCAM, because it&#x27;s mine.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bhk&#x2F;scam&#x2F;blob&#x2F;master&#x2F;intro.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bhk&#x2F;scam&#x2F;blob&#x2F;master&#x2F;intro.md</a>
flavio81almost 8 years ago
Common Lisp.<p>It has standarized, well-documented, proven-for-decades way of doing necessary, common day to day stuff like conditions and restarts (aka &quot;exception handling&quot;), package system, or object-oriented-programming. Consider, for example, that Scheme has no standard way of organizing your code into packages and namespaces. Nor standard exception handling system; you are expected to use a lib, use <i>what the particular Scheme implementation you are using offers</i> or roll your own using the (extremely powerful) continuations feature. Scheme also doesn&#x27;t have a standard OOP system like CLOS. You can implement all of this in Scheme, but Common Lisp has this standarized, proven, well-documented way for all of that. This makes reading others&#x27; people code easily, because common stuff is going to be done in a standard way that you already know.<p>It is a Lisp-2 which, for me, makes programming comfortable. People always talk about how macros in Common Lisp are &quot;unhygienic&quot; by default, but it is trivially easy to write a hygienic macro on Common Lisp.<p>It is an ANSI standard and the Common Lisp implementations largely comply with the standard, which means that I can take my code and run it with no changes (or very slight changes) on awesome Lisp implementations like LispWorks, SBCL, CLISP and many others.<p>There is a big amount of documentation available and in the last 10 years the amount of libraries, books and tooling has increased to make CL programming nicer than ever.<p>The implementations can be really high performance. SBCL can be had for free and it&#x27;s performance is awesome. It is amazing that a dynamic programming language could be <i>that</i> fast. Also the implementations are mostly very nice to the programmer.<p>Common Lisp also allows to do low-level stuff if you like, for example it has full support for bitwise binary manipulation. Numeric support is magnificent and standarized: All CL implementations support real, fractional, complex, int, arbitrary precision numbers, and work with them really quickly.<p>Clojure seems more limited compared to Scheme or Common Lisp, being tailored for doing everything the functional way; while both CL and Scheme allow you to be &#x27;eclectic&#x27; and use whatever programming paradigm the situation calls for.
kristianpalmost 8 years ago
I&#x27;m using Chez Scheme for a side project. It supports R6RS.
评论 #15033441 未加载
Blackthornalmost 8 years ago
Clojure. It works very well, I prefer the lisp-1 nature of it to something like Common Lisp, and I really appreciate being able to call out to the JVM (or Javascript, but I don&#x27;t use ClojureScript at all) for whatever I please.<p>It has Pulsar, which is miles ahead of any other lisp&#x27;s threading abilities.<p>I wish it had a more mature static typing story, but I guess you can&#x27;t have everything.
评论 #15046648 未加载
johnny_1010almost 8 years ago
I like NewLisp just for syntax (<a href="http:&#x2F;&#x2F;www.newlisp.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.newlisp.org&#x2F;</a>) also OwlLisp (<a href="https:&#x2F;&#x2F;github.com&#x2F;aoh&#x2F;owl-lisp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aoh&#x2F;owl-lisp</a>).
KirinDavealmost 8 years ago
Clojure is, I think, still my most go-to Lisp.<p>You can argue Clisp is easier to get a quick project going with, but short of that rather old project nothing with a setup any less capable than &quot;lein new&quot; is going to compare for dashing something out real quick.
iLemmingalmost 8 years ago
Clojurescript. Because it works. Because it&#x27;s not frustrating.
rurbanalmost 8 years ago
clisp mostly. Easier to use than sbcl, which mostly fails to install.
评论 #15033536 未加载
评论 #15035261 未加载
gaiusalmost 8 years ago
Elisp, because it&#x27;s the practical way to do &quot;real work&quot; in Lisp under the radar ;-)
dontJudgealmost 8 years ago
Javascript.<p>Cheating because it&#x27;s not a lisp. But it was created by a schemer who originally put scheme in the browser (before he created javascript). Not what I prefer, but it&#x27;s the most lisp-like language I actually use in real projects. The support for closures, lisp-1 invoking functions from variables, and dynamic typing feel very scheme-like.
评论 #15036797 未加载
评论 #15033438 未加载
评论 #15046268 未加载
评论 #15033579 未加载