TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

NewLisp

86 点作者 jsnathan超过 9 年前

10 条评论

gecko超过 9 年前
Has anyone ever used NewLisp for something interesting? Would you mind talking about your experience? NewLisp, despite the name, is actually quite old at this point, and its release cycle has slowed down a bit over the years. I&#x27;m assuming it landed so high on the front page because people are interested, so some real-life stories would be helpful.<p>(I have a real-life story that concludes with &quot;so I got fed up and rewrote the thing in Python&quot;, but I&#x27;m not all convinced that the problem wasn&#x27;t with me.)
评论 #10279643 未加载
评论 #10280194 未加载
评论 #10279677 未加载
评论 #10279464 未加载
munificent超过 9 年前
Dynamic scope.<p>Pass everything by value.<p>No closures.<p>No GC.<p>Implement almost the whole thing in one giant 7k line file[1].<p>I can&#x27;t tell if this is a work of genius or madness.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;kosh04&#x2F;newlisp&#x2F;blob&#x2F;develop&#x2F;newlisp.c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kosh04&#x2F;newlisp&#x2F;blob&#x2F;develop&#x2F;newlisp.c</a>
riscy超过 9 年前
I&#x27;m just going to list all of my criticisms after reading what&#x27;s on the website:<p>1. Treating functions as lists effectively makes this a weakly typed language like C, whereas both Scheme and Common Lisp are both strong.<p>2. What advantage does having implicit function arguments (using nil if not provided, not default arguments) have at all unless if you just hate type safety and would prefer unreliable software? There are lots of other ways to maintain type safety while eliding runtime type checks in hot loops.<p>3. Changing the binding time for free variables within a closure would also imply that a binding by that name must be in scope at the time the function is called, no? This sounds like dynamic scoping... which is known to be difficult to use and error prone. Do you just assume &#x27;nil&#x27; when no binding exists?
评论 #10280108 未加载
评论 #10282356 未加载
pjlegato超过 9 年前
People interested in NewLisp may also like Pixie, a small Clojure-like scripting language.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;pixie-lang&#x2F;pixie" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pixie-lang&#x2F;pixie</a>
评论 #10280563 未加载
评论 #10280577 未加载
jacobush超过 9 年前
<a href="http:&#x2F;&#x2F;picolisp.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;picolisp.com&#x2F;</a>
bjourne超过 9 年前
The memory management scheme is very novel: <a href="http:&#x2F;&#x2F;www.newlisp.org&#x2F;MemoryManagement.html" rel="nofollow">http:&#x2F;&#x2F;www.newlisp.org&#x2F;MemoryManagement.html</a> I don&#x27;t get how it can work since it would require most objects to be passed by value and not reference.
评论 #10280757 未加载
评论 #10280548 未加载
thegeomaster超过 9 年前
On a tangentially related note, there&#x27;s a project that aims to redesign some of Common Lisp&#x27;s semantics to be more modern [0]. Its name is CL21, as it&#x27;s meant to be &quot;Common Lisp for the 21st century&quot;, and it&#x27;s written entirely in Common Lisp, relying on the kick-ass features of <i>reader macros</i> to introduce new syntax to the language. In my humble experience, integrating it with Shelly [1] and the large swath of Quicklisp [2] libraries can turn it into a terse and reasonably efficient scripting language. (Sadly, you still need a CL implementation and runtime, and they are mostly quite slow.) Definitely worth a look if you like NewLisp&#x27;s syntax and libraries, as I can see some similarities in the philosophies.<p>[0]: <a href="http:&#x2F;&#x2F;cl21.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;cl21.org&#x2F;</a><p>[1]: <a href="http:&#x2F;&#x2F;shlyfile.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;shlyfile.org&#x2F;</a><p>[2]: <a href="https:&#x2F;&#x2F;www.quicklisp.org&#x2F;beta&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.quicklisp.org&#x2F;beta&#x2F;</a>
评论 #10280499 未加载
fao_超过 9 年前
I discovered this a while back, because Nearly Free Speech has it as a CGI scripting language. The details of it&#x27;s GC was rather interesting -- I&#x27;ve been meaning to implement it in one of my lisp projects.<p>EDIT: I just checked, apparently nfsn doesn&#x27;t support that? Weird, now I have to work out what website I found it through...
评论 #10280522 未加载
评论 #10280645 未加载
ninjakeyboard超过 9 年前
I saw this <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2909881" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2909881</a>
amirouche超过 9 年前
This is an honest question: why create a lisp instead of a scheme? What is the fundamental feature that makes NewLisp a LISP more that a scheme language?
评论 #10280115 未加载
评论 #10279598 未加载
评论 #10279685 未加载