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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What is your favorite non-generic or semi-obscure programming language?

41 点作者 herohamp将近 6 年前
Any programming language that someone might find useful but has likely not heard of like Nim, Elixer, D, etc

24 条评论

atombender将近 6 年前
I don&#x27;t have any obscure favourites that I actually use. But I have a soft spot for a bunch of old, obsolete ones.<p>Niklaus Wirth&#x27;s post-Pascal languages, including Modula-2 (and its offshoot Modula-3) and Oberon were fantastic. Their syntaxes fit on a single piece of paper. Modula-3 is an outlier, since it was developed without much involvement from Wirth, but it adds some nice stuff, such as generics. Oberon had a strong influence on Go.<p>As a kind of &quot;lost language&quot;, Barbara Liskov&#x27;s CLU (1974-75) is fascinating. Its syntax is Algol&#x2F;Simula-like, but it comes with a lot of advanced features (iterators, generics, type parameters with constraints, exceptions, variant types, parallel assignments, inheritance-less classes, &quot;everything is an object&quot;, garbage collection, no global variables) that eventually ended up in other languages, much later. CLU was never intended to be used, but as a testbed for ideas, and it never really was.
评论 #20377222 未加载
acd将近 6 年前
Nim-lang. Its similar to Python in Syntax but runs at close to native speed. Nim has beautiful syntax.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;kostya&#x2F;benchmarks" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kostya&#x2F;benchmarks</a> <a href="https:&#x2F;&#x2F;nim-lang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;nim-lang.org&#x2F;</a>
dTal将近 6 年前
Nial (and its interpreter QNial) is strangely unheard-of. It&#x27;s an intruiging APL-like that uses English words and a simple, general syntax that permits nested parentheses, allowing lisp-like code. It extends APL to multidimensional arrays a la Numpy (which it well predates - 1981!), and throws in some interesting and exotic ideas for good measure such as arrays of point-free functions as a first-class structure. It&#x27;s a lot of fun to do Project Euler type math problems in, and captures the essential spirit of APL&#x2F;J&#x2F;K etc but without the obfuscated syntax.<p><pre><code> isprime is op n {not ((n = 1) or (0 in (n mod (rest count (floor (sqrt n))))))} </code></pre> <a href="https:&#x2F;&#x2F;github.com&#x2F;danlm&#x2F;QNial7" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;danlm&#x2F;QNial7</a><p><a href="https:&#x2F;&#x2F;tangentstorm.github.io&#x2F;nial&#x2F;intro.ndf.html" rel="nofollow">https:&#x2F;&#x2F;tangentstorm.github.io&#x2F;nial&#x2F;intro.ndf.html</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nial" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Nial</a>
open-source-ux将近 6 年前
Icon [1] and Unicon [2] are very interesting languages. They both excel in string processing. Icon had some influence on Python. Unicon is a superset of Icon with many more features.<p>Unicon is still under development unlike Icon. I don&#x27;t think Unicon has ever been discussed on Hacker News. Ever.<p>[1] <a href="https:&#x2F;&#x2F;www2.cs.arizona.edu&#x2F;icon&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www2.cs.arizona.edu&#x2F;icon&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;unicon.sourceforge.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;unicon.sourceforge.io&#x2F;</a>
评论 #20377042 未加载
defaultcompany将近 6 年前
Inform is a language for creating text adventure games with an English like syntax. It&#x27;s very expressive, powerful and highly domain specific.<p>As an example here is the complete source code for a very simple game:<p>&quot;Prototype&quot; by defaultcompany<p>The Lookout Point is a room. An old man is here.<p>The Outskirts is south from the Lookout Point. A campaign poster is here.<p>The Village is east from the Outskirts.<p>The Scumm Bar is inside from The Village.
hazz99将近 6 年前
Definitely Haskell for introducing me to functional programming concepts (which I know use everywhere) and Erlang for introducing me to the actor model, embracing failure, and writing easily scalable and reliable code.
8bitsrule将近 6 年前
Of all the languages I&#x27;ve experimented with, I was fond of Dan Winkler&#x27;s <i>HyperTalk</i> (the scripting language used by Apple&#x27;s <i>Hypercard</i> app) because it was so high-level. It enabled <i>a lot</i> of people - particularly in education - to create app &#x27;stacks&#x27; that might otherwise never have ventured into programming. And it was <i>fun</i>. I can&#x27;t imagine a more noble goal for a language.<p>(The variant <i>Supertalk</i> is still in use, in <i>SuperCard</i>).
SanchoPanda将近 6 年前
I have no idea how people live on windows without autohotkey.
评论 #20378037 未加载
评论 #20378239 未加载
评论 #20378126 未加载
mikewarot将近 6 年前
Delphi was amazing. The best GUI builder I&#x27;ve ever seen, fast as blazes... then Borland went bust, and it got killed by being priced into obscurity.
carycat将近 6 年前
Professor Jack Schwartz&#x27;s SETL is great for designing algorithms at a high level yet executable if you want it. SETL is dynamically typed with compilation, type inference, and &#x27;reppers&#x27; to optionally declare type info as tools to trade verbosity&#x2F;effort for runtime efficiency (Think typescript vs javascript) all this in the late 70&#x27;s.
评论 #20379042 未加载
cardamomo将近 6 年前
CSound, which seems to have found a way to provide composers with a powerful and unparalleled tool for scoring computer music.
rahuldottech将近 6 年前
Not really obscure, but I find old-school Windows batch lots of fun.<p>Some of the stuff I&#x27;ve messed around with is on my Github: <a href="https:&#x2F;&#x2F;github.com&#x2F;rahuldottech&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rahuldottech&#x2F;</a>
schwartzworld将近 6 年前
I saw a presentation on Forth and ever since then I&#x27;ve loved tinkering with it.<p>The language is old, fast and powerful. It isn&#x27;t quite compiled or interpreted (or maybe it&#x27;s both), it can run on teeny tiny microcontrollers or be used for scripting.<p>The best part is, it&#x27;s a completely different paradigm of how to program from any of the other modern languages I&#x27;ve used. There are no function arguments, and everything is done in reverse polish notation. There&#x27;s no concept of parentheses in the language (parens are used for comments)
pezo1919将近 6 年前
Idris lang seems awesome with the atom plugin. :)<p>Did not use it yet but I hope it will get more attention.<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;mOtKD7ml0NU" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;mOtKD7ml0NU</a>
chwolfe将近 6 年前
Learning Prolog was one of the better decisions I have made. Not because Prolog jobs are plentiful. Rather, understanding logic programming by broadened my problem-solving skill set.
elamje将近 6 年前
I enjoy Clojure. It’s a lisp that runs on the JVM. It really taught me a lot about the power of immutable data structures, code as data, and first class functions.
评论 #20376711 未加载
jamesmp98将近 6 年前
I&#x27;ve started learning Erlang recently and I&#x27;m enjoying it. Ada and Forth have also intrigued me too, but idk if either of those are obscure
评论 #20376759 未加载
PascLeRasc将近 6 年前
Serpent![1] It&#x27;s a Python-like language created by the guy who wrote Audacity, for operating on MIDI files mostly, and doing audio automation, like markov chain composition. It&#x27;s super cool.<p>[1] <a href="https:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~music&#x2F;serpent&#x2F;doc&#x2F;serpent.htm" rel="nofollow">https:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~music&#x2F;serpent&#x2F;doc&#x2F;serpent.htm</a>
7373737373将近 6 年前
The E programming language [0] for secure distributed computing. A language that makes it very easy to reason about what permissions your code actually has, by implementing the object-capability security model.<p>[0] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;E_(programming_language)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;E_(programming_language)</a>
damir将近 6 年前
Picolisp (<a href="https:&#x2F;&#x2F;picolisp.com&#x2F;wiki&#x2F;?home" rel="nofollow">https:&#x2F;&#x2F;picolisp.com&#x2F;wiki&#x2F;?home</a>) is one such lang not many know about but it brings a lot to the table (batteries included). It&#x27;s super low on memory and it&#x27;s (almost too) fast for most people.
mirceal将近 6 年前
i don’t believe that the question is valid in the context of hn (after all people here are curious by design and have probably heard about most things out there).<p>that being said, I quite enjoy Elixir. It builds on top of Erlang and the language and the community around it are just amazing.
zubairq将近 6 年前
Visual JavaScript. Only like 30 people have ever used it
quickthrower2将近 6 年前
Q# no idea how to program anything in this “quantum” language though!
ohiovr将近 6 年前
Lingo was fun in the days of Macromedia Director.