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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Crystal Language That Aims at C Performance with Ruby Syntax Releases 1.0

111 点作者 _xrjp大约 4 年前

9 条评论

mfkp大约 4 年前
Previous discussion (10 days ago): <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26545082" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26545082</a>
kgraves大约 4 年前
I&#x27;m seeing a lot of complaints about Crystal&#x27;s slow compile speed.<p>But isn&#x27;t Rust&#x27;s compile speed also slow too and it&#x27;s still being used by many engineers?<p>Even then after 1.0 for Rust, I haven&#x27;t seen any compile speed improvements in that space lately.
评论 #26675521 未加载
评论 #26675536 未加载
评论 #26675556 未加载
tomc1985大约 4 年前
<p><pre><code> def fibonacci(n : UInt64) return 1_u64 if n &lt;= 1 fib(n - 1) + fib(n - 2) end puts fib(46) </code></pre> Am I reading this wrong or should that start with `def fib(n : UInt64)`?
评论 #26675426 未加载
评论 #26674780 未加载
jack_jennings大约 4 年前
Actual release blog post URL: <a href="https:&#x2F;&#x2F;crystal-lang.org&#x2F;2021&#x2F;03&#x2F;22&#x2F;crystal-1.0-what-to-expect.html" rel="nofollow">https:&#x2F;&#x2F;crystal-lang.org&#x2F;2021&#x2F;03&#x2F;22&#x2F;crystal-1.0-what-to-expe...</a>
edgarvaldes大约 4 年前
Do I need to know Ruby in order to better understand Crystal? I&#x27;m interested in learning Crystal, but the community is quite small and the learning resources, sparse. Ruby on the other hand has a massive presence in the form of tutorials, books and blog posts. I have some minor experience with Python, Java and PHP.
评论 #26674407 未加载
评论 #26674401 未加载
评论 #26674372 未加载
jbverschoor大约 4 年前
Yay finally! Crystal is awesome, with the exception of compile times
ducktective大约 4 年前
Is there a possibility that Crystal could be used on MCUs? What would be its advantages over Micropython, C&#x2F;C++&#x2F;Rust or Zig?
评论 #26674815 未加载
评论 #26674934 未加载
评论 #26674545 未加载
评论 #26674899 未加载
Fire-Dragon-DoL大约 4 年前
What&#x27;s the niche for Crystal? It seems like Go is the performant and easy, while Rust is the safe, ultra performant but hard. Elixir solves the problem thst Rails is solving in a better way, so it&#x27;s hard to identify a niche at this point.
kgeist大约 4 年前
To me, Ruby syntax&#x2F;semantics look like an incoherent mishmash of bad practices&#x2F;design choices; I wonder why so many people seem to love it to the point of thinking replicating its features is somehow an advantage. I genuinely don&#x27;t understand.
评论 #26675037 未加载
评论 #26674972 未加载