There is already a compiler that knows those special pragmas, one just needs to add a new bare-metal backed to it.
As for writing Go without a GC, just like in any other GC enabled systems programming language, by not using language features that require GC in the lowest layer, which the other packages then depend on.
There is already a compiler that knows those special pragmas, one just needs to add a new bare-metal backed to it.
As for writing Go without a GC, just like in any other GC enabled systems programming language, by not using language features that require GC in the lowest layer, which the other packages then depend on.
Example in Oberon, https://people.inf.ethz.ch/wirth/ProjectOberon/Sources/Kerne...
Also even ANSI C requires some Assembly or compiler extensions to fully implement libc.