Skip to content

Value Types

TheRealMichaelWang edited this page Mar 26, 2021 · 4 revisions

Value Types

Since FastCode aims to automate as much value-typing as possible, it maintains a minimal number of data types.

Primitive Data Types

  • Numbers - Any numerical value is represented as a standard IEEE float.
  • Characters - Characters are represented as unsigned, byte-sized values.

Reference Data Types

  • Structures - Each structure has a list of properties which be accessed and used like variables.
  • Arrays - For speed improvements, Arrays are NOT implemented as a linked list. That being said, array concatenation is MUCH slower.

Type Checking

FastCode is dynamically type checked, so you don't have to worry about specifying any types beforehand.

Clone this wiki locally