--
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 ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/47bcb600-9bf4-4798-97b2-cb7764b86e54%40googlegroups.com.
linear types to avoid GC is another option, especially, for performant code.collector (like libgc) to JS via Emscripten. I have not tried it yet. Of course, usingTo use GC in the JS code generated by Emscripten, one needs to compile a garbagelikely be a sensible option.co-programming. For writing performant JS code, going the Emscripten route shouldI would use both. Compared to Emscripten, Atscc2js make it so much easierfor ATS to interact with JS. I often use Atscc2js to do what I call ATS and JS
On Wed, Oct 21, 2015 at 1:24 AM, H Zhang <zh...@gmail.com> wrote:
Which one do you expect people to use in the long term? I thought ATS translated C is rather close to assembly and JS engines have optimizing JIT compiling. It is interesting to note that Google's Dart VM does not use byte code as they claim it is better to JIT from source.
One thing I've read is that asm.js does not currently support GC. So does Emscipten compiled ATS support GC or no?
Haitao
On Monday, October 19, 2015 at 6:01:57 AM UTC-7, gmhwxi wrote:
Emscripten is a compiler for translating LLVM in to JavaScript.
I added a few examples in the following directory showing how ATS and
Emscripten can be used together:
https://github.com/githwxi/ATS-Postiats/blob/master/doc/EXAMPLE/JS-emscripten
There are now two ways of generating JS from ATS source:
1) ATS -> C -(via Atscc2js)-> JS
2) ATS -> C -(via Emscripten)-> JS
JS code generated from 1) and 2) can actually be combined for use. The fact2 example
in the above directory is such a case.
--
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 ats-lang-users+unsubscribe@googlegroups.com.
To post to this group, send email to ats-lang-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
Visit this group at http://groups.google.com/group/ats-lang-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/47bcb600-9bf4-4798-97b2-cb7764b86e54%40googlegroups.com.
--
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 ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/594efae0-a344-4f3f-9065-2a98908bde2a%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-user...@googlegroups.com.
To post to this group, send email to ats-lan...@googlegroups.com.