Live data from Hacker News

Elnode, the EmacsLisp webserver, nears release

nic.ferrier.me.uk

21–30 of 33 posts

Re: Elnode, the EmacsLisp webserver, nears release

#21

Earlier quoted context omitted.

wow. yeah, that could be awesome. I'd like to write an elnode adapter for that. Is it packaged and in MELPA or Marmalade?

No but I'd be happy to set that up

Update: Wow, that was easy! It's now available on Marmalade. (package-install 'eredis)

Re: Elnode, the EmacsLisp webserver, nears release

#22
post #7
post #2

Sounds fun. The problem with elisp, though, is that it's (I am told) not a real Lisp. The info tutorial shipped with Emacs doesn't make me suspect otherwise. Perhaps a few neat elnode examples might help.

What is the definition of a real lisp? AFAIK lisp is just a family of computer languages. Elisp certainly isn't the most powerful or full featured but it still seems to have most of the characteristics.

> What is the definition of a real lisp?

Something that makes people fight over whether Scheme is a real lisp. Something that makes people fight over whether Dylan is a real lisp.

In short, there really isn't one. Unless you say that all real lisps adhere to the Common Lisp standard, which isn't, actually, a common position to find anyone taking in real life.

Re: Elnode, the EmacsLisp webserver, nears release

#23
Given the optional lexical scoping of Emacs 24 (which elnode seems to use), I wonder what would be required to port something like this to a full-fledged CL system. Given some emulation of Emacs underpinnings, you could develop completely within Emacs and use that for smaller/local applications, but if you ever require more power, move it to e.g. SBCL and deploy...

Re: Elnode, the EmacsLisp webserver, nears release

#24

Lisp hacker to Lisp hacker, that is very cool. Really off topic but: it is great to be a programmer and write whatever we want for our side projects.

I really want to use this professionally. Lisp is so much more productive (for me at least) than other languages. I just don't want to have to use much else.

Why Emacs Lisp and not a CL? SBCL actually performs on par with more popular languages for server workloads. Emacs Lisp? Not so much.

Re: Elnode, the EmacsLisp webserver, nears release

#26
post #19

An Emacs web server existed over 10 years ago: http://synthcode.com/emacs/phase-0.2.1.tar.bz2 It has no doubt bit-rotted, but had some really nice features, like being able to automatically display any file as HTML with the exact same syntax highlighting that Emacs itself uses.

Emacs webservers have indeed been around for years: http://emacswiki.org/emacs/HttpServer

Most of them required other solutions for accepting the socket however and also failed to address concurrency.

Elnode, btw, does reuse Emacs' syntax highlighting code. Just try it out and see what it's like.

Re: Elnode, the EmacsLisp webserver, nears release

#27
post #23

Given the optional lexical scoping of Emacs 24 (which elnode seems to use), I wonder what would be required to port something like this to a full-fledged CL system. Given some emulation of Emacs underpinnings, you could develop completely within Emacs and use that for smaller/local applications, but if you ever require more power, move it to e.g. SBCL and deploy...

Let's see how we get on with just emacs? Elnode can communicate (asynchronously) with lots of other Elnode nodes... the Elnode RLE module (https://github.com/nicferrier/elnode/blob/master/elnode-rle....) provides code to spin up those nodes and offload processing to them.

I think you could scale with just Emacs.

Re: Elnode, the EmacsLisp webserver, nears release

#28

Earlier quoted context omitted.

I really want to use this professionally. Lisp is so much more productive (for me at least) than other languages. I just don't want to have to use much else.

Why Emacs Lisp and not a CL? SBCL actually performs on par with more popular languages for server workloads. Emacs Lisp? Not so much.

I think the article explains this. People are free to write CL versions, personally, I find EmacsLisp the only really practical Lisp.

node.js has been over the performance grounds a lot, it's scalability that matters, not raw per request performance and for that Elnode could score.

Re: Elnode, the EmacsLisp webserver, nears release

#30

Just a suggestion, but I think a video tutorial demonstrating the workflow advantages would be incredible for the visibility of the project. I, for one, would like to see how you envisioned elnode as a self-contained productive development and administration environment within emacs. edit: doh this is planned

Yes, as I said at the end, that's coming. Hopefully this week. It was important to get Elnode 0.9.9 out first.

And here is a video http://www.youtube.com/watch?v=TR7DPvEi7Jg&feature=youtu...
Post reply on HN