4 ms·
Ask YC: which editor to use for LISP programming?
I have used emacs many years ago, but I wonder if that is still the way to go? Are there IDEs that make sense?
- gibsonf1 19y agoI've been using the Lispworks IDE for the last few years with medium to low satisfaction. Our production server is running SBCL on Ubuntu (which runs considerably faster that LW) and my cofounder is working with Slime. He swears by Slime and I'll be making the switch soon. We are also moving from SVN to GIT.
- Tichy 19y agoThanks for the info! I was more tending towards Scheme than Common LISP, does that make a difference?
- yrashk 19y ago+1 for both slime and git
- gibsonf1 19y agoPerformance Note: Our code is running at least 10x faster on Ubuntu with SBCL over Lispworks on Windows
- dfranke 19y agoReally? That is a lot. I noticed a factor of two when I moved from CLisp to SBCL, and I was under the impression that CLisp is generally the slowest implementation.
- Shooter 19y agoDo you attribute most of the difference in performance to the OS change or to the implementation change, though? (I'll never use Windows, but I've been considering using Lispworks again on OS X for a few things.) I've always used LW with Emacs in the past, not the LW IDE. I use Aquamacs for almost everything now...and SLIME is great. What Lisp libs are you using, if you don't mind my asking? I'm trying to figure out why CL-Memcached is slower than freaking PHP and Python for most things (!) - dcphillips /AT/ runbox /DOT/ com
- gibsonf1 19y agoWe're guessing primarily Windows, but with no LW Linux version to compare with, it is a guess. We're using cl-sql, uffi, md5, portableaserve (with net.html and minimal use of webactions). We have our own caching system (for key mysql db data) running in the application.
- quasi 19y agoYou call being slower by a (sometimes) 34 msec over 10000 network io requests as slow ? Most of the io stuff for php etc. is pure C. If you have /any/ non trivial application then the stability and performance of CL systems become apparent. If that is your problem, then try benchmarking string operations of CL vs. the rest of the gang.
- sdr 19y agoOut of curiosity (as a Lispworks and SBCL user who has never seen this sort of performance difference between the two) is there anything in particular that you could attribute this to (eg. FFI, Streams)
- yrashk 19y agoI was quite happy hacking lisp code (cmucl and then sbcl and a bit of clisp) in emacs with slime
- sspencer 19y agoVim and SBCL.
- dfranke 19y agoHow do you interact with your REPL? SBCL is designed around SLIME. I find it virtually unusable without it.
- Zak 19y agoSBCL recommends SLIME, but I see no evidence that it's "designed around" SLIME.
- mqt 19y agoYou could use vilisp.vim[1], which will basically copy-and-paste Lisp forms into your REPL for you. If you use OSX, you can try pg's method[2] of dragging text between terminals. Better yet, you could resurrect Slim-Vim[3] if you really want SLIME-like features. [1]: http://www.vim.org/scripts/script.php?script_id=221 http://www.vim.org/scripts/script.php?script_id=221 [2]: http://news.ycombinator.com/item?id=72863 http://news.ycombinator.com/item?id=72863 [3]: http://wiki.alu.org/Slim-Vim http://wiki.alu.org/Slim-Vim
- gml 19y agoVim and Chicken.
- abstractbill 19y agoI can't recommend slime highly enough - I miss something comparable now that I'm hacking Python.
- icey 19y agoMaybe IPython would fit the bill for you: http://ipython.scipy.org/moin/ http://ipython.scipy.org/moin/
- zandorg 19y agoNedit is very nice.
- Zak 19y agoCan Nedit send expressions from the file you're editing to a REPL? I think that's a requirement for a decent Lisp editor.
- mnemonicsloth 19y agoBesides Slime, there's also the Cusp plugin for Eclipse (although I haven't used it): http://bitfauna.com/projects/cusp/index.html http://bitfauna.com/projects/cusp/index.html And for Scheme/Emacs there's Quack (google quack.el)