Skip to content

Releases: mamba-studio/TypedMemory

TypedMemory v0.1.4 Beta

Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jul 09:43

Full Changelog: v0.1.3...v0.1.4

Release v0.1.3

Release v0.1.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Jul 09:29

What's Changed

  • Add GitHub Actions for Release Automation by @nutcas3 in #2

New Contributors

Full Changelog: prerelease...v0.1.3

TypedMemory Release

TypedMemory Release Pre-release
Pre-release

Choose a tag to compare

@mambastudio mambastudio released this 08 May 18:37

First pre-release.

Try simple code such as:

public class TestMem {    
    record Pixel(int x, @size(2)double[] y){}
    
    void main(){
        try (var arena = Arena.ofConfined()) {
            var colors = Mem.of(Pixel.class, arena, 10);
            var pixel = new Pixel(3, new double[]{3, 23});
            colors.set(5, pixel);
            
            if(colors.get(11) instanceof Pixel(int x, double[] y))
                IO.println(x+ " " +Arrays.toString(y));
        }
    }
}