Fantom (previously known as Fan) is a general purpose object-oriented programming language that runs on the Java Runtime Environment (JRE), JavaScript, and the .NET Common Language Runtime (CLR).
Fantom is, generally speaking, a strongly and statically typed language with a familiar C-style curly brace syntax.
Fantom is a pure OO language in that everything is an object you can call methods on. The language is currently in development. It is robust and stable and ready to use in production.
Features include:
- Compiles to either JVM or .NET bytecode.
- Supports imports of Java Classes and modules with some limitations.
- Integer is 64-bit. Unlike Java and C#, Fantom does not have Long or Short integer types.
- Static typing.
- Supports the same primitive literals as Java or C#, plus some that are typically found in higher level scripting languages.
- Reuses most the same expression syntax as Java and C#.
- Supports interpolation.
- Supports first class functions and closures – the standard APIs make heavy use of functional programming.
- Serialization and deserialization of classes to/from strings.
- A Ruby-like syntax for using closures.
- Mixins.
- Declarative syntax for constructing new objects.
- All threads in Fan have the ability to pass messages to other threads.
- Literal syntax for programming with lists, maps, etc.
Website: fantom.org
Support: Blog
Developer: Brian Frank, Andy Frank
License: Academic Free License v3.0
Fantom is written in Java. Learn Java with our recommended free books and free tutorials.
Return to New Programming Languages
| Explore Linux | |
|---|---|
| Best Free and Open Source Software - A huge collection of recommended free and open source software covering every major category. | |
| In-depth Linux Software Reviews - Detailed assessments of Linux software covering features, usability and overall quality. | |
| The Big List of Active Linux Distros - An extensive collection of actively developed Linux distributions. | |
| Open Source Alternatives - Alternatives to software and services from Google, Microsoft, Apple, Adobe, IBM, Autodesk, Oracle and others. | |
| Essential Linux System Tools - Indispensable utilities for monitoring, maintaining and managing Linux systems. | |
| Linux Productivity Tools - Useful utilities for improving productivity and streamlining everyday tasks. | |
| Alternatives to Popular CLI Tools - Modern alternatives to familiar command-line utilities supplied with Linux systems. | |
| Awesome Free Linux Game Tools - Tools, utilities and companion software that improve gaming on Linux. | |
| Machine Learning on Linux - Machine learning and deep learning software, self-hosted applications and practical tools. | |
| Saving Money with Linux - Practical ways to reduce electricity consumption and lower computing costs with Linux. | |
| Linux Candy - Fun, entertaining and sometimes delightfully quirky software from the lighter side of Linux. | |

Please read our Comment Policy before commenting.