Uploaded October 2023 | Updated November 2026, 5 days ago
A video comparing several implementations of the Pythagorean Theorem in Python, Uiua, BQN and an unnamed stack language. Initial Python code is take from the @StrangeLoopConf youtube.com/watch?v=umSuLpjFUf8
Uiua: uiua.org
UiuaPad Code: uiua.org/pad?src=SHlwb3Qg4oaQIOKImi8r4oG_MuKKggpIeXBvdCDihpAg4oiaLyvDly7iioIKSHlwb3Qg4oaQIOKImiviiKko4oG_MikKSHlwb3Qg4oaQIOKImiviiKkow5cuKQoKSHlwb3QgMyA0Ckh5cG90IDUgMTI=
BQN: mlochbaum.github.io/BQN
BQN Code: mlochbaum.github.io/BQN/try.html#code=I0h5cG90IOKGkCDiiJrCtyvCtDLii4bLnOKIvgojSHlwb3Qg4oaQIOKImsK3K8K0wrfDl8uc4oi+CiNIeXBvdCDihpAg4oiaK+KXiyjii4bin5wyKQpIeXBvdCDihpAg4oiaK+KXiyjDl8ucKQoK4oCiU2hvdyAzIEh5cG90IDQKICAgICAgNSBIeXBvdCAxMg==
CombinatoryLogic.com: combinatorylogic.com/index.html
@StrangeLoopConf 2023 Talk: youtube.com/watch?v=umSuLpjFUf8
@cppnorth 2023 Talk youtube.com/watch?v=JELcdZLre3s
Chapters:
0:00 Intro
0:15 Motivation (Strangeloop Talk)
0:49 Douglas's Python Solution
2:00 Refactor the Python Solution
4:04 Ask ChatGPT for Function Name
4:31 Why Python is Amazing
5:12 Douglas's Stack Language Solution
5:28 Is it Forth?
6:57 Uiua Solutions
9:27 BQN Solutions
13:31 Combinator Comparison
14:31 Learn More About Combinators
15:38 Outro
Follow me on Github: github.com/codereport
Follow me on Twitter: twitter.com/code_report
Follow me on LinkedIn: linkedin.com/company/codereport
A video comparing several implementations of the Pythagorean Theorem in Python, Uiua, BQN and an unnamed stack language. Initial Python code is take from the @StrangeLoopConf youtube.com/watch?v=umSuLpjFUf8
Uiua: uiua.org
UiuaPad Code: uiua.org/pad?src=SHlwb3Qg4oaQIOKImi8r4oG_MuKKggpIeXBvdCDihpAg4oiaLyvDly7iioIKSHlwb3Qg4oaQIOKImiviiKko4oG_MikKSHlwb3Qg4oaQIOKImiviiKkow5cuKQoKSHlwb3QgMyA0Ckh5cG90IDUgMTI=
BQN: mlochbaum.github.io/BQN
BQN Code: mlochbaum.github.io/BQN/try.html#code=I0h5cG90IOKGkCDiiJrCtyvCtDLii4bLnOKIvgojSHlwb3Qg4oaQIOKImsK3K8K0wrfDl8uc4oi+CiNIeXBvdCDihpAg4oiaK+KXiyjii4bin5wyKQpIeXBvdCDihpAg4oiaK+KXiyjDl8ucKQoK4oCiU2hvdyAzIEh5cG90IDQKICAgICAgNSBIeXBvdCAxMg==
CombinatoryLogic.com: combinatorylogic.com/index.html
@StrangeLoopConf 2023 Talk: youtube.com/watch?v=umSuLpjFUf8
@cppnorth 2023 Talk youtube.com/watch?v=JELcdZLre3s
Chapters:
0:00 Intro
0:15 Motivation (Strangeloop Talk)
0:49 Douglas's Python Solution
2:00 Refactor the Python Solution
4:04 Ask ChatGPT for Function Name
4:31 Why Python is Amazing
5:12 Douglas's Stack Language Solution
5:28 Is it Forth?
6:57 Uiua Solutions
9:27 BQN Solutions
13:31 Combinator Comparison
14:31 Learn More About Combinators
15:38 Outro
Follow me on Github: github.com/codereport
Follow me on Twitter: twitter.com/code_report
Follow me on LinkedIn: linkedin.com/company/codereport










