thx for the interest, i'll try keep u updated, ive joined the discord as mustapha On Friday, January 28, 2022 at 3:31:54 AM UTC+5 Yann Le Du wrote:
> I’ll be interested in hearing from you when you have the results because I > plan to use pthreads too. You can also keep us informed on the Discord > channel https://discord.gg/bpt7wj9Q > > ianxek > > On Thursday, January 27, 2022 at 6:21:03 PM UTC+1 [email protected] > wrote: > >> Thanks, I'll ask my questions here if I have any questions, the first >> thing I want to do is actually compile some ATS example with pthreads and >> see if the code runs on MinGW-w64 and mac and linux. I understand the >> language is abnormally powerful, but i want the c code spit out by the ATS >> compiler to work _everywhere_ including windows. >> >> If it meets this criteria, then I'll put all my effort into learning this >> language. >> On Tuesday, January 25, 2022 at 11:46:48 PM UTC+5 d4v3y_5c0n3s wrote: >> >>> I'll try to answer your questions to the best of my ability. >>> >>> 1. ATS Postiats (also known as ATS2) does not currently support >>> MSVC, and likely never will since ATS Xanadu (a.k.a. ATS3) is the main >>> focus of the lead developer. >>> 2. I don't know what C standard ATS compiles to, but it's probably >>> safe to assume it compiles to C99 unless there is evidence to the >>> contrary. >>> 3. In ATS2 you have full access to C's pre-processor, and can use it >>> just like how you would when programming in C. >>> 4. I know you can use pthreads in ATS, there are some examples of >>> this in the ATS Postiats. Assuming win32-threads are accessible through >>> a >>> C API, then ATS can use it via FFI. >>> >>> If you are interested in learning to use ATS, I'd reccommend checking >>> out the documentation available on the ATS website >>> <http://www.ats-lang.org/Documents.html> and the wiki page for ATS2 >>> <https://github.com/githwxi/ATS-Postiats/wiki>. And don't be afraid to >>> post addition questions. :D >>> >>> On Friday, January 21, 2022 at 11:30:43 AM UTC-5 [email protected] >>> wrote: >>> >>>> correction for 4 b: if not 4 a then can i jam win32-thread code into >>>> "<% %>" delims >>>> >>>> On Friday, January 21, 2022 at 9:28:32 PM UTC+5 [email protected] >>>> wrote: >>>> >>>>> hi everyone, sorry for noob questions >>>>> 1. will there be support added for msvc? >>>>> 2. does ats code compile to c89 and/or c99? >>>>> 3. does it support pre-processor? >>>>> 4. a) if it does would you be able to use win32-threads aswell as >>>>> pthreads? >>>>> b) if not can i jam win32-thread code into the "<% %>" delimiters >>>>> thanks. >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/083d077d-c53b-4b83-b9f9-6cee2b49c2d6n%40googlegroups.com.
