News for hackers. Stuff that matters.
Re:The ATS Programming Language by treebog on Tuesday August 17, 2021 @11:48PM (#28217583)
It’s on the far bleeding edge as far as languages go, so I doubt any businesses use it. The largest practical ATS program I know of is polyglot: https://github.com/vmchale/polyglot
Re:The ATS Programming Language by grumpyprole on Wednesday August 18, 2021 @03:58AM (#28218683)
Rust seems very popular despite also being bleeding edge. I am surprised there isn't more public industry interest in ATS, it looks very principled and well designed.
Re:The ATS Programming Language by chriswarbo on Wednesday August 18, 2021 @06:40AM (#28219517)
ATS seems like a "Worse is Better" approach to dependent types and linear types. It exposes all of their power at the type level, and the value level allows both ML-style high level programming and C-level bit-banging. That's really useful for

Yet to actually use that power, developers are pretty much left to implement everything themselves.

The nice thing about Rust's borrow-checking approach is that common patterns can be inferred and checked. Linear types ATS offer the same power, but force developers to jump through more hoops 'manually' (and likewise for dependent types, compared to the fancy inference/proof-search approaches of languages like Idris)

Re:The ATS Programming Language by jp0d on Wednesday August 18, 2021 @07:23AM (#28219764)
Thanks for the descriptive answer mate. I honestly don't know much about it. But I've read about the LISP family and ML family of languages. There are too many to choose from. I've decided to learn F# and have been going through some tutorials. I'm enjoying it quite a lot. ATS sounds like a good combo of abstraction meets bare metal.
Re:The ATS Programming Language by jp0d on Wednesday August 18, 2021 @01:36AM (#28218057)
Thanks man. It's difficult to keep track as I've seen so many new languages on HN. This one seemed like an important one.
Re:The ATS Programming Language by moonchild on Wednesday August 18, 2021 @04:35AM (#28218869)
The ATS compiler is also written in ATS.
Re:The ATS Programming Language by pabs3 on Thursday August 19, 2021 @08:41AM (#28233079)
How do you bootstrap the ATS compiler from source if you don't have binaries?
Re:The ATS Programming Language by detaro on Thursday August 19, 2021 @08:43AM (#28233107)
There is more than one compiler: http://www.ats-lang.org/Implements.html