Futhark-J Bridge
Web page · https://chen.cat/j/futhark
First seen by Oriel on .
AI summary
Futhark-J Bridge embeds Futhark in J programs, automatically compiling and caching parallel code for multicore execution, with substantial gains on compute-heavy workloads but overhead on memory-bound operations.
- Futhark functions can be written as J string literals or multiline blocks and invoked as ordinary monadic or dyadic J verbs.
- The bridge hashes source with SHA-256, caches generated shared libraries, compiles through `futhark multicore --library` and GCC, and reuses a persistent thread-pool context.
- Benchmarks report maximum speedups of 1525x for Mandelbrot escape, 14x for a 1000-iteration logistic map, and 2x for standard deviation.
- Dot product performance reaches 0.3x relative to native J because FFI overhead outweighs benefits for memory-bound work.
- Requirements are J 9.x with FFI support, the Futhark compiler, GCC, and Linux, FreeBSD, or macOS.
#futhark #j language #parallel computing #array programming
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 4, latest observation ; +2 over observed period since
Comments
Comment count reported by the source.
- Lobsters: 0, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | slkmnx | https://chen.cat/j/futhark/ Read discussion |