6 ms·
personally i think DSLs could be helpful if they are really good at: 1. explaining the syntax clearly 2. providing a fast checker that provides good error messa
by dack 1y ago
personally i think DSLs could be helpful if they are really good at:
1. explaining the syntax clearly
2. providing a fast checker that provides good error messages
3. prevents errors
LLMs seem pretty good at figuring out these things when given a good feedback loop, and if the DSL truly makes complex programs easier to express, then LLMs could benefit from it too. Fewer lines of code can mean less context to write the program and understand it. But it has to be a good DSL and I wouldn't be surprised if many are just not worth it.
- quantadev 1y agoSince DSLs are necessarily niche, you're never going to have much training data in that language to feed into LLM training. Sure this problem can be overcome, but you're just creating more work than the time saved by having humans code in DSLs.