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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Eul – The language

86 点作者 gtramont大约 7 年前

9 条评论

eridius大约 7 年前
Every single macOS download I&#x27;ve tried of Eul has been completely broken. It simply won&#x27;t launch. Doing so from the Terminal gives the following output:<p><pre><code> dyld: Library not loaded: libnanovg.a Referenced from: &#x2F;Applications&#x2F;eul.app&#x2F;Contents&#x2F;MacOS&#x2F;.&#x2F;eul Reason: image not found </code></pre> Weirdly, `otool -L eul` tells me that eul links against no dynamic libraries whatsoever (not even libSystem) and `otool -l eul` backs this up. I&#x27;m really curious how Eul managed to have zero dynamic library dependencies in the Mach-O headers and yet clearly still depends on them (especially because on macOS you <i>must</i> link against libSystem or you can&#x27;t even make syscalls).
评论 #16981207 未加载
评论 #16983511 未加载
评论 #16984076 未加载
ghayes大约 7 年前
I&#x27;d love to hear more. Maybe I&#x27;m a bit confused: the documentation says that functions are pure, and then the example functions look like they are full of side-effects. Does anyone have a good explanation of how purity and effects work in Eul?
评论 #16982856 未加载
tathougies大约 7 年前
Cool little language, but<p>&gt; functions are pure.<p>I think you need to reconsider what pure means
评论 #16981376 未加载
oconnor663大约 7 年前
Normally I think &quot;rewrite it in Rust!&quot; comments are annoying, but in this case the author&#x27;s requirements sound pretty relevant:<p>- integration with C libraries<p>- overhead similar to C<p>- more productive than C<p>- &quot;Variables are immutable by default, globals are not allowed, functions are pure.&quot;<p>That does sound an awful lot like Rust, at least if we kind of squint our eyes at the purity requirement :) I wonder if the original author considered it?
评论 #16981264 未加载
评论 #16981686 未加载
dchest大约 7 年前
Go: func<p>Eul: fn<p>Come on, it should be &quot;fun&quot;.
评论 #16981636 未加载
sincerely大约 7 年前
Weird, the linux link on the front page of this website gives a 404
评论 #16981071 未加载
arsham大约 7 年前
It sounds interesting. Is the language open-sourced?
评论 #16980813 未加载
dwighttk大约 7 年前
how is it pronounced? Like Euler?
catnaroek大约 7 年前
&gt; Safety<p>&gt; Variables are immutable by default, globals are not allowed, functions are pure.<p>This is a huge non-sequitur.