Memory management

The language design focuses on making it easier to manage memory. 1

Jai provides the owned pointer notation (*!)2 to indicate that the object pointed to is owned by the member’s struct and should be freed when the struct is freed. This can obviate the need for constructors and destructors.

struct Mesh {
    Vector3 *! positions;
    int *! indices;
};

  1. it’s about memory and memory only.
    “Ideas about a new programming language for games.” YouTube, uploaded by Jonathan Blow, Sep 19, 2014, https://youtu.be/TH9VCN6UkyQ?t=2296 

  2. notation to indicate memory ownership.
    “Ideas about a new programming language for games.” YouTube, uploaded by Jonathan Blow, Sep 19, 2014, https://youtu.be/TH9VCN6UkyQ?t=2979 

jailang 2019 pixeldroid
https://github.com/pixeldroid/jailang
programming pages theme v0.5.21 (https://github.com/pixeldroid/programming-pages)