[rust-dev] Rust and Servo presentations, demos

2013-10-31 Thread KAMI911 KAMI911
Hi Folks, (sorry for cross posting), I am a Hungarian contributor to Mozilla. Next weekend I will have a presentation about Mozilla Labs projects and I would like to introduce Rust and Servo. Can you point some presentations, demos that available for everyone? Thank you in advance! Üdvözlettel /

Re: [rust-dev] More on stack safety

2013-10-31 Thread Ben Kloosterman
> > The big issue here then is really that rust tasks can be pre-empted, and > therefore you can't guarantee that *any* function is free from blocking > (which means you can't assign it a large stack, since it may go to sleep > while holding it). IMO co-operative tasks (by default) is worth conside

Re: [rust-dev] More on stack safety

2013-10-31 Thread Niko Matsakis
Currently, Rust does not pre-empty. I still hope we can leverage the O/S for pre-emption rather than having to implement it ourselves. Niko On Thu, Oct 31, 2013 at 10:07:51PM +0800, Ben Kloosterman wrote: > > > > The big issue here then is really that rust tasks can be pre-empted, and > > theref

Re: [rust-dev] More on stack safety

2013-10-31 Thread Ben Kloosterman
> > > > > In terms of the stack size check , as has been mentioned you can do >> more with some analysis , each method gives an indication of worst >> cases stack growth , these can then be added together to reduces checks >> by 80% and hence significantly reduce the performance impact . >> > >

Re: [rust-dev] More on stack safety

2013-10-31 Thread Sebastian Sylvan
On Thu, Oct 31, 2013 at 7:07 AM, Ben Kloosterman wrote: >> >> The big issue here then is really that rust tasks can be pre-empted, and >> therefore you can't guarantee that *any* function is free from blocking >> (which means you can't assign it a large stack, since it may go to sleep >> while h

Re: [rust-dev] [dev-servo] Rust and Servo presentations, demos

2013-10-31 Thread Jack Moffitt
Szia! There is a list of collected presentations related to Servo here: https://github.com/mozilla/servo/wiki/Videos-and-presentations and one for Rust: https://github.com/mozilla/rust/wiki/Docs#presentations The best way to demo servo are the following files which you can find in `src/test/html

Re: [rust-dev] Rust and Servo presentations, demos

2013-10-31 Thread Benjamin Striegel
Before you give the presentation, would you mind showing it to us here? I for one would be happy to review your code and make sure it's up to date. On Thu, Oct 31, 2013 at 5:04 AM, KAMI911 KAMI911 wrote: > Hi Folks, (sorry for cross posting), > > I am a Hungarian contributor to Mozilla. Next we