Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
afxres committed Jan 6, 2024
1 parent dc39b95 commit 903a68d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,27 @@ record Person(string Name, int Age);

### Supported types

| Category | Details | Comment |
| :------------ | :------------------------------------------------------------------------------------------------------------------------------ | :--------------------------------------- |
| Primitive | ``(U)Int(16,32,64,128)``, ``Boolean``, ``Byte``, ``Char``, ``Decimal``, ``Double``, ``Half``, ``SByte``, ``Single``, ``String`` | Default string encoding is UTF-8 |
| Data & Time | ``DateOnly``, ``DateTime``, ``DateTimeOffset``, ``TimeOnly``, ``TimeSpan`` | |
| Numeric | ``BigInteger``, ``Complex``, ``Matrix3x2``, ``Matrix4x4``, ``Plane``, ``Quaternion``, ``Vector2``, ``Vector3``, ``Vector4`` | |
| Memory | ``T[...]``, ``Memory<>``, ``ReadOnlyMemory<>``, ``ReadOnlySequence<>`` | |
| Miscellaneous | ``BitVector32``, ``Guid``, ``IPAddress``, ``IPEndPoint``, ``Nullable<>``, ``PriorityQueue<,>``, ``Rune``, ``Uri``, ``Version`` | |
| Tuple | ``KeyValuePair<,>``, ``Tuple<...>``, ``ValueTuple<...>`` | Tuple can not be null |
| Collection | Implements ``IEnumerable<>`` and have a constructor accept ``IEnumerable<>`` as parameter | Stack types are explicitly not supported |
| Category | Details | Comment |
| :------------ | :------------------------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------- |
| Primitive | ``(U)Int(16,32,64,128)``, ``Boolean``, ``Byte``, ``Char``, ``Decimal``, ``Double``, ``Half``, ``SByte``, ``Single``, ``String`` | Default string encoding is UTF-8 |
| Data & Time | ``DateOnly``, ``DateTime``, ``DateTimeOffset``, ``TimeOnly``, ``TimeSpan`` | |
| Numeric | ``BigInteger``, ``Complex``, ``Matrix3x2``, ``Matrix4x4``, ``Plane``, ``Quaternion``, ``Vector2``, ``Vector3``, ``Vector4`` | |
| Memory | ``T[...]``, ``Memory<>``, ``ReadOnlyMemory<>``, ``ReadOnlySequence<>`` | |
| Tuple | ``KeyValuePair<,>``, ``Tuple<...>``, ``ValueTuple<...>`` | Tuple can not be null |
| Miscellaneous | ``BitArray``, ``BitVector32``, ``Guid``, ``IPAddress``, ``IPEndPoint``, ``Nullable<>``, ``PriorityQueue<,>``, ``Rune``, ``Uri``, ``Version`` | |
| Collection | Implements ``IEnumerable<>`` and have a constructor accept ``IEnumerable<>`` as parameter | Stack types are explicitly not supported |

### Language Features

| Feature | JIT | AOT | Comment |
| :------------------------ | :--- | :--- | :---------------- |
| Enumeration Types | Yes | Yes | Treat as integers |
| Anonymous Types | Yes | | |
| Tuple Types | Yes | Yes | |
| Records | Yes | Yes | |
| Required Members | Yes | Yes | |
| Inline Arrays | Yes | Yes | |
| Discriminated Unions (F#) | Yes | | |
| Feature | JIT | AOT | Comment |
| :------------------------ | :--- | :--- | :----------------- |
| Enumeration Types | Yes | Yes | Handle as integers |
| Anonymous Types | Yes | | |
| Tuple Types | Yes | Yes | |
| Records | Yes | Yes | |
| Required Members | Yes | Yes | |
| Inline Arrays | Yes | Yes | |
| Discriminated Unions (F#) | Yes | | |

### AOT Support

Expand Down

0 comments on commit 903a68d

Please sign in to comment.