SlaveCode LogoSlaveCode.
Academy
RoadmapProblemsSystem Design
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
‌
SlaveCode LogoSlaveCode.

Standardize your coding journey. From basic academy courses and guided roadmaps to advanced system design, company interview prep, and real-time coding arenas. The all-in-one platform to master algorithms and prove your engineering excellence.

Learn & Practice

  • Academy
  • Problems
  • Roadmap
  • System Design

Compete & Tools

  • Arena
  • Contests
  • Compilers

Legal & Support

  • Report an Issue
  • Privacy Policy
  • Terms of Service
  • Contact Us

© 2026 SlaveCode. All rights reserved.

Futhark

Futhark

Futhark is a purely functional programming language designed for high-performance data-parallel computing.

Master Futhark with
Interactive Learning

Elevate your Futhark skills through 83 curated exercises across 0 core concepts. Master problem-solving with a structured learning path designed for modern developers.

Futhark

About Futhark

Futhark is a purely functional programming language designed for high-performance data-parallel computing. While it shares some similarities in syntax and structure with functional languages like Haskell and Standard ML, its focus lies elsewhere. Rather than emphasizing rich type systems or maximum expressiveness, Futhark aims to generate efficient parallel code. Central to Futhark are bulk array operations known as Second-Order Array Combinators (SOACs), such as map, reduce, and filter, which resemble the higher-order functions familiar from other functional languages. These SOACs are defined with sequential semantics but are designed to be compiled into parallel execution, allowing for both clarity and performance.

Key Features of Futhark

Fast

Futhark is designed for high-performance computing via its heavily optimising AOT compiler.

Parallel

Most Futhark code is automatically parallelized, taking advantage of modern multi-core CPUs.

Multi-platform

Futhark code compiles to either GPU code or multi-threaded CPU code.

Interoperable

Futhark is designed for easy interoperability with languages like C and Python.

Small

Futhark is a small language with little syntax, making it easy to learn.

Pure

Futhark is a pure functional language without side-effects, making it easier to reason about code.

Track icon

Fast

Futhark is designed for high-performance computing via its heavily optimising AOT compiler.

Parallel

Most Futhark code is automatically parallelized, taking advantage of modern multi-core CPUs.

Multi-platform

Futhark code compiles to either GPU code or multi-threaded CPU code.

Interoperable

Futhark is designed for easy interoperability with languages like C and Python.

Small

Futhark is a small language with little syntax, making it easy to learn.

Pure

Futhark is a pure functional language without side-effects, making it easier to reason about code.

Dive into Futhark practice challenges

Darts
Darts
Level 1

Calculate the points scored in a single toss of a Darts game.

Hello World
Hello World
Level 1

SlaveCode's classic introductory exercise. Just say "Hello, World!".

Leap
Leap
Level 1

Determine whether a given year is a leap year.

Difference of Squares
Difference of Squares
Level 2

Find the difference between the square of the sum and the sum of the squares of the first N natural numbers.

Eliud's Eggs
Eliud's Eggs
Level 2

Help Eliud count the number of eggs in her chicken coop by counting the number of 1 bits in a binary representation.

Reverse String
Reverse String
Level 2

Reverse a given string.