News for hackers. Stuff that matters.
Re:Ask YC: which editor to use for LISP programming? by gibsonf1 on Sunday October 28, 2007 @07:28AM (#73421)
I'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.
Re:Ask YC: which editor to use for LISP programming? by yrashk on Sunday October 28, 2007 @07:49AM (#73424)
+1 for both slime and git
Re:Ask YC: which editor to use for LISP programming? by gibsonf1 on Sunday October 28, 2007 @11:06AM (#73448)
Performance Note: Our code is running at least 10x faster on Ubuntu with SBCL over Lispworks on Windows
Re:Ask YC: which editor to use for LISP programming? by Shooter on Sunday October 28, 2007 @08:42PM (#73584)
Do 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

Re:Ask YC: which editor to use for LISP programming? by quasi on Tuesday November 20, 2007 @09:37AM (#81922)
You 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.
Re:Ask YC: which editor to use for LISP programming? by gibsonf1 on Tuesday October 30, 2007 @06:05AM (#74150)
We'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.

Re:Ask YC: which editor to use for LISP programming? by sdr on Monday October 29, 2007 @06:22AM (#73732)
Out 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)
Re:Ask YC: which editor to use for LISP programming? by gibsonf1 on Tuesday October 30, 2007 @05:55AM (#74148)
It's hard to say, as we don't have LW on Linux to compare to. My guess is that Windows is a big contributor to the slowness.
Re:Ask YC: which editor to use for LISP programming? by dfranke on Sunday October 28, 2007 @06:34PM (#73536)
Really? 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.
Re:Ask YC: which editor to use for LISP programming? by Tichy on Sunday October 28, 2007 @07:33AM (#73422)
Thanks for the info! I was more tending towards Scheme than Common LISP, does that make a difference?
Re:Ask YC: which editor to use for LISP programming? by corentin on Sunday October 28, 2007 @10:25AM (#73442)
The best Scheme IDE probably is DrScheme (plt-scheme.org)
Re:Ask YC: which editor to use for LISP programming? by herdrick on Sunday October 28, 2007 @04:39PM (#73504)
I use DrScheme every day. It's pretty good and getting better - they just added autocompletion (only for the standard library, not for your own bound variables) for example.
Re:Ask YC: which editor to use for LISP programming? by gills on Monday October 29, 2007 @03:38AM (#73693)
I also use DrScheme regularly.
Re:Ask YC: which editor to use for LISP programming? by apgwoz on Sunday October 28, 2007 @09:34AM (#73436)
Slime doesn't exist for scheme. You can use Slime48 for Scheme48 version 1.3, but I don't know of any other ports for Scheme.
Re:Ask YC: which editor to use for LISP programming? by apgwoz on Sunday October 28, 2007 @10:04AM (#73440)
If you're using MIT Scheme, you might try Edwin?
Re:Ask YC: which editor to use for LISP programming? by mnemonicsloth on Sunday October 28, 2007 @04:55PM (#73506)
Besides Slime, there's also the Cusp plugin for Eclipse (although I haven't used it):

http://bitfauna.com/projects/cusp/index.html

And for Scheme/Emacs there's Quack (google quack.el)

Re:Ask YC: which editor to use for LISP programming? by yrashk on Sunday October 28, 2007 @07:48AM (#73423)
I was quite happy hacking lisp code (cmucl and then sbcl and a bit of clisp) in emacs with slime
Re:Ask YC: which editor to use for LISP programming? by abstractbill on Sunday October 28, 2007 @01:49PM (#73463)
I can't recommend slime highly enough - I miss something comparable now that I'm hacking Python.
Re:Ask YC: which editor to use for LISP programming? by icey on Monday October 29, 2007 @06:16PM (#73976)
Maybe IPython would fit the bill for you: http://ipython.scipy.org/moin/
Re:Ask YC: which editor to use for LISP programming? by sspencer on Sunday October 28, 2007 @01:40PM (#73461)
Vim and SBCL.
Re:Ask YC: which editor to use for LISP programming? by dfranke on Sunday October 28, 2007 @06:33PM (#73535)
How do you interact with your REPL? SBCL is designed around SLIME. I find it virtually unusable without it.
Re:Ask YC: which editor to use for LISP programming? by mqt on Monday October 29, 2007 @06:09AM (#73730)
You 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

[2]: http://news.ycombinator.com/item?id=72863

[3]: http://wiki.alu.org/Slim-Vim

Re:Ask YC: which editor to use for LISP programming? by Zak on Sunday October 28, 2007 @07:12PM (#73549)
SBCL recommends SLIME, but I see no evidence that it's "designed around" SLIME.
Re:Ask YC: which editor to use for LISP programming? by gml on Monday October 29, 2007 @03:59AM (#73701)
Vim and Chicken.
Re:Ask YC: which editor to use for LISP programming? by zandorg on Sunday October 28, 2007 @02:41PM (#73476)
Nedit is very nice.
Re:Ask YC: which editor to use for LISP programming? by Zak on Sunday October 28, 2007 @07:08PM (#73548)
Can Nedit send expressions from the file you're editing to a REPL? I think that's a requirement for a decent Lisp editor.
Re:Ask YC: which editor to use for LISP programming? by zandorg on Wednesday October 31, 2007 @05:00PM (#74810)
I don't think it can, but I tend to copy and paste code from Nedit into a REPL.
Re:Ask YC: which editor to use for LISP programming? by Zak on Thursday November 01, 2007 @03:39PM (#75163)
I did that sort of thing when I first started out with Lisp too. Do yourself a favor and try an editor that integrates with the REPL. It makes life so much easier.