r/ATS • • Jun 22 '13

Replacing Python: second round

Thumbnail
roscidus.com
0 Upvotes

r/ATS • • Oct 15 '26

Fixing ATS2 (Postiats 0.4.2) compilation on modern toolchains (GCC 16 + Arch Linux)

2 Upvotes

Hey everyone,

I was experimenting with ATS2 (Postiats 0.4.2) on Arch Linux setup (GCC 16.2.1) and I ran into compilation conflicts with legacy C header declarations (specifically around bsearch in prelude/CATS/array.cats).

To make building and testing ATS2 painless I wrote minimal bootstrap script.
Feel free to check it out.

https://github.com/enji-hex/ATS2-Local-Bootstrap


r/ATS • • Jul 19 '12

Lightweight Tasks Library for ATS

Thumbnail bluishcoder.co.nz
5 Upvotes

r/ATS • • Jan 03 '18

The Joy of ATS 2: A Simple Game

Thumbnail
ryanking.com
10 Upvotes

r/ATS • • Jan 06 '24

Multiple borrows vs ATS' linear types

7 Upvotes

Hello, am currently learning ATS from the fantastic Introduction to Programming in ATS, and have gotten a bit stuck on Views for Memory Access through Pointers. I have a background in Rust so my thinking is somewhat framed in concepts from over there.

The way it passes the views (which I'm interpretting as tokens of ownership) around, seemingly doesn't allow for immutably borrowing. To borrow a value, you pass a function ownership, and it gives it back, so how would you express something like this (Rust) in ATS?:

fn max_ref<'a>(x: &'a i32, y: &'a i32) -> &'a i32 {
    if x > y { x } else { y }
}

fn main() {
    let x = 5;
    let z = max_ref(&x, &x); // x borrowed twice
    dbg!(z); // z = 5
}

The equivilant ATS would take in two viewtypes, one for x and one for y, which in this example would mean using the ownership token for x twice before the function returns, which violates lineararity.

Many thanks to anyone who can shine some light on the subject! Boy is this a heavy language to try and grapple.

EDIT: More generally I guess my question is "how do you do immutable borrows?", because they're much more common than mutable borrows in Rust but the ATS default seems equivilant to mutable borrows.


r/ATS • • Apr 07 '25

Can anyone else get to ATS?

6 Upvotes

This is what I get when Iry to go to ATS.

Connection timed out 

Connection timed out 

Error code 522

Visit cloudflare.com for more information.2025-04-07 06:45:11 UTC
Error code 522

Anyone else getting this?

At the link it says:

Cloudflare protects this website

But, something went wrong trying to reach it

If the problem isn’t resolved in the next few minutes, it’s most likely an issue with the web server you were trying to reach.

Cloudflare is a global network that secures websites, applications, remote teams, and networks. We help build a better Internet through a focus on security and speed.

Is the site down? Is it not accepting VPNs anymore?


r/ATS • • Nov 10 '25

Is it even worth waiting for ATS(3)?

8 Upvotes

Last I checked (around 4 years back), ATS3, the final version of ATS was supposed to be almost done.

I checked the Xanadu repo yesterday, and I can't make sense of what's been done, what's pending, how to get started etc.?

I've been really enthusiastic about ATS(3), and stopped learning ATS2 when it was announced that ATS3 was the final version of the language, and in the works.

At this stage, it seems like it's pointless to even wait for it anymore? The Google groups is practically abandoned, and so, it seems, is this subreddit as well.


r/ATS • • Apr 28 '26

Is there still interesting in ATS dicussion? Subreddit takeover has been requested.

6 Upvotes

Hello /r/ATS members. There has been a request in /r/redditrequest by someone asking if they could take over the /r/ATS subreddit for a different topic, stating that the subreddit appears relatively low trafficed. I was asked by Reddit to comment and I've requested that while it has low activity it would be good for it to continue as a place to discuss the ATS language.

What are your thoughts, as community members and ATS users? Would you care if this subreddit was no longer available for ATS discussion?


r/ATS • • Mar 24 '26

Building ATS2 from Source in 2026

Thumbnail bluishcoder.co.nz
7 Upvotes

r/ATS • • Jan 02 '18

Casting in ATS

Thumbnail
bluishcoder.co.nz
7 Upvotes

r/ATS • • Nov 30 '14

Project announces switch from Haskell to ATS

Thumbnail
ajhc.metasepi.org
7 Upvotes

r/ATS • • Jan 02 '14

How about create the ATS logo?

4 Upvotes

r/ATS • • Jan 03 '18

Writing basic proofs in ATS

Thumbnail
bluishcoder.co.nz
8 Upvotes

r/ATS • • Dec 30 '13

ATS2 mode for emacs

Thumbnail
github.com
6 Upvotes

r/ATS • • Dec 21 '13

"ML programmer's guide to ATS" in Japanese translation

Thumbnail metasepi.org
3 Upvotes

r/ATS • • Sep 20 '16

Examples of large or impressive programs in ATS?

6 Upvotes

I try to judge languages and their ecosystems by what they let you do. Are there any large, impressive, or otherwise notable ATS programs that demonstrate the potential of the language and its tools?


r/ATS • • Nov 16 '14

ATS examples from the Intro-to-ATS book

Thumbnail
reddit.com
2 Upvotes

r/ATS • • Dec 26 '17

Outperforming Rust with ATS

Thumbnail
blog.vmchale.com
12 Upvotes

r/ATS • • Aug 30 '12

Safer handling of C memory in ATS

Thumbnail bluishcoder.co.nz
6 Upvotes

r/ATS • • Oct 03 '12

Implementing a stack with proofs in ATS

Thumbnail bluishcoder.co.nz
9 Upvotes

r/ATS • • Apr 17 '16

Sorts, Statics, and Dynamics in ATS

Thumbnail steinwaywu.ghost.io
6 Upvotes

r/ATS • • Jan 14 '13

ATS-0.2.9 released

Thumbnail sourceforge.net
7 Upvotes

r/ATS • • Sep 21 '15

ATS and Session Types

Thumbnail groups.google.com
1 Upvotes

r/ATS • • Feb 11 '14

ATS Text editor

4 Upvotes

Is there any text editor that helps me spell check my code for syntax errors and just common mistakes as I am new to the language and commonly make mistakes. I can't seem to find a good one to use. I currently use emacs but it does not have any of the functions and basically is just a simple text editor. Is there anything betteR?


r/ATS • • Jan 17 '15

Learn ATS by solving math puzzles

Thumbnail
github.com
5 Upvotes