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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Styx Programming Language

38 点作者 sixthDot将近 2 年前

5 条评论

Lyngbakr将近 2 年前
I think it would be great to include a short, simple example on the landing page — perhaps after the introduction but before the build instructions. That's the sort of thing that piques my interest and makes me dig deeper.
benj111将近 2 年前
Judging by the name I was expecting this to be an esolang.
评论 #36631450 未加载
jason_s将近 2 年前
Neat! I like the syntax from what I&#x27;ve read so far.<p>I&#x27;m aware of Rust and Zig and Nim and wish I had more time to try these out and see what&#x27;s going on.<p>Alternatives to C&#x2F;C++, especially in the embedded systems space, have some real potential.
Alifatisk将近 2 年前
It&#x27;s written in D, cool! Would love to know why.
评论 #36631808 未加载
评论 #36634168 未加载
prmph将近 2 年前
Kind of disappointing that this seems to be yet another run-of-the-mill language.<p>I wish people would stop publishing me-too languages that implement, for the umpteenth time, the same concepts we have had for 40 years or more. I mean, if you just to learn from the experience of creating a language, that&#x27;s fine, but you probably won&#x27;t get much from publishing it.<p>If one intends to publish a language, it seems to me one should focus on crafting a language that explores something new. That new concepts do not have to be very refined or complex, but your language stand a much better chance of being picked up and refined if it implements the germ of some interesting new idea.<p>Of the top of my head, here are some concepts [1] I&#x27;m trying to explore (cross posted from another comment of mine), which might provide inspiration for others:<p>- Dependent types, with no real distinction between values and types (At a certain point, Typescript’s type system begins to look like a separate Turing-complete language within a language. It’s probably time to do away with this dichotomy entirely somehow)<p>- JSX built-in without the need for any React-like dependency (No need to use it if you don’t like it; in the general sense, it’s just syntactic sugar for composing function invocations)<p>- Localizable or customizable keywords&#x2F;operators, with automatic translation provided by an utility or language server (Why should programming languages be tools of cultural hegemony?)<p>- Generic object literals (Why should generic type inference be limited to functions?)<p>- Deep support for an alternative to exceptions using a Failable&lt;TResult, TError&gt; type<p>1. They may not be totally new concepts (as in some non-mainstream languages might implement them to some extent), but they are sufficiently of the beaten track that they are a rich source for exploring all kinds of interesting features.
评论 #36629753 未加载
评论 #36629702 未加载
评论 #36629727 未加载
评论 #36634222 未加载
评论 #36630031 未加载
评论 #36629981 未加载
评论 #36631439 未加载
评论 #36631499 未加载
评论 #36631825 未加载