Re: [julia-users] python-like generators?

2016-10-13 Thread Ralph Smith
; fantastic. Simply a way to get the start, next and done methods > implemented > automatically. > > > -Original Message- > > From: julia...@googlegroups.com [mailto:julia- > > > us...@googlegroups.com ] On Behalf Of Mauro > > Sent: Thursday, Oct

RE: [julia-users] python-like generators?

2016-10-13 Thread David Anthoff
..@googlegroups.com] On Behalf Of Mauro > Sent: Thursday, October 13, 2016 6:00 AM > To: julia-users@googlegroups.com > Subject: Re: [julia-users] python-like generators? > > Isn't this the same as tasks in Julia? > http://docs.julialang.org/en/release-0.5/stdlib/parallel/ >

Re: [julia-users] python-like generators?

2016-10-13 Thread Mauro
Isn't this the same as tasks in Julia? http://docs.julialang.org/en/release-0.5/stdlib/parallel/ Although, note that their performance is not on par with start-next-done iteration. On Thu, 2016-10-13 at 14:46, Neal Becker wrote: > julia-0.5 supports generator expressions, ala python, which is ve

Re: [julia-users] python-like generators?

2016-10-13 Thread Tom Breloff
I've used them, and I think a Julia Task is a better comparison. So while the syntax is different you can accomplish the same thing. On Thursday, October 13, 2016, Neal Becker wrote: > julia-0.5 supports generator expressions, ala python, which is very nice. > > Any thoughts on supporting the mo