tag:blogger.com,1999:blog-7300628612207511335.post6034944138105717874..comments2023-05-25T09:42:03.827+02:00Comments on Hi Language: Reality CheckMarco Devillershttp://www.blogger.com/profile/16403899539858486372noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7300628612207511335.post-50238148783966322932009-11-24T01:22:58.044+01:002009-11-24T01:22:58.044+01:00Hi Leon, guess I've seen you on LtU, I didn...Hi Leon, guess I've seen you on LtU, I didn't see you posted here, it doesn't show old remarks. <br /><br />Different treatment of tail calls is unnecessary given the translation scheme I use, a simple LC to combinators to C translation. I just push thunks/stack frames into the heap, there is no need to treat a tail call any different than any other recursive call.<br /><br />I am not going for optimum speed, I just need code which is maintainable and readable for _years_, before I obfuscate it for optimizations.<br /><br />I aim at developing a commercial product, ok, wishful thinking here, which means LLVM and C-- are out. C is widely understood, LLVM and C-- are back-ends I don't want to deal with. C has been there for -what- forty years or so, and I don't see it going away for another forty years. LLVM and C-- are nice, but, hey, C-- looked nearly dead last time I looked. LLVM is going strong, but will not be around in another few years.<br /><br />Anyway, as it stands, I produce very basic C code from a rather abstract assembly, which could be compiled rather trivially to other targets, but I am not going to make the effort.Marco Devillershttps://www.blogger.com/profile/16403899539858486372noreply@blogger.comtag:blogger.com,1999:blog-7300628612207511335.post-3774595608489841832009-05-04T03:59:00.000+02:002009-05-04T03:59:00.000+02:00Ever considered LLVM or C--? That would prevent y...Ever considered LLVM or C--? That would prevent you from having to write your own machine code generator, and make things such as the proper treatment of tail calls much easier to perform...Unknownhttps://www.blogger.com/profile/06462854866941248768noreply@blogger.com