# Julia and C++ paired code dataset

**URL:** https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150
**Category:** General Usage
**Created:** [July 17, 2024, 3:20pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150 "2024-07-17T15:20:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Arijit\_Bhattacharjee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/arijit_bhattacharjee/32/210721_2.png) [@Arijit\_Bhattacharjee](https://discourse.julialang.org/u/Arijit_Bhattacharjee)
#### Post date: [July 17, 2024, 3:20pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150/1 "2024-07-17T15:20:19Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [July 17, 2024, 3:31pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150/2 "2024-07-17T15:31:51Z")

</div>

> [@Arijit\_Bhattacharjee](#):
>
> I need a julia implementation and the same implementation in C++.

[Rosetta Code](https://rosettacode.org/wiki/Category:Julia) has lots of examples of the same algorithm being implemented in multiple languages (including Julia and C++).

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [July 17, 2024, 4:11pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150/3 "2024-07-17T16:11:49Z")

</div>

ChatGPT and friends (e.g. [https://claude.ai](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!

---

<div class="post-metadata">

### Author: ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)
#### Post date: [July 17, 2024, 4:24pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150/4 "2024-07-17T16:24:48Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Arijit\_Bhattacharjee](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/arijit_bhattacharjee/32/210721_2.png) [@Arijit\_Bhattacharjee](https://discourse.julialang.org/u/Arijit_Bhattacharjee)
#### Post date: [July 17, 2024, 4:28pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150/5 "2024-07-17T16:28:23Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![sdanisch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sdanisch/32/1406_2.png) [@sdanisch](https://discourse.julialang.org/u/sdanisch)
#### Post date: [July 17, 2024, 4:33pm UTC](https://discourse.julialang.org/t/julia-and-c-paired-code-dataset/117150/6 "2024-07-17T16:33:15Z")

</div>

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