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.

Futhark – A small programming language that compiles to efficient GPU code

84 pointsby pebblexeabout 8 years ago

5 comments

nickpetersonabout 8 years ago
Woudln&#x27;t the more accurate example of APL on the GPU be co-dfns?<p>Is there a way to make J target the GPU? I feel like APL stuff is more limiting because it invariably results in paying Dyalog for a toolkit (which severely limits my ability to use it at work).
avmichabout 8 years ago
Looks very interesting :) but I can&#x27;t quite find out what is going on on the GPU. What GPU operations are executed for a sample program which contains various (scalar, vector, applying to different sizes and shapes etc.) operators?
评论 #13959539 未加载
pebblexeabout 8 years ago
Sorry about the title. Thank you mods for fixing it.
rebootthesystemabout 8 years ago
This is not APL. Please don&#x27;t call it APL.<p>Also, please change the title on this thread to have it reflect the same.
评论 #13959735 未加载
bike4beerabout 8 years ago
Really what does this have to do with APL ( Ken Iverson )??<p><i></i>*<p>This is NOT APL.<p>Futhark is a functional language, we will start with the obligatory factorial program:<p>fun fact (n: i32): i32 = reduce (<i>) 1 (map (1+) (iota n))<p></i><i></i><p>This has nothing to do with APL.<p>Perhaps a more apt title would be &quot;Python for the GPU&quot;.j<p><i></i>*<p>There is a paper on this subject, where an APL interpreter is written in FUTARK, but then most compilers are written in C. In reality the technology in question is Futark on GPU.<p><a href="https:&#x2F;&#x2F;futhark-lang.org&#x2F;publications&#x2F;fhpc16.pdf" rel="nofollow">https:&#x2F;&#x2F;futhark-lang.org&#x2F;publications&#x2F;fhpc16.pdf</a>
评论 #13961233 未加载
评论 #13960404 未加载
评论 #13960622 未加载