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.

GPU accelerated arrays for Haskell

100 pointsby donsabout 13 years ago

2 comments

akgabout 13 years ago
Awesome. Has anyone tried using Haskell for scientific computing applications like: fluid simulation, finite element simulation, etc. It would be interesting to see benchmarks with traditional tools used in scientific computing industry which are usually done in C/C++.
评论 #3971215 未加载
tomjen3about 13 years ago
GPU acceleration toolkits exist to a ton of languages and these toolkits aren't the only ones. Haskell also has Obsidian (as in Minecraft), Microsoft has one for .NET.<p>Nor are they had difficult to do, you basically have to implement map and reduce as OpenCL/CUDA code (which is C or C++, but without the nice stuff) and then a DSL from your target language to C (which, at least in Haskell, isn't very difficult).<p>I wrote one for Scala as a (small) part of a Masters project, but it wasn't very good.
评论 #3972101 未加载
评论 #3971821 未加载