Re: Clang with SAFECode

2011-08-22 Thread Josh Simmons
On Mon, Aug 22, 2011 at 6:11 PM, bearophile wrote: > Walter: > >> You're not going to use those runtime checks in high performance video code. > > I see it as infrastructure useful for debugging and code test. The advantage > over Valgrind is that it doesn't slow down the code 10 times, but only

Re: Clang with SAFECode

2011-08-22 Thread bearophile
Walter: > You're not going to use those runtime checks in high performance video code. I see it as infrastructure useful for debugging and code test. The advantage over Valgrind is that it doesn't slow down the code 10 times, but only 1.2-1.5 times, so you are able to play the game during debug

Re: Clang with SAFECode

2011-08-22 Thread Walter Bright
On 8/20/2011 11:48 PM, bearophile wrote: Very little code in a D program needs to be @system, so I see little need for this. I'd like to know what percentage of code of a high-performance indie video game is @system :-) You're not going to use those runtime checks in high performance video

Re: Clang with SAFECode

2011-08-20 Thread bearophile
Walter: > Very little code in a D program needs to be @system, so I see little need for > this. I'd like to know what percentage of code of a high-performance indie video game is @system :-) Bye, bearophile

Re: Clang with SAFECode

2011-08-19 Thread Walter Bright
bearophile wrote: I'd like some optional functionality like SAFECode in the D compiler too. Very little code in a D program needs to be @system, so I see little need for this.

Re: Clang with SAFECode

2011-08-18 Thread bearophile
Andrei Alexandrescu: > http://clang-developers.42468.n3.nabble.com/Clang-SAFECode-Release-Announcement-td3265143.html >Thanks for the info. Walter and my perception is that safety is big and becoming huge, so SafeD was a good bet (props to Bartosz Milewski for first proposing it).< The purpose o

Re: Clang with SAFECode

2011-08-18 Thread Andrei Alexandrescu
On 8/18/11 12:41 PM, Jacob Carlborg wrote: "We have a new release of Clang with SAFECode technology for detecting memory safety errors." I thought that someone might be interested: http://clang-developers.42468.n3.nabble.com/Clang-SAFECode-Release-Announcement-td3265143.html

Clang with SAFECode

2011-08-18 Thread Jacob Carlborg
"We have a new release of Clang with SAFECode technology for detecting memory safety errors." I thought that someone might be interested: http://clang-developers.42468.n3.nabble.com/Clang-SAFECode-Release-Announcement-td3265143.html -- /Jacob Carlborg