2 points · by amock · 3mo ago · 3 comments
For myself, I have only done very little of this. I did add POWER vectorization to POV-Ray so that I can get a little more speed out of a machine that has more power than it needs for other things. Instead of letting it use something like Python or Go for small scripts I'll tell the LLM that the more logical choice is Prolog. But mostly I have been using mainstream languages because the code is being generated and, therefore, I'm not playing with it, so I'm interested in hearing if others have had good luck with generating away the grunt work and allowing them to enjoy using tools that were not practical enough before.
- Dylan
- Scheme
It helped immensely that both Gwydion Dylan and Chicken Scheme compile their respective niche languages to portable C code.
Now emitting LLVM IR is an even slightly better technique. Except for PA-RISC. So GCC 15 (or HEAD) and C generation it is ... it's not bad using modern headers with portability defines such as `uint32_t`, ability to return at least a pair of values in registers, or tail calls using all argument registers if you convert to CPS (as e.g. Chicken does)