All variables in Fantom are statically typed, as it does not have generic types, but it does have a set of built-in generic types: List, Map, and Func. Fantom also supports dynamic calls and automatic downcasting. Fantom has a reflection API and metaprogramming capabilities.
Fantom supports imports of Java Classes and modules with some limitations.7 Its integer is 64-bit. Unlike Java and C#, Fantom does not have Long or Short integer types. Fantom also does not support tuples.8
In Fantom, the unit of deployment is called a pod. Pods take on the role of namespaces, packages, and modules. They are stored as .pod files, which are zip files containing the FCode (the Fantom bytecode), the documentation, and resource files necessary to run the pod. The Fantom build system can package a set of pods into a JAR archive through build::JarDist.
F4 is the main publicly available IDE for the Fantom language, officially supported by one of the main open-source contributors to the language, Steve Eynon.9 The F4 IDE is available on GitHub.
Fantom ships with a standard windowing toolkit called the Fantom Widget Toolkit, or FWT for short.10 FWT was designed to be portable across several platforms. It is currently implemented on the JVM using the Standard Widget Toolkit as a backend. The JavaScript implementation is backed by the canvas element and JavaFX, allowing FWT applications to be run in a web browser. There are plans for a CLR implementation using Windows Forms.
Escape the Mainframe is a browser game (just like the Google t-rex dinosaur) completely written in Fantom by Steve Eynon.11
Fantom FAQ: Contact Us http://fantom.org/doc/docIntro/Faq.html#contact ↩
"Fantom FAQ: Roadmap". Archived from the original on 2015-12-11. Retrieved 2012-03-29. https://web.archive.org/web/20151211122808/http://fantom.org/doc/docIntro/Roadmap.html ↩
Fantom FAQ: Why Fantom? http://fantom.org/doc/docIntro/WhyFantom.html ↩
History of Fantom programming language https://es.scribd.com/doc/47962182/scala-haskell-and-fantom-programming-language ↩
Fan is officially now Fantom http://fantom.org/sidewalk/topic/821 ↩
McAllister, Neil (2012-01-03). "10 programming languages that could shake up IT". InfoWorld. Retrieved 2015-10-30. http://www.infoworld.com/d/application-development/10-programming-languages-could-shake-it-181548?page=0,2 ↩
Java FFI at Fantom home page http://fantom.org/doc/docLang/JavaFFI.html ↩
Tuples question at Fantom official page http://fantom.org/sidewalk/topic/1815 ↩
"Steve Eynon (MEng MIET) - Fantom Factory | LinkedIn". uk.linkedin.com. Retrieved 2023-12-14. https://uk.linkedin.com/in/steveneynon ↩
"fwt – Fantom". Fantom.org. 2015-01-08. Archived from the original on 2011-08-16. Retrieved 2015-10-30. https://web.archive.org/web/20110816013612/http://fantom.org/doc/fwt/pod-doc.html ↩
"Escape the Mainframe!". escape.fantomfactory.org. Retrieved 2023-12-14. http://escape.fantomfactory.org/ ↩