LLM's think we should have language tuples!

FeepingCreature feepingcreature at gmail.com
Thu Mar 27 20:33:46 UTC 2025


On Tuesday, 25 March 2025 at 04:44:15 UTC, Manu wrote:
> I asked Grok to write me a portable 64x64->128 multiplication 
> function in D to get the pattern, and this is what it wrote:
>
> What I loved is that its function returned a pair of ulong's, 
> because apparently it made an assumption that we had 
> in-language tuples! I wonder where it got that idea?
>
> We should learn from our AI overlords! :P

Note: to get good results from AIs, ask them to write tests as 
well, then run the tests and post the answers and ask them to 
debug the issue. :) You have to handhold a bit.


More information about the Digitalmars-d mailing list