This is based on bflat, which is AGPL licensed, which makes this AGPL licensed. I dont even know how a compilers output is affected by the AGPL, theres a reason things like GCC include specific things under LGPL so you arent forced to have all your output be GPL.
I do not understand the reasoning of changing the license of .NET from MIT to AGPL.
There's also this Vala programming language, used in GNOME, very heavily modeled after C#, which uses refcounting instead of GC and compiles to native binary.
This thread feels like a bit of the old Dropbox thread ;)
"what is this useful for" - You want to write native code without a runtime or GC but you also don't want to deal with C++ with its arcane rules, edge cases, an awful dependency management story and complexity in general. Rust is a good candidate for this as well, although it has quite a learning curve. "you can already do this in standard C#" - Yes but the ecosystem assumes GC so you need to write everything yourself. There are some low allocation APIs but definitely not for everything. The concept of "C# but even lower level" is something which has a place, IMO. Just like how you can technically add assembly to C#, either by linking it with nativeAOT or emitting at runtime but it's not built-in support for inline assembly, you know.
Comments (137) 32 threads
Earlier commentsI do not understand the reasoning of changing the license of .NET from MIT to AGPL.
"what is this useful for" - You want to write native code without a runtime or GC but you also don't want to deal with C++ with its arcane rules, edge cases, an awful dependency management story and complexity in general.
Rust is a good candidate for this as well, although it has quite a learning curve.
"you can already do this in standard C#" - Yes but the ecosystem assumes GC so you need to write everything yourself. There are some low allocation APIs but definitely not for everything. The concept of "C# but even lower level" is something which has a place, IMO. Just like how you can technically add assembly to C#, either by linking it with nativeAOT or emitting at runtime but it's not built-in support for inline assembly, you know.
All comments shown.
Couldn't load more comments. Check your connection and try again.