TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An Implementation of J – Incunabulum (2008)

50 pointsby davegauerover 3 years ago

6 comments

sxpover 3 years ago
The code won&#x27;t compile on modern C compilers due to some antiquated syntax. <a href="https:&#x2F;&#x2F;github.com&#x2F;tangentstorm&#x2F;j-incunabulum" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tangentstorm&#x2F;j-incunabulum</a> has a translation that should work on modern compilers.<p>The original code is worth investigating if you&#x27;re into CS archeology. J is as interesting of a language as Lisp and I was amazed by the tiny implementation. However, the original code is buggy and will crash on slightly malformed input.
simonebrunozziover 3 years ago
For the ones that don&#x27;t know, incunabulum is a book printed before 1501 [0].<p>I find the story behind incunabula really fascinating. Also, for what it&#x27;s worth, incunabulum &#x2F; incunabula sounds quite odd in Italian (it resembles some dirty words), and the few times it got mentioned here and there, most people don&#x27;t know what it means and assume the worst.<p>[0]: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Incunable" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Incunable</a>
xelxebarover 3 years ago
The Legend of The Hui[0] also digs into this code a bit in a silly way.<p>[0]:<a href="http:&#x2F;&#x2F;www.jsoftware.com&#x2F;pipermail&#x2F;chat&#x2F;2020-March&#x2F;008507.html" rel="nofollow">http:&#x2F;&#x2F;www.jsoftware.com&#x2F;pipermail&#x2F;chat&#x2F;2020-March&#x2F;008507.ht...</a>
vadimlover 3 years ago
I did some APL coding like 40 years ago.... I did like it at the time, but this family of languages provokes WRITE ONLY coding style.... While you actively working on some code, it&#x27;s ok... but when you come back to a code written couple of month ago or written by someone else you&#x27;re pulling you hair out trying to understand it
评论 #28495235 未加载
nivertechover 3 years ago
anyone tried to compile it?<p>I&#x27;m getting this when trying to run it:<p><pre><code> $ cc main.c ... lots of warnings ... $ .&#x2F;a.out 1 1 2*2 Segmentation fault (core dumped)</code></pre>
评论 #28492430 未加载
评论 #28493025 未加载
queuebertover 3 years ago
Why do these array programmers write C like this? It&#x27;s an abomination.
评论 #28492786 未加载
评论 #28492747 未加载
评论 #28494539 未加载
评论 #28493292 未加载
评论 #28492800 未加载