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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pixie: A sweet Clojure-ish language

140 点作者 coding4all大约 10 年前

11 条评论

616c大约 10 年前
I like the side-note.<p>&gt; As a side note, expressing configurations in Clojure S-expressions makes a ton of sense. Clojure S-expressions provide a superset of JSON and Clojure&#x27;s eval allows you to define a function to compute certain values. It&#x27;s an escape hatch so that you&#x27;re configuration files don&#x27;t need to become accidentally Turing complete. The Turing complete nature of your configuration files is well defined as Clojure.<p>I had posted a while back wondering why more formats do not just derive from sexp or SXML (yes, say that out loud in the office). As I think some Lispers (I am even below beginner) cannot help but notice that if sexpr are coincidentally (I am sure it can be done without, but still, I am not sure if McCarthy and company just started with sexp or choose it specifically and held their ground beyond it was their choice) core to the lisp&#x27;s homoiconic power-features, why more people do not just want sexp as the core data definiton, keep the data and program as close as possible, and just macro the data back, tossing back and forth between code and data as the division is limited.<p>Anyway, I like that far more intelligent people than me not only like this idea, but are encouraging it and pushing it forward.<p>(Yes, flame away. I know some people love Lisp and hate, I just thought it is an interesting premise; I am ready for you to throw shoes at me, HN.)
评论 #9170874 未加载
评论 #9171211 未加载
评论 #9171196 未加载
评论 #9170853 未加载
threeseed大约 10 年前
This seems like bit of a short sighted move not that I disagree with it.<p>Project Jigsaw which will be a big part of Java 9 aims to make the JVM more modular which will reduce the memory footprint substantially. Personally I would like to see a version of Clojure that targets this JVM specifically and abandons backwards compatibility.<p>Leaving the JVM means you abandon the decade of libraries many of which you simply can&#x27;t get on any other platform (in particular for the enterprise). Given that Clojure has been gaining a lot of ground in these large companies it seems like a missed opportunity.
评论 #9170053 未加载
评论 #9170161 未加载
评论 #9170221 未加载
评论 #9173105 未加载
评论 #9171018 未加载
pjmlp大约 10 年前
&gt; And the JVM has the slowest startup time of any runtime I&#x27;ve ever encountered.<p>Blame Clojure not the JVM.<p><a href="https://nicholaskariniemi.github.io/2014/02/11/jvm-slow-startup.html" rel="nofollow">https:&#x2F;&#x2F;nicholaskariniemi.github.io&#x2F;2014&#x2F;02&#x2F;11&#x2F;jvm-slow-star...</a><p>Besides if 0.04s is still too slow, there are quite a few (commercial) AOT compilers to native code available.<p>However, Pixie does look quite cool.<p>What I am missing in Clojure is the ability to take advantage of type metadata to compile it AOT to Android Dalvik&#x2F;ART friendly bytecode.<p>Apparently not even 1.7.0 will fix the performance issues.
评论 #9170365 未加载
评论 #9170291 未加载
weavie大约 10 年前
&gt; There are some things that I would like to see from&#x2F;in Pixie...<p>&gt; Some form of package distribution support... could this be piggy-backed on Clojars?<p>There is Dust :<p><a href="https://github.com/pixie-lang/dust" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pixie-lang&#x2F;dust</a><p>which pulls packages from Github.
kra34大约 10 年前
I&#x27;m already replacing my project&#x27;s ancient Go and Rust based services with Pixie powered end points!
评论 #9171779 未加载
Gonzih大约 10 年前
Language and implementation both look very promising! I was looking for small footprint and fast startup modern lisp for a long time for my embed hobby projects. And finally it&#x27;s here! I&#x27;m really excited about this language and where it stands now compared to when I first discovered it.
评论 #9171624 未加载
andrewchambers大约 10 年前
I want to see a clojure clone embedded as a Go scripting language. The immutability means that the interpreter would be mostly threadsafe, and thus would support goroutines well.
评论 #9170065 未加载
评论 #9170229 未加载
agumonkey大约 10 年前
Direct link to pixie&#x27;s github <a href="https://github.com/pixie-lang/pixie" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pixie-lang&#x2F;pixie</a>
bmillare大约 10 年前
Can anyone verify if Pixie has concurrent multithreading or is it limited to greenthreads as described in the article? Based on the fact that atoms are implemented and they would not be necessary in a single threaded environment, I would guess that support for concurrent multithreading would be at least in the works, if not already possible.
gigasquid大约 10 年前
A quick video if you want to see pixie startup time in action <a href="https://www.youtube.com/watch?v=LlDQTLRrcZI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=LlDQTLRrcZI</a>
namelezz大约 10 年前
Dynamic typing and parentheses are what keep me away from Clojure or Lisp like languages. How can I get over them?
评论 #9170108 未加载
评论 #9169936 未加载
评论 #9170116 未加载
评论 #9170176 未加载
评论 #9169901 未加载
评论 #9169952 未加载
评论 #9170045 未加载