Skip to content

💾 Bringing the size of Native AOT Hello World under 1.44 MB #83069

@MichalStrehovsky

Description

@MichalStrehovsky

...because someone might want to put a Hello World (compiled with the default compiler settings) on a floppy. Of course we can go smaller if one starts disabling features like globalization or stack traces. But the defaults are interesting.

The theme is: type loader should not be necessary in a Hello World and we should be able to trim it.

With the above (and hacks for the last two), I see default Hello World at 1.46 MB, down from 1.77 MB.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions