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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

eC Programming Language

60 点作者 thefilmore大约 1 年前

8 条评论

dgan大约 1 年前
I ve read the overview, and actually seems like a boring (in a &quot;OK&quot; sense), decent language with sensible behaviour. No bells no whistles<p>Speculation: it&#x27;s the c++ we needed, not the one we had<p>Reading other comments, looks like it&#x27;s rather dead than alive
评论 #39955340 未加载
fuzztester大约 1 年前
What C-like but supposedly better languages are worth trying out, for small but real world apps, to start with? I have a long, though sometime prior, C background, had done a lot of real world work with it, and would like to try out one or more of these newer C-likes.<p>I know of Zig, Odin and Hare in this category. Saw a video about Hare very recently.<p>Zig and Odin have been discussed on HN multiple times in the past, and Zig often still is. Maybe Hare too, didn&#x27;t check yet.<p>I&#x27;ve also played around with D a fair amount earlier.<p>Any others that anyone would recommend?
评论 #39954904 未加载
fl0ki大约 1 年前
I&#x27;ll just put this over here with the rest of the C supersets.
评论 #39953470 未加载
teo_zero大约 1 年前
I know many will disagree, but I feel that all the worst syntax mistakes from C&#x2F;C++ are there.<p>It&#x27;s uneasy to spot declarations:<p><pre><code> Point p {1,2} &#x2F;&#x2F; declaration Point {1,2} &#x2F;&#x2F; expression </code></pre> Semicolons are sometimes required, sometimes not:<p><pre><code> class C { ... } struct S { ... }; </code></pre> I despise the use of &lt;...&gt; as a type of parentheses, as if the &lt; and &gt; symbols were not enough overloaded.<p>And finally, probably it&#x27;s my problem, I really really hate the :: symbol.
评论 #39955383 未加载
pgraf大约 1 年前
Seems to be hugged to death. <a href="https:&#x2F;&#x2F;archive.is&#x2F;xixuj" rel="nofollow">https:&#x2F;&#x2F;archive.is&#x2F;xixuj</a>
IshKebab大约 1 年前
Nice hobby language but there doesn&#x27;t seem to be any reason to use this.
williamDafoe大约 1 年前
First commit in the bug system was in 2008.<p><a href="https:&#x2F;&#x2F;www.ec-lang.org&#x2F;mantis&#x2F;view.php?id=1" rel="nofollow">https:&#x2F;&#x2F;www.ec-lang.org&#x2F;mantis&#x2F;view.php?id=1</a><p>To be ready for prime time an enhanced C language should be able to compile and run the Linux kernel correctly. Now that rust is being added to the Linux kernel this gets a lot harder, it must also port rust or compile rust.
Kwpolska大约 1 年前
This is apparently a language designed in 2004. In 2004, I&#x27;m pretty sure most of the world knew that manual memory management and zero-terminated strings are foot guns and sources of bugs. The sockets and HTTP server samples showcase this language has both of those features, the code is very C-like. Is this niche language any useful 20 years later?
评论 #39954049 未加载
评论 #39953405 未加载
评论 #39953178 未加载