top | item 46589294 (no title) zbendefy | 1 month ago i think so. The biggest hurdle with new languages is that you are cut off from a 3rdparty library ecosystem. Being compatible with C 3rd party libraries is a big win. discuss order hn newest actionfromafar|1 month ago Makes it easy to "try before you buy", too. If you decide it's not for you, you can "step out" and keep the generated C code and go from there. forgotpwd16|1 month ago This isn't a very sane plan. The ~300 LOC example mini_grep (https://github.com/z-libs/Zen-C/blob/main/examples/tools/min...) compiles to a ~3.3k LOC monstrosity (https://pastebin.com/raw/6FBSpt1z). It's easier to rewrite the whole thing than going from the generated code.At least for now, generated code shouldn't be considered something you're ever supposed to interact with. load replies (1) morcus|1 month ago Very good point that I never considered! Thanks.
actionfromafar|1 month ago Makes it easy to "try before you buy", too. If you decide it's not for you, you can "step out" and keep the generated C code and go from there. forgotpwd16|1 month ago This isn't a very sane plan. The ~300 LOC example mini_grep (https://github.com/z-libs/Zen-C/blob/main/examples/tools/min...) compiles to a ~3.3k LOC monstrosity (https://pastebin.com/raw/6FBSpt1z). It's easier to rewrite the whole thing than going from the generated code.At least for now, generated code shouldn't be considered something you're ever supposed to interact with. load replies (1) morcus|1 month ago Very good point that I never considered! Thanks.
forgotpwd16|1 month ago This isn't a very sane plan. The ~300 LOC example mini_grep (https://github.com/z-libs/Zen-C/blob/main/examples/tools/min...) compiles to a ~3.3k LOC monstrosity (https://pastebin.com/raw/6FBSpt1z). It's easier to rewrite the whole thing than going from the generated code.At least for now, generated code shouldn't be considered something you're ever supposed to interact with. load replies (1)
actionfromafar|1 month ago
forgotpwd16|1 month ago
At least for now, generated code shouldn't be considered something you're ever supposed to interact with.
morcus|1 month ago