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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Who are using Forth language on a daily basis and for which tasks?

19 点作者 yugene大约 4 年前

1 comment

gupe大约 4 年前
I&#x27;ve been spending the past several months writing the server-side code of a web-app, which aims to improve the way in which certain difficult-to-price goods are valued. We&#x27;re on the verge of launching the tool, and before that happens, I shouldn&#x27;t be too much more specific about it. In any case, the server functionality is almost exclusively written in FORTH, a language for which I have a great affinity, stemming from the days when I first programmed my (stack-based) HP 48GX calculator as an undergraduate electronic engineering student. My experience in doing this has been almost exclusively pleasurable and satisfying (and nostalgic). Having tried various options, I opted to use a rather minimal forth, pForth, and so I needed to write a number of my own libraries, including ones for hash-tables, ones for handling the data files I required, ones for ways to communicate over WebSockets, and many others. The code-base is remarkably small, and it&#x27;s been a stimulating experience.<p>(I&#x27;m responsible for the browser-side code too, and this is written in a Scheme, biwascheme, which is so much nicer than having to use Javascript, in my opinion.)<p>Along the way, I&#x27;ve created various other shell-script utilities in pForth for other purposes, which always rival the speed I&#x27;m used to getting from using AWK—mwak, specifically—which has always been impressively fast when handling large amounts of data.<p>Me being the only coder on this project is why I&#x27;ve been able to get away with indulging in this peculiar, but vastly under-appreciated, language!
评论 #26950252 未加载
评论 #26955040 未加载