Hacker GitHub

← All repos

bflattened/bflat

View on GitHub ↗ ★ 3,982 C#

C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables)

15 mentions on Hacker News by 8 people: 0 stories, 15 comments · first 2022-08-16 · latest 2025-12-25

Mentions per year 15 mentions · busiest year 2023 (8)
20082026
  1. …native executables out of the box." Really impressive. Self contained and small build system. [0] https://github.com/bflattened/bflat
  2. …(C++ lite if you will), that can be either JIT or AOT compiled (statically linked too). For example https://github.com/bflattened/bflat has a target flavour that does not support GC at all. I'm not saying it's an optimal choice for…
    comment by neonsunset · 2024-10-14 · in Embedded Rust in Production?
  3. There is a practical answer to this question: https://github.com/bflattened/bflat specifically the --stdlib:zero target. C# is quite a bit more than just enhanced C if you remove GC-reliant features as the generics and interface…
    comment by neonsunset · 2024-10-02 · in Pledging $300k to the Zig Software Foundation
  4. …which my friend is using for an automated lab for his PhD thesis. Last mention goes to https://github.com/bflattened/bflat which supports a few interesting targets like UEFI. From the same author there's an example of completely…
  5. https://github.com/bflattened/bflat
    comment by mats852 · 2024-08-12 · in Go is my hammer, and everything is a nail
  6. …choice depending on scenario). [0] https://learn.microsoft.com/en-us/dotnet/core/rid-catalog [1] https://github.com/bflattened/bflat (can also build UEFI binaries, lol)
  7. …a demonstration how far you can push this (which is, of course, impractical, just use Rust :D) [0] https://github.com/bflattened/bflat [1] https://github.com/MichalStrehovsky/zerosharp/tree/master/no...
    comment by neonsunset · 2023-12-19 · in Using Zig to Unit Test a C Application
  8. …whole thing and offer tighter integration... .NET 8 will support Native AOT on macOS, I think. [1] https://github.com/bflattened/bflat
    comment by aseipp · 2023-05-26 · in Native AOT Overview
  9. It uses malloc in place of the GC’s allocator, so objects stay allocated forever: https://github.com/bflattened/bflat/blob/master/src/zerolib/...
  10. It uses malloc in place of the GC’s allocator, so objects stay allocated forever: https://github.com/bflattened/bflat/blob/master/src/zerolib/...
  11. …and doesn't return that as result, it's not good. We don't have a GC. This is all memory leaks. [0] https://github.com/bflattened/bflat/tree/master/src/zerolib
  12. …works with the no-GC Zero stdlib. I see this but I don't get it. Anyone see a better explanation? https://github.com/bflattened/bflat/tree/master/src/zerolib
  13. There's a GitHub issue about it: https://github.com/bflattened/bflat/issues/6
  14. We changed the URL from https://github.com/bflattened/bflat to the project page. Both are nice, but the project page is more unique. Yes I know you can't be "more unique".
  15. …top-level statements and implicit usings, or even using bFlat [0] or ProcessX/Chell [1, 2]. [0]: https://github.com/bflattened/bflat [1]: https://github.com/Cysharp/ProcessX [2]: https://github.com/mayuki/Chell
    comment by neonsunset · 2022-08-16 · in .NET 6 is now in Ubuntu 22.04