re: Exploring how Elm can target Web Assembly VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

I'd also assume that what's called garbage collection here is due to the conclusion that if JavaScript needs one Elm will also need one.

Some years ago I wrote a PostScript interpreter and quite a while it worked very well without a garbage collector - all was done with reference counting. Apple shows with ARC (Automatic Reference Counting) that even a language much more complex than ELM can work without GC.

So as long as you don't have cyclic references reference counting should do the trick.

code of conduct - report abuse