Windows Scheme/Lisp 实现
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/742482/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows Scheme/Lisp Implementation
提问by Kranar
With the thousands of implementations of LISP and Scheme available I'm having a very hard time finding just the right one to use for Windows development. I learned these languages in school and found them to be very elegant, however, I don't seem to be able to find an implementation that would be suitable for developing code other than in an academic setting.
有了成千上万的 LISP 和 Scheme 实现,我很难找到适合 Windows 开发的实现。我在学校学习了这些语言,发现它们非常优雅,但是,除了学术环境之外,我似乎无法找到适合开发代码的实现。
What is a Scheme or LISP implementation with the following requirements?
什么是具有以下要求的 Scheme 或 LISP 实现?
Compiles to native code, rather than compiling to C.
编译为本机代码,而不是编译为 C。
Supports multithreading on multiple processors (ie. multiple threads can run simultaneously).
支持多个处理器上的多线程(即多个线程可以同时运行)。
Produces 64-bit code.
生成 64 位代码。
Can be used in Windows without requiring Cygwin.
无需 Cygwin 即可在 Windows 中使用。
采纳答案by Rainer Joswig
Corman Lispcould be interesting, but does not support 64bit code (AFAIK).
Corman Lisp可能很有趣,但不支持 64 位代码 (AFAIK)。
Clozure CLis just being ported to Windows, so it is probably not very mature and lacks a few things.
Clozure CL刚刚被移植到Windows,所以它可能不是很成熟并且缺少一些东西。
LispWorksand Allegro CLare great, though they don't support multiple concurrent Lisp threads. Currently LispWorks 6 is under development, which will support multiple concurrent Lisp threads. Note though, that for example LispWorks currently can run a single Lisp thread at any one time, but multiple foreign threads.
LispWorks和Allegro CL很棒,尽管它们不支持多个并发 Lisp 线程。目前 LispWorks 6 正在开发中,它将支持多个并发 Lisp 线程。但请注意,例如 LispWorks 当前可以在任何时间运行单个 Lisp 线程,但可以运行多个外部线程。
Dan Weinreb has a survey of Common Lisp implementations.
Dan Weinreb对 Common Lisp 实现进行了调查。
回答by rincewind
The big commercial Common Lisp implementations should meet all your criteria:
大型商业 Common Lisp 实现应该满足您的所有标准:
LispWorksand Allegro CL.
A fairly complete, usable and free Scheme implementation is Racket(formerly known as PLT Scheme).
一个相当完整、可用和免费的 Scheme 实现是Racket(以前称为 PLT Scheme)。
The free Clozure CLmight also suit your needs.
免费的Clozure CL也可能满足您的需求。
回答by Charlie Martin
I'm very fond of Clozure. MIT Scheme will run under Windows, and it's a good choice for beginners because it's going to match The Book best.
我非常喜欢Clozure。MIT Scheme 将在 Windows 下运行,对于初学者来说它是一个不错的选择,因为它最适合 The Book。
回答by John McAleely
Clozure CL is being ported for its 1.3 release onto 32 and 64 bit windows.
Clozure CL 正在被移植到 32 位和 64 位窗口上,以便将其 1.3 版发布。
That 1.3 release is at RC1 as I type this.
当我输入这个 1.3 版本是在 RC1。
There is a supplied example that uses native Win32 API calls via the FFI to display a traditional Win32 window, complete with message loop etc.
提供了一个示例,该示例通过 FFI 使用本机 Win32 API 调用来显示传统的 Win32 窗口,并带有消息循环等。
The Hunchentoot webserver works on the current builds.
Hunchentoot 网络服务器适用于当前版本。
It supports Unicode, so interfacing with the 'W' Win32 APis should be straightforward.
它支持 Unicode,因此与“W”Win32 API 的接口应该很简单。
It compiles to native code, supports native threads and does not require cygwin.
它编译为本机代码,支持本机线程并且不需要 cygwin。
回答by Marko
Seems like ECL is missing. It is really nice CL implementation that worke on Windows, Linux and Mac, supports native threads on all platforms and allows creating binary files.
似乎缺少 ECL。这是一个非常好的 CL 实现,可在 Windows、Linux 和 Mac 上运行,支持所有平台上的本机线程并允许创建二进制文件。
回答by user89021
This is an excellen description how to install Lisp with Emacs and Slime on Windows XP:
这是一个很好的描述如何在 Windows XP 上使用 Emacs 和 Slime 安装 Lisp:
http://www.pchristensen.com/blog/articles/installing-sbcl-emacs-and-slime-on-windows-xp/
http://www.pchristensen.com/blog/articles/installing-sbcl-emacs-and-slime-on-windows-xp/