10/24/2023 0 Comments B-flat![]() ![]() even the simplest apps might end up calling into reflection (to e.g.bflat includes stack trace data about all compiled methods so that it can print pretty exception stack traces. ![]() □ Optimizing output for sizeīy default, bflat produces executables that are between 2 MB and 3 MB in size, even for the simplest apps. □ How to stay up-to-date on bflat?įollow me on Twitter. Switch between those with -stdlib:zero argument. The source code for it lives in this repo. The second one (called Zero) is a minimal standard library that doesn't have much more than just primitive types. It includes everything you know and love from. The first one (called DotNet) is the default and comes from the dotnet/runtime repo fork. □ Two standard librariesīflat comes with two standard libraries. The bflattened/runtime repo produces compiler and runtime binaries that this repo consumes. The bflattened/runtime repo is a regularly updated fork of the dotnet/runtime repo that contains non-upstreamable bflat-specific changes. The source code is split between this repo and bflattened/runtime. ![]() The binary releases are licensed under the MIT license. See the samples directory for a couple samples. Unzip the archive to a convenient location and add the root to your PATH. These are all crosscompilers and can target any of the supported OSes/architectures. Look at the Releases tab of this repo and download a compiler that matches your host system. Support for musl-based Linux is in the works.īflat can either produce native executables, or native shared libraries that can be called from other languages through FFI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |