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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Fleng 22 (concurrent logic programming)

126 点作者 0823498723498726 个月前

3 条评论

sevensor6 个月前
Interesting, but I’m a bit overwhelmed by the presentation of three different languages at once. Suppose I have a scheduling problem; could I use fleng to obtain feasible schedules, and would it be the right tool for the job?
评论 #42241034 未加载
评论 #42242314 未加载
评论 #42240810 未加载
idahoduncan6 个月前
Can anyone shed light on the difference/overlap between Fleng and Strand, for someone who's reading about concurrent logic programming for the first time?
nihil756 个月前
I don&#x27;t get it. How is this different than starting new threads?<p>In the article example, it doesn&#x27;t look like anything is <i>returned</i> from each parallel function call. the main loop just invokes the func for each I, and they print when done. No shared memory, no scheduling or ordering.. what&#x27;s the advantage here?<p>In code examples, seems shared memory &amp; scheduling are not a thing either. More like functional or chain programming - a function calls next func and passes output to it. Each loop runs independently, asynchronously from others. Reminds me of ECS model in gamedev.<p>That&#x27;s great and all, but it doesn&#x27;t solve or simplify intricacies of parallel programming so much as it circumnavigates them, right?<p>Is the advantage it being low-level and small?<p>I think the same &quot;concept&quot; can be done in Bash: ```for i in $(seq 1 100); do fizzbuzz $i &amp; ; done```
评论 #42245914 未加载