Jump to page: 1 2
Thread overview
Kai's talk at FOSDEM streaming NOW!
Feb 02, 2014
Paulo Pinto
Feb 02, 2014
bearophile
Feb 02, 2014
Daniel Murphy
Feb 02, 2014
Martin Cejp
Feb 02, 2014
bearophile
Feb 05, 2014
Kai Nacke
Feb 02, 2014
nazriel
Feb 02, 2014
Paulo Pinto
Feb 03, 2014
Kai Nacke
Feb 03, 2014
Walter Bright
Feb 04, 2014
Kai Nacke
Feb 04, 2014
Walter Bright
February 02, 2014
Hi,

if you want to follow it, go right now to

http://streaming.fosdem.org/

--
Paulo
February 02, 2014
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
February 02, 2014
"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 */
}

February 02, 2014
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.
February 02, 2014
Martin Cejp:

> I don't think ASan works on windows.

Thank you Daniel Murphy and Martin Cejp for the answers :-)

Bye,
bearophile
February 02, 2014
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!
February 02, 2014
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.
February 03, 2014
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
February 03, 2014
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.

February 03, 2014
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

« First   ‹ Prev
1 2