Re: Safe mode in D?

2013-10-17 Thread DDD
On Thursday, 17 October 2013 at 23:08:13 UTC, Ali Çehreli wrote: On 10/17/2013 03:56 PM, DDD wrote: Hi I heard that you can pass a command line argument to make D safe. Like 0 chance of memory corruption and such. I tried looking here http://dlang.org/dmd-linux.html but I couldn't figu

Re: Safe mode in D?

2013-10-17 Thread DDD
On Thursday, 17 October 2013 at 23:03:52 UTC, Adam D. Ruppe wrote: On Thursday, 17 October 2013 at 22:56:04 UTC, DDD wrote: Hi I heard that you can pass a command line argument to make D safe. I don't think the command line argument is available anymore, instead it uses a function

Safe mode in D?

2013-10-17 Thread DDD
Hi I heard that you can pass a command line argument to make D safe. Like 0 chance of memory corruption and such. I tried looking here http://dlang.org/dmd-linux.html but I couldn't figure it out. If it matters I'm on windows using the latest until a new version came out ~3weeks ago

Reflection/Introspection?

2013-10-16 Thread DDD
Does D have any reflection/introspection? I'd like to do something like this class Contact { string first, last int number } contact = json_deserialized!Contact(json_string); Is something like that possible?