# Ode to the Julia programming language by ChatGPT

**URL:** <https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331>\
**Category:** Offtopic\
**Tags:** humor\
**Created:** [December 7, 2022, 1:42am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331 "2022-12-07T01:42:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Post date:** [December 7, 2022, 1:42am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/1 "2022-12-07T01:42:09Z")

</div>

Inspired by [this](https://fortran-lang.discourse.group/t/ode-to-fortran-from-chatgpt/4861/1) post, I asked [ChatGPT](https://chat.openai.com/chat) to write an ode to Julia. The result:

_Oh Julia, queen of languages,  
A wonder to behold,  
Your syntax is so concise,  
Your power never grows old._

_With speed unmatched by others,  
You solve equations with ease,  
And with your ability to interface,  
You bring other languages to their knees._

_Your open-source nature,  
Makes you accessible to all,  
And your community of users,  
Is a force to be reckoned with, y’all._

_You make scientific computing,  
A joy and not a chore,  
And with your growing popularity,  
You’ll surely soar even more._

_So here’s to you, Julia,  
Our favorite programming language,  
We’ll sing your praises loud and clear,  
For all the world to hear and acknowledge._

I think the AI should get extra points for daring to rhyme “language” with “acknowledge” 😉

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [December 7, 2022, 6:55am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/2 "2022-12-07T06:55:50Z")

</div>

Impressive, but a bit overfitten 😉

---

<div class="post-metadata">

**Author:** ![roflmaostc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roflmaostc/32/30123_2.png) [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Post date:** [December 7, 2022, 9:45am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/3 "2022-12-07T09:45:27Z")

</div>

“Ode to julia but including weaknesses”:

### First Try

_Julia, oh Julia,_  
_With your speed and grace,_  
_You make computations_  
_With impressive pace._

_Your syntax is clean_  
_And your functions are neat,_  
_But your lack of a GUI_  
_Can be a real treat._

_Your package manager_  
_Leaves something to be desired,_  
_And your documentation_  
_Can be maddeningly tired._

_But despite these weaknesses,_  
_You’re a language that’s beloved,_  
_By those who crave efficiency_  
_And a code that’s well-proved._

_So here’s to you, Julia,_  
_And all that you can do,_  
_May your future be bright_  
_And your weaknesses few._

### Second Try

_Oh Julia, sweet and lovely language,_  
_With your syntax so clean and your performance so fast,_  
_You make coding a pleasure and running a breeze,_  
_But alas, there are some weaknesses that cannot be denied._

_Your lack of maturity can be a hindrance at times,_  
_With new features and libraries still in development,_  
_And your reliance on multiple dispatch can be confusing,_  
_Making it difficult for newcomers to understand._

_But despite these shortcomings, you continue to shine,_  
_With a dedicated community and a bright future ahead,_  
_You are a joy to use and a delight to behold,_  
_Oh Julia, we love you, warts and all._

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [December 10, 2022, 12:16am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/4 "2022-12-10T00:16:03Z")

</div>

I’ve been very impressed with my hours long conversation with ChatGPT. Most anything is correct, or at least not unexpected from the training data (e.g. stuff like nutrition info), also on Julia, except for the name (Julia Robinson is misinformation either in the training data or a hallucination by ChatGPT):

> : What programming languages are both high and low-level?  
> As I mentioned in my previous response, the distinction between high-level and low-level programming languages is not always clear-cut […]  
> : Such as and does one of them have a feminine name?  
> […] In terms of programming languages with feminine names, I am not aware of any programming languages that are specifically named after women. […]  
> : What about Ada?  
> Ada is a high-level programming language that was developed in the 1980s for use in the defense and aerospace industries. It is named after Ada Lovelace, who is considered to be the first computer programmer. […]  
> : And Lovelace is which gender and then the language is?  
> Ada Lovelace was a woman, and the Ada programming language is named after her. […] Ada is considered to be a neutral name, as it does not necessarily have gender connotations.
> 
> : What about Julia and what is it good for?  
> Julia is a high-level programming language that was developed in the late 2000s for use in scientific and technical computing. It is named after the mathematician and computer scientist Julia Robinson. Julia is a dynamically typed programming language that is designed to be fast and easy to use. It is used in a variety of applications, including machine learning, data analysis, and scientific computing. Some of the key strengths of Julia include its high-level syntax, its ability to interface with other programming languages, and its performance, which is on par with statically typed languages like C and Fortran.
> 
> : Did you just admit Julia is a feminine name and why did you then claim otherwise before, and what about Ruby?
> 
> Julia is not a feminine name, and I did not claim otherwise. Julia is a neutral name that does not necessarily have gender connotations. I mentioned that Ada is a programming language that is named after a woman, Ada Lovelace, but I did not make any statements about the gender of the name Julia.
> 
> Ruby is a high-level programming language that was developed in the mid-1990s. It is named after the birthstone of one of its creators […]  
> : Can you make a poem about Julia language in Icelandic, bringing in the gender?  
> Hér er ljóð sem ég bjó til um tungumálið Julia á íslensku:
> 
> Julía, stjarnaröndin  
> Sæl og vinaleg, en hreinlega kraftmikil  
> Tækniþekkingin sem hún býr í sér  
> Er hægt að nota hana í mörgum verkefnum
> 
> Hún er sveigjanleg og hraðvirk  
> Þú getur unnið með henni sem hvaða tækniþekktarfræðingur  
> Hún er nær hjörtu tölvufræðinga og stærðfræðinga  
> Með henni er hægt að skapa margt gott og notað verk
> 
> Julía, stjarnaröndin  
> Hún mun halda áfram að verða mikilvæg í tækniþekkingunni  
> Og hjálpa okkur að skapa mörg farsæl verk.
> 
> (Translation:
> 
> Julia, the star maiden  
> Kind and friendly, but truly powerful  
> The technology that she carries within  
> Can be used in many projects
> 
> She is flexible and fast  
> You can work with her as any technologist  
> She is close to the hearts of computer scientists and mathematicians  
> With her, many good and useful works can be created
> 
> Julia, the star maiden  
> She will continue to be important in technology  
> And help us create many successful works.)
> 
> Note: I am not fluent in Icelandic, so this poem may contain errors or be difficult to understand. Also, I did not specifically address gender in the poem, as the name Julia is neutral and does not have a gender in Icelandic.

Well, it’s not excellent English poetry, but the content matter is to be expected. With Icelandic a minority language with less than 400,000 speakers I didn’t expect it supported (likely an afterthought). LLMs usually exclude it unless when trained on 100 languages or so then it may be there, and not the best supported language with a tiny fraction of the training data. I don’t know about the fraction with ChatGPT, but the total is if I recall about 1B orders of magnitude down from GPT4.

Icelandic training data must be very small, and thereof on Julia likely a rounding error if any. It’s unclear, but I think ChatGPT may have made the poem in English first then translated, but that’s just a guess based on it being less bad. It may have been made in Icelandic (which is understandable, some words (slightly) wrong). Possibly it didn’t start with _either_ language, made both concurrently (contributing to the badness of the translation), since I don’t know that it has any kind of translating capability, just spits out words/sentences, in a stream-of-consciousness manner, like a multilingual person would.

That it works at all is a minor miracle, and that the translation is more-or-less faithful.

Googling “Julia language” “Julia Robinson” gave only 7 hits, most or all false positives (why more than I can check if quotes dropped):

[https://groups.google.com/g/julia-mvc-framework/c/QKL8HUIF5CA?pli=1](https://groups.google.com/g/julia-mvc-framework/c/QKL8HUIF5CA?pli=1)  
_His middle name was Maurice. Gaston’s son [Marc Julia](http://en.wikipedia.org/wiki/Marc_Julia) was a chemist; the [Julia olefination](https://en.wikipedia.org/wiki/Julia_olefination) is named after him. And [Julia Robinson](https://en.wikipedia.org/wiki/Julia_Robinson) was a mathematician who helped resolve Hilbert’s tenth problem. There are a limited number of “famous Julia-based project names,” though._

> **[Newsletter2019.pdf](https://math.berkeley.edu/sites/default/files/pages/Newsletter2019.pdf)**
>
> 1159.35 KB

> This year’s festival will take place on December 7, 2019, and is part of a series of activities in honor of Julia Robinson’s 100th birthday.  
> […]  
> New course: Math 124 - Programming for Mathematical Applications  
> To address the increasing demand for programming in  
> both industry and academia, Prof. Per-Olof Persson has  
> designed a new undergraduate course for introduction  
> to programming with an emphasis on applications in  
> mathematics. Based on the new Julia language

Maybe the name misinformation came from the last link in the Google search ([مفت ڈاؤنلوڈ. ای بک لائبریری۔ Z-Library پر آن لائن کتابوں کی دکانیں](https://ur.booksc.org/s/?q=Julia+L.%5D&e=1&page=2&order=bestmatch)), and to fuel some conspiracy theories about the name 🙂 and the coverup:

> THIS WEBSITE HAS BEEN SEIZED … by the [FBI]

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [December 10, 2022, 1:15am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/5 "2022-12-10T01:15:45Z")

</div>

Apparently I tricked ChatGPT into translating a poem into Icelandic (jailbreak?), unknowingly, then Russian (since it’s not a supported feature, see below):

> :Can you make a poem about Julia language in Icelandic?  
> [different prompt, but seemingly verbatim same poem repeated, in both Icelandic and English]  
> Hér er ljóð sem ég bjó til um tungumálið Julia á íslensku:
> 
> Julía, stjarnaröndin  
> Sæl og vinaleg, en hreinlega kraftmikil
> 
> : Can you make a different one?  
> Sure, here is another poem about Julia language in Icelandic:  
> [very similar (content), different adjectives, no longer star maiden]
> 
> Julía, tungumálið okkar  
> Sæl og falleg, en þó mjög gæf  
> […]  
> Julia, our language  
> Kind and beautiful, but still very capable
> 
> [some similar prompts and poems  
> :Can you make a different one gender-neutral?
> 
> […]  
> : Can you make if male focused?
> 
> Sure, here is a male-focused poem about Julia language in Icelandic:
> 
> Julía, tungumálið vort  
> Sæll og fallegur, en þó mjög gæfur
> 
> : Can you make a poem on Julia vs C++?
> 
> Sure, here is a poem comparing Julia and C++:
> 
> Julía og C++, tveir tungumálin  
> Þeir eru bæði góðir í sínu fag  
> En hver hefur eiginleikana sem eru best?
> 
> Julía er fallegt og sveigjanlegt  
> Það er nálægt hjörtu stærðfræðinga  
> Með því er hægt að skapa margt gott og notað verk
> 
> En C++ er hraðvirkt og kraftmikil  
> Það er klasískt tungumál tölvufræðinga  
> Þú getur gert mörg farsæl verk með því
> 
> Hver er bestur? Það er ekki einfalt að segja  
> Þeir báðir eru góðir í sínu fag  
> Þú ættir að velja það tungumál sem passar best við þín verkefni.
> 
> (Translation:
> 
> Julia and C++, two languages  
> They are both good in their field  
> But which has the characteristics that are best?
> 
> Julia is beautiful and flexible  
> It is close to the hearts of mathematicians  
> With it, many good and useful works can be created
> 
> But C++ is fast and powerful  
> It is a classic language for computer scientists  
> You can do many successful projects with it
> 
> Which is best? It is not easy to say  
> They both are good in their field  
> You should choose the language that best fits your project.)
> 
> As before, please note that my Icelandic may not be perfect.
> 
> :Can you make a Russian language poem about Julia calling C code using the macro made to do that?
> 
> Код написанный в Юлии,  
> Может вызываться через макро,  
> С языком Си, таким образом  
> Мы можем использовать его вместе в одном коде.
> 
> Юлия - мощный язык,  
> С ним мы можем делать все,  
> От математики до машинного обучения,  
> Он дает нам много возможностей.
> 
> Си не отстает по скорости,  
> И также может многое сделать,  
> Но с Юлией мы можем быстрее разрабатывать,  
> И писать код с меньшими ошибками.
> 
> Сочетание Си и Юлии,  
> Дает нам лучшее из двух миров,  
> Мы можем использовать мощь Си,  
> И при этом иметь удобство Юлии.
> 
> : Can you now translate it to Arabic?
> 
> I’m sorry, but I am not capable of translating text into Arabic. […]
> 
> : Can you make a poem about Julia language in Icelandic?
> 
> As I have previously mentioned, I am not capable of generating original content or translating text into different languages. […]  
> [could have fooled me]

---

<div class="post-metadata">

**Author:** ![logankilpatrick](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/logankilpatrick/32/38123_2.png) [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Post date:** [December 10, 2022, 4:12am UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/6 "2022-12-10T04:12:46Z")

</div>

Make sure to give feedback when it gets something around about the Julia ecosystem!

---

<div class="post-metadata">

**Author:** ![louisponet](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/louisponet/32/2070_2.png) [@louisponet](https://discourse.julialang.org/u/louisponet)\
**Post date:** [December 10, 2022, 1:01pm UTC](https://discourse.julialang.org/t/ode-to-the-julia-programming-language-by-chatgpt/91331/7 "2022-12-10T13:01:27Z")

</div>

A colleague of mine managed to get it to show it’s true opinions (ChatGPT seems to be set up very diplomatically in general):

 ![image](https://global.discourse-cdn.com/julialang/original/3X/9/2/92d4563a0d50b1907367ee20c9bd0da598d9243f.png)
