Re:Show HN: LiteScript
by ulisesrmzroche on Sunday March 09, 2014 @01:14PM
(#7369010)
Does this depend on using --harmony? Or are you faking the generators?
[ Parent
| on HN ]
today it depends on --harmony (only for "yield"), but it is trivial to add an option to use node-fibers instead (same functionality of ES6-generators for node>=v0.8).
See https://github.com/luciotato/waitfor ,node-fibers, and the same with generators: https://github.com/luciotato/waitfor-ES6
Re:Show HN: LiteScript
by ulisesrmzroche on Friday March 14, 2014 @11:29AM
(#7399430)
It's good that it's not faking generators though, stick with harmony. Fakes slow to a crawl after a while.