The alternative would be a C generation backend, like many toolchains offer for such scenarios.
Which language toolchains offer that? As far as I know for most it results in a multiple C files, foreign interfaces due to different ABIs and a runtime library on top.
Which language toolchains offer that? As far as I know for most it results in a multiple C files, foreign interfaces due to different ABIs and a runtime library on top.