Emacs 客户端-服务器-应用程序的可扩展性如何?
Emacs 的正式名称是“文本编辑器”,但许多人将其用作操作系统。更准确地说,Emacs 可以被描述为 Lisp 解释器和开发交互式应用程序的环境。它具有客户端-服务器架构和大量有据可查的功能。作为一个 Lisp 解释器,它的可配置性也非常好。
然而,除了所有这些优点之外,我从未听说过基于 Emacs 的商业(或者说“高负载”)客户端-服务器应用程序。它似乎主要由具有 IT/数学背景的高技能个人使用。为什么会这样呢?是否没有人想过将 Emacs(和 Elisp)用于他的严肃的客户端-服务器应用程序,或者 Emacs 根本不适合这种任务?是否可扩展性不够,或者计算模型不适合工业环境中的团队开发?
使用 Emacs 作为大型客户端-服务器应用程序的平台有哪些限制?是否可以将 Emacs 服务器用于 Web 应用程序(以 Web 浏览器作为客户端)?
Emacs is officially named a 'text editor' but used by many as an operation system. More precisely, Emacs can be described as an Lisp-interpreter and an environment for developing interactive applications. It has a client-server architecture and a sheer overwhelming amount of well documented functionality. As a Lisp-interpreter, it is extremely configurable too.
However, besides all this merits, I never heard about commercial (or lets say 'high load') client-server applications based on Emacs. It seems to be used mainly by highly skilled individuals with IT/math background. Why is that so? Did nobody ever had the idea to use Emacs (and Elisp) for his serious client-server application, or is Emacs simply not suited for this kind of mission? Is it not scalable enough, or is the computational model unsuited for team development in an industrial setting?
What are the limits for using Emacs as a plattform for large-scale client-server applications? Would it be possible to use the Emacs server for a web-application (with web-browsers as clients)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当然,这是可能的(明显的图灵完备链接)。
然而,Emacs 不是多线程的,我怀疑有人编写非线程 Web 服务......
Sure, it is possible (obvious Turing complete link).
However, Emacs isn't multi-threaded, and I doubt anyone writes a non-threaded web service...
可扩展性不是 Emacs 的设计目标,因为对于文本编辑器或 Emacs 上的任何其他应用程序来说,它是不必要的,这些应用程序通常关注客户端,而不是服务器,因为这是强大的编辑环境更有用的地方。
Scalability is not a design goal of Emacs, as it is unnecessary for a text editor or any of the other applications that sit on Emacs, which usually focus on the client, not the server, as that is where a powerful editing environment is more useful.