Julia and C++ paired code dataset

Is there any repo or resources where I can find a Julia and C++ paired dataset. I need a julia implementation and the same implementation in C++. Any guidance would be really helpful.

Rosetta Code has lots of examples of the same algorithm being implemented in multiple languages (including Julia and C++).

1 Like

ChatGPT and friends (e.g. https://claude.ai) are actually really good at translating from one language to another, as long as the code is short and self contained…
I’d say it’s the major strength of LLMs, so I’d give that a shot!

Sounds to me like OP is looking for a training data set to tune an LLM so this might become a bit circular :smiley:

1 Like

Yes, you are quite right, more on valid and test sets. Will also need to run it through a correctness check if I use an LLM but defeats the point of my purpose built LLM.

Haha, I see… Well, wouldn’t be the first model being trained on a training dataset produced by chatgpt :sweat_smile: