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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

New Scheme-Based GPU Programming Language

70 点作者 wx196将近 12 年前

6 条评论

moomin将近 12 年前
I&#x27;m sorry, stuff like this just annoys me: &quot;Lisp is the ultimate example of programmers bending towards making things easiest for compilers.&quot;<p>No. It makes it easier for parsers. Like that macro you want to write. If you think the hardest part of a compiler is the parser, boy you&#x27;re in for a shock.
评论 #6040903 未加载
评论 #6041254 未加载
评论 #6041022 未加载
评论 #6042044 未加载
tehwalrus将近 12 年前
This would be very useful; I&#x27;ve written some OpenCL code (called from Python, but I coded the Kernel and set up the buffers in C myself) and it&#x27;s full of pitfalls; much harder than just &quot;here&#x27;s an array, here&#x27;s a procedure. run it in parallel for me.&quot;<p>I beleive there are already ways to do this (IIRC, F#&#x27;s original demo showed off trivially parallelisible functions), but a simple interface (i.e. something that looks like a high level language with a REPL etc) is key. As someone who&#x27;s generally excited about anything that makes you write Scheme, or anything that integrates with Python, I&#x27;ll be keeping an eye on Harlan!
评论 #6044838 未加载
kaoD将近 12 年前
Previous discussion: <a href="https://news.ycombinator.com/item?id=5970975" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5970975</a><p>I&#x27;m very excited about this. I think Functional Programming is good at expressing parallelizable concepts (FP is inherently parallelizable since it avoids shared state) and always wondered why I had to C my way through parallelization.
mullr将近 12 年前
The project in question: <a href="https://github.com/eholk/harlan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;eholk&#x2F;harlan</a>
dschiptsov将近 12 年前
Very clever design decisions. The &quot;high level&quot; code should be written in a smallest and cleanest language possible, and then compiled, via C, into all that mess they called OpenCL.
评论 #6044818 未加载
nightcracker将近 12 年前
Ironically the screenshot shows Python code.