www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Kai's talk at FOSDEM streaming NOW!

reply Paulo Pinto <pjmlp progtools.org> writes:
Hi,

if you want to follow it, go right now to

http://streaming.fosdem.org/

--
Paulo
Feb 02 2014
next sibling parent reply "bearophile" <bearophileHUGS lycos.com> writes:
Paulo Pinto:

 if you want to follow it, go right now to

 http://streaming.fosdem.org/
-------------- In the slide n.13, titled "AST" there is: foreach (a; 1..10) { /* stmts */ } That gets lowered to: for (int key = 1; key < 10; ++key) { /* stmts */ } Then how is this code rewritten? foreach (immutable a; 1 .. 10) { /* stmts */ } -------------- Slide 21, Integrating AdressSanitizer: I have tried to compile this code (adapted from this page: http://clang.llvm.org/docs/AddressSanitizer.html ): int main(string[] args) { auto array = (new int[100]).ptr; delete array; return array[args.length]; } It gives me: ...>ldmd2 -release -noboundscheck -sanitize=address -run test.d .../mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64 mingw32/bin/ld.exe: cannot find -lasan collect2.exe: error: ld returned 1 exit status Error: C:\MinGW\bin\gcc.exe failed with status: 1 Bye, bearophile
Feb 02 2014
next sibling parent "Daniel Murphy" <yebbliesnospam gmail.com> writes:
"bearophile"  wrote in message news:puczjifnprbmbnufuohw forum.dlang.org... 
 Then how is this code rewritten?
 
 foreach (immutable a; 1 .. 10) {
      /* stmts */
 }
int __key1 = 1; immutable immutable(int) __limit2 = 10; for (; __key1 < 10; __key1 += 1) { immutable immutable(int) a = __key1; /* stmts */ }
Feb 02 2014
prev sibling next sibling parent reply "Martin Cejp" <minexew gmail.com> writes:
On Sunday, 2 February 2014 at 13:46:50 UTC, bearophile wrote:
...
 It gives me:

 ...>ldmd2 -release -noboundscheck -sanitize=address -run test.d
 .../mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64
mingw32/bin/ld.exe: 
 cannot find -lasan
 collect2.exe: error: ld returned 1 exit status
 Error: C:\MinGW\bin\gcc.exe failed with status: 1
I don't think ASan works on windows.
Feb 02 2014
parent "bearophile" <bearophileHUGS lycos.com> writes:
Martin Cejp:

 I don't think ASan works on windows.
Thank you Daniel Murphy and Martin Cejp for the answers :-) Bye, bearophile
Feb 02 2014
prev sibling parent "Kai Nacke" <kai redstar.de> writes:
Hi bearophile!

On Sunday, 2 February 2014 at 13:46:50 UTC, bearophile wrote:
 Slide 21, Integrating AdressSanitizer:

 I have tried to compile this code (adapted from this page: 
 http://clang.llvm.org/docs/AddressSanitizer.html ):


 int main(string[] args) {
     auto array = (new int[100]).ptr;
     delete array;
     return array[args.length];
 }


 It gives me:

 ...>ldmd2 -release -noboundscheck -sanitize=address -run test.d
 .../mingw/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../../i686-w64
mingw32/bin/ld.exe: 
 cannot find -lasan
 collect2.exe: error: ld returned 1 exit status
 Error: C:\MinGW\bin\gcc.exe failed with status: 1
You need to install compiler-rt. It includes the asan libraray. Regards, Kai
Feb 04 2014
prev sibling next sibling parent reply "nazriel" <spam dzfl.pl> writes:
On Sunday, 2 February 2014 at 13:09:27 UTC, Paulo Pinto wrote:
 Hi,

 if you want to follow it, go right now to

 http://streaming.fosdem.org/

 --
 Paulo
Damn it! I'm too late. Is it possible to download it somewhere? Paulo, thanks for reminder anyways!
Feb 02 2014
parent Paulo Pinto <pjmlp progtools.org> writes:
Am 02.02.2014 18:09, schrieb nazriel:
 On Sunday, 2 February 2014 at 13:09:27 UTC, Paulo Pinto wrote:
 Hi,

 if you want to follow it, go right now to

 http://streaming.fosdem.org/

 --
 Paulo
Damn it! I'm too late. Is it possible to download it somewhere? Paulo, thanks for reminder anyways!
Usually the videos and presentations get upload during the weeks after the event.
Feb 02 2014
prev sibling parent reply "Kai Nacke" <kai redstar.de> writes:
On Sunday, 2 February 2014 at 13:09:27 UTC, Paulo Pinto wrote:
 Hi,

 if you want to follow it, go right now to

 http://streaming.fosdem.org/

 --
 Paulo
Hi Paulo! Thanks for the announcement. It was really fun. :-) The slides are already at the FOSDEM site and will be available on the LLVM site soon. https://fosdem.org/2014/schedule/event/ldccompiler/ http://www.llvm.org/devmtg/2014-02/ The recordings will also be available soon. Regards, Kai
Feb 03 2014
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 2/3/2014 10:01 AM, Kai Nacke wrote:
 Thanks for the announcement. It was really fun. :-)

 The slides are already at the FOSDEM site and will be available on the LLVM
site
 soon.

 https://fosdem.org/2014/schedule/event/ldccompiler/
 http://www.llvm.org/devmtg/2014-02/

 The recordings will also be available soon.
Wonderful! Very good slide deck.
Feb 03 2014
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 2/3/14, 11:46 AM, Walter Bright wrote:
 On 2/3/2014 10:01 AM, Kai Nacke wrote:
 Thanks for the announcement. It was really fun. :-)

 The slides are already at the FOSDEM site and will be available on the
 LLVM site
 soon.

 https://fosdem.org/2014/schedule/event/ldccompiler/
 http://www.llvm.org/devmtg/2014-02/

 The recordings will also be available soon.
Wonderful! Very good slide deck.
Will a talk recording be available? Andrei
Feb 03 2014
parent "Kai Nacke" <kai redstar.de> writes:
On Monday, 3 February 2014 at 20:05:27 UTC, Andrei Alexandrescu 
wrote:
 On 2/3/14, 11:46 AM, Walter Bright wrote:
 On 2/3/2014 10:01 AM, Kai Nacke wrote:
 Thanks for the announcement. It was really fun. :-)

 The slides are already at the FOSDEM site and will be 
 available on the
 LLVM site
 soon.

 https://fosdem.org/2014/schedule/event/ldccompiler/
 http://www.llvm.org/devmtg/2014-02/

 The recordings will also be available soon.
Wonderful! Very good slide deck.
Will a talk recording be available? Andrei
Yes, the recording will be made available. I'll post the link when available. Regards, Kai
Feb 03 2014
prev sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 2/3/2014 10:01 AM, Kai Nacke wrote:
 Thanks for the announcement. It was really fun. :-)
Submit it for OSCON? http://www.oscon.com/oscon2014/public/cfp/311
Feb 03 2014