# Source code from "Julia: Dynamism and Performance Reconciled by Design"?

**URL:** <https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610>\
**Category:** Performance\
**Created:** [November 16, 2018, 6:06pm UTC](https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610 "2018-11-16T18:06:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![igouy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/igouy/32/8524_2.png) [@igouy](https://discourse.julialang.org/u/igouy)\
**Post date:** [November 16, 2018, 6:06pm UTC](https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610/1 "2018-11-16T18:06:27Z")

</div>

The paper [pdf] “[Julia: Dynamism and Performance Reconciled by Design](http://janvitek.org/pubs/oopsla18b.pdf)” shows relative performance (Fig 7) of some Julia implementations of benchmarks game programs — pidigits, regex, revcomp, …

Are those Julia programs available / public domain?

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [November 16, 2018, 7:07pm UTC](https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610/2 "2018-11-16T19:07:20Z")

</div>

[https://github.com/JuliaCI/BaseBenchmarks.jl/tree/master/src/shootout](https://github.com/JuliaCI/BaseBenchmarks.jl/tree/master/src/shootout)

---

<div class="post-metadata">

**Author:** ![igouy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/igouy/32/8524_2.png) [@igouy](https://discourse.julialang.org/u/igouy)\
**Post date:** [November 17, 2018, 10:11pm UTC](https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610/3 "2018-11-17T22:11:09Z")

</div>

Thank you.

I’ve been able to adapt 8 of those 11 tiny programs to do what the benchmarks game measurement scripts expect.

[fasta](https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fasta-julia-1.html)  
Doesn’t have any write or print statements, so it fails the output check.

[revcomp](https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-julia-1.html)  
Does have write statements but `ERROR: no method matching write`.

[binarytrees](https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/binarytrees-julia-1.html)  
We changed the requirements, and I haven’t yet been able to make the Julia program match the new requirements. Probably something obvious, but…

I’d welcome suggestions on how to get fasta and revcomp and binarytrees to work.

---

<div class="post-metadata">

**Author:** ![igouy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/igouy/32/8524_2.png) [@igouy](https://discourse.julialang.org/u/igouy)\
**Post date:** [November 18, 2018, 5:02pm UTC](https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610/4 "2018-11-18T17:02:22Z")

</div>

The Julia fasta program has similarities to [this Ruby program](https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/fasta-yarv-2.html).

_edit_ I have now fixed the [Julia binarytrees program](https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/binarytrees-julia-1.html) for the new requirements.

---

<div class="post-metadata">

**Author:** ![igouy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/igouy/32/8524_2.png) [@igouy](https://discourse.julialang.org/u/igouy)\
**Post date:** [November 19, 2018, 7:01pm UTC](https://discourse.julialang.org/t/source-code-from-julia-dynamism-and-performance-reconciled-by-design/17610/5 "2018-11-19T19:01:57Z")

</div>

I have now fixed the `no method matching write` error in the Julia revcomp program (changed `write(line)` to `write(stdout,line)` _etc_).

Unfortunately the Julia revcomp program [does not produce correct output](https://benchmarksgame-team.pages.debian.net/benchmarksgame/program/revcomp-julia-1.html#log).
