Fantom (programming language)

Fantom
Paradigmmulti-paradigm: object-oriented, actor, functional
DevelopersBrian Frank, Andy Frank
First appeared2005 (2005)
Stable release
1.0.81 / December 6, 2024 (2024-12-06)
Typing disciplinestatic, dynamic
Platformx86-64, Java
OSWindows, Unix-like: Linux, macOS
LicenseAcademic Free version 3.0
Filename extensions.fan, .fwt, .pod
Websitewww.fantom.org
Influenced by
C#, Java, Scala, Ruby, Erlang

Fantom, formerly Fan, is a general-purpose object-oriented programming language, created by Brian Frank and Andy Frank. It runs on the Java Runtime Environment (JRE), JavaScript, and the .NET Common Language Runtime (CLR) (.NET support is considered "prototype" status). Its stated goal is to provide a standard library application programming interface (API). Fantom uses a curly brace syntax, supports functional programming through closures and concurrency through the actor model, and blends aspects of both static and dynamic typing.

The original name of the Fantom programming language was Fan, named after the Fan District neighborhood in which the creators live in Richmond, Virginia. In November 2009, the name of the project was officially changed from Fan to Fantom due to searchability concerns raised by its community.

Fantom is free and open-source software under Academic Free License 3.0 and is available for operating systems including Windows and Unix-like: Linux, macOS.