# SHOOTOUT/ATS1 examples in contrib

**URL:** <https://discourse.ats-lang.org/t/shootout-ats1-examples-in-contrib/794>\
**Category:** Google Group\
**Created:** [August 17, 2014, 6:07pm UTC](https://discourse.ats-lang.org/t/shootout-ats1-examples-in-contrib/794 "2014-08-17T18:07:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Barker](https://sea1.discourse-cdn.com/flex019/user_avatar/discourse.ats-lang.org/brandon_barker/32/61_2.png) [@Brandon\_Barker](https://discourse.ats-lang.org/u/Brandon_Barker)\
**Post date:** [August 17, 2014, 6:07pm UTC](https://discourse.ats-lang.org/t/shootout-ats1-examples-in-contrib/794/1 "2014-08-17T18:07:34Z")

</div>

I noticed there are a number of shootout examples that exist in the ATS1  
directory but actually work with ATS2. Some of them have different  
implementations in the ATS2 directory, and some implementations are missing  
from the ATS2 directory.

What is the general distinction, if any, between the “ATS1” and ATS2  
implementations? Are the “ATS1” examples just undesirable in some way(s)?

---

<div class="post-metadata">

**Author:** ![gmhwxi](https://avatars.discourse-cdn.com/v4/letter/g/67e7ee/32.png) [@gmhwxi](https://discourse.ats-lang.org/u/gmhwxi)\
**Post date:** [August 17, 2014, 6:14pm UTC](https://discourse.ats-lang.org/t/shootout-ats1-examples-in-contrib/794/2 "2014-08-17T18:14:02Z")

</div>

The code in ATS1/ is translated from ATS1 into ATS2. It is in general of  
rather poor style.

The code in ATS2/ was re-writtien based on corresponding C code available  
at the SHOOTOUT website.

Efficiency-wise, ATS2 code and C code are about the same.On Sunday, August 17, 2014 2:07:34 PM UTC-4, Brandon Barker wrote:

> I noticed there are a number of shootout examples that exist in the ATS1  
> directory but actually work with ATS2. Some of them have different  
> implementations in the ATS2 directory, and some implementations are missing  
> from the ATS2 directory.
> 
> What is the general distinction, if any, between the “ATS1” and ATS2  
> implementations? Are the “ATS1” examples just undesirable in some way(s)?
