[rust-dev] 3 SF events in June: a Dinner, Game Tech Meetup, and a Spinning Trianglthon

2014-05-21 Thread Erick Tryzelaar
Hello Rustangles! I'm pleased to announce *three* SF Bay Area events in June! First up is a dinner at the Tied House in Mountain View on June 10th. Second is a gaming themed meetup on Thursday in San Francisco, June 26th. Third, we'll be having a Spinning Trianglthon hackathon to play around with

Re: [rust-dev] dynamic memory allocations

2014-05-21 Thread Daniel Micay
On 21/05/14 09:19 AM, Zoltán Tóth wrote: > Daniel Micay mailto:danielmi...@gmail.com>> wrote: > > ... the default > allocator, which is jemalloc right now. > > > Rust's memory management is still under-documented in the manual. I have > a question which have been bothering me for a while

Re: [rust-dev] Using gdb on rust

2014-05-21 Thread Michael Woerister
Hi Ricardo, lldb should work OK with Rust executables. The error you mention should be solved by also specifying the file containing the line you want to break in. So instead of writing just `b -l 5`, try `b -l 5 -f main.rs` instead (specifying the correct source filename, of course). The comma

Re: [rust-dev] Using gdb on rust

2014-05-21 Thread Ricardo Brandão
Michael and Isaac, Thanks for your replies, Probably there is another kind of problem on lldb installation on my OSX. Now, I'm getting a segmentation fault: $ lldb -f ./h Current executable set to './h' (x86_64). (lldb) breakpoint set -f h -l 5 Segmentation fault: 11 Anyway, using Ubuntu on Vi

Re: [rust-dev] Using gdb on rust

2014-05-21 Thread Isaac Hollander McCreery
Hi Ricardo, lldb has a different syntax than gdb. Instead of b -l 5 use breakpoint set -f h -l 5 That's why you're getting those errors. More information here: http://lldb.llvm.org/tutorial.html Hope that helps, Ike On Tue, May 20, 2014 at 2:42 PM, Ricardo Brandão wrote: > Y

Re: [rust-dev] dynamic memory allocations

2014-05-21 Thread Corey Richardson
No, there are no task-specific heaps. An old concept from the manual is the "exchange heap", which is where ~ boxes lived (ie, the normal heap) and that @-boxes were some magic task-local heap. But you can always send Box between tasks. There's been mention of wanting a task-local box in IRC. Howev

[rust-dev] dynamic memory allocations

2014-05-21 Thread Zoltán Tóth
Daniel Micay wrote: > ... the default > allocator, which is jemalloc right now. > > Rust's memory management is still under-documented in the manual. I have a question which have been bothering me for a while. I may have misunderstood something basic. Jemalloc AFAIK synchronizes the allocations,