8 ms·
Running Lisp in Production (2015)
- aeorgnoieang 9y ago> While the industry waits for LightTable and similar tools to mature, Lisp programmers have been silently and haughtily enjoying such capabilities with SLIME for many years. Were a significant number of Lispers really waiting for LightTable to be usable for them?
- cag_ii 9y agoPresumably "the industry" ≠ "lisp programmers"...
- JamesLeonis 9y agoClojure guy here, FWIW The big deal with tools like LightTable is it's much easier for newcomers to start working on projects. I understand why a user wouldn't want to learn both a language and an editor. One huge issue we struggle with emacs/slime as the editor of choice. Personally I'm a VIM guy, so I got it working there, but that's after I spent some time deep in Vimscript and fiddling with plugins. It's a lot to ask for people that are new, or those that have an editor of choice that isn't supported.
- cup-of-tea 9y agoDid you know emacs has several vi implementations? Many people think they are the best versions of vi.
- hellofunk 9y agoExcept for lisp -- emacs vi implementations don't usually play as well with parenthesis as native emacs, which is superb for lisp coding.
- fiddlerwoaroof 9y agoparedit + evil-mode is really fantastic
- hellofunk 9y agoExcept that evil mode takes priority over paredit and it is quite possible to delete parens and end up with unmatched.
- fiddlerwoaroof 9y agoThat’s why you add evil-paredit-mode to fix that
- hellofunk 9y agobeen there, tried it
- iLemming 9y agoyou're wrong - Spacemacs offers very nice tools for structural editing out of the box and including clever-parens layer. You can also use Parinfer or Lispy. You can customize things to your liking using combination of Paredit and Smartparens.
- hellofunk 9y agoOnly tried evil (which I think is the Spacemacs default?) with paredit and while paredit is a truly stellar, evil mode does not play well with it. Perhaps the other paren tools you've mentioned work better with evil? With paredit, evil editing can delete only part of a paren leaving unmatched problems.
- KingMob 9y agoIf so, they will sadly be waiting forever, as LightTable is largely dead. The creator, Chris Granger, abandoned it for his next project, Eve. After it became clear Chris had left, the community tried to pull together and continue, but it looks like it hasn't been updated in months.
- cup-of-tea 9y agoI doubt many Lispers were because we already have emacs and SLIME. One of the most fun things I did was running a window manager called stumpwm and running swank in that image so it could be modified on the fly with emacs. That's also how you modify emacs itself. It's just so cool to use a tool to modify itself while it's running...
- mping 9y agoAlmost all clojure ide I have used have similar capabilities to lighttable (emacs, atom, sublime, intellij with plugin) because they know how to talk to the nRepl
- sacheendra 9y agoI like lisp as a programming language. But, this article gives one of the reasons for avoiding its use in a high performance production environment. Provisioning a VM with over 25GB RAM for an application which requires about 4GB of it is a huge waste of resources. While the common wisdom on HN is that for most applications, developer costs more than physical resources. Physical resources still cost money. Initially list might be a good option for development velocity. But, over time as the application matures, adding features becomes more complicated and the velocity goes down anyway. Shifting to something which reduces costs by upto 6x might be worth it.
- fao_ 9y agoI wonder if Chicken Scheme has the same memory problems as SBCL. It seems to me that it shouldn't.
- tsm 9y agoIt also has a fraction of the features
- pmoriarty 9y agoIn Chicken, those features might not be in the core language but in the libraries. It really depends on which features you need. If they're not in Chicken or its libraries, ask yourself if they're really worth the bloat of SBCL? Also, Chicken offers a number of other advantages apart from a much smaller footprint, like elegance, a less crufty and more modern syntax, and the ability to compile down to C.
- kazinator 9y ago> to compile down to C. This HN submission's referenced article ("Running Lisp in Production" (2015)) is about SBCL which compiles down to native code. There are CL implementations that compile to C, if you think that is better for some reason. For instance, derivatives of Kyoto Common Lisp, such as GNU Common Lisp. Or ECL: https://common-lisp.net/project/ecl/static/manual/ch34s02.html https://common-lisp.net/project/ecl/static/manual/ch34s02.ht... "The other type of compilation is the so-called "native" compilation. This process consists on translating the lisp source file to C language. The intermediate file is later compiled using a C compiler."
- Lionsion 9y ago> Fortunately, this obscure Stack overflow question helped [https://stackoverflow.com/questions/442556/spec-for-junit-xml-output https://stackoverflow.com/questions/442556/spec-for-junit-xm...] — we ended up having to build this into our own testing library should-test. > closed as off-topic by kleopatra, Martijn Pieters Jun 19 '15 at 19:55 All the best SO questions get closed.
- Something1234 9y agoSeems completely justified to be closed. Although this does seem to fall in scope as it would be very difficult to locate without knowing exactly what you are after.
- Waterluvian 9y agoWhich is why it's probably fair that they're closed but not deleted.
- Something1234 9y agoThere really does need to be a tag for that kind of question. Something along the lines of I'm looking for a spec about X, but I haven't had any luck finding it.
- keithnz 9y agoIt's a bit of a tricky one as it may get downvoted / closed, but another approach is to try and avoid asking for the resource and ask something like What is the specification for X? or What is the name of the specification for X? or Is there a specification that defines the output of X? While most of the answers will likely link to a resource, technically you didn't ask for an offsite resource, however it may be seen as too broad , or still may get closed for asking for offsite resources.
- kazinator 9y ago