Re: DConf 2013 Day 3 Talk 4: LDC by David Nadlinger

2013-06-19 Thread Kai Nacke

On Monday, 17 June 2013 at 15:41:24 UTC, nazriel wrote:

On Monday, 17 June 2013 at 13:47:20 UTC, bearophile wrote:

Andrei Alexandrescu:


http://www.reddit.com/r/programming/comments/1gie4b/dconf_2013_ldc_the_llvmbased_d_compiler_by_david/


Slide 14:

PFFT (SSE) seems slow on LDC2: if you can extract a small test
case LLVM devs will appreciate a lot a bug report (they fixed
many lacks of optimizations submitted by me). If you have a 
link

to the PFFT code them maybe I can do that myself.

I don't know what PFFT stands for (can't google it either, 
funny results shows up) but if it related to vectorization then 
maybe LDC has been slower because it was built against LLVM 3.3 
while LLVM 3.4 brings more vector optimizations.


Maybe all what has to be done, is rerunning benchmarks against 
LDC + LLVM 3.4 ?


As far as I followed the LLVM commit list, the change is that the 
loop vectorizer is now enabled at -O2 (instead of -O3).
I don't know the options David has used but I assume something 
like ldmd2 -O -inline -release. -O from ldmd2 maps to -O3 and 
therefore enables the loop vectorizer.


Regards
Kai



Slide 25:

Implicit invariants often hard to track down


Then maybe it's a good idea to add such invariants to the dmd
front-end code, even before its port to D.

Bye,
bearophile




Re: DConf 2013 Day 3 Talk 4: LDC by David Nadlinger

2013-06-19 Thread Jacob Carlborg

On 2013-06-17 14:25, Andrei Alexandrescu wrote:

You know the drill!

reddit:
http://www.reddit.com/r/programming/comments/1gie4b/dconf_2013_ldc_the_llvmbased_d_compiler_by_david/


hackernews: https://news.ycombinator.com/item?id=5892652

facebook: https://www.facebook.com/dlang.org/posts/658638807483137

twitter: https://twitter.com/D_Programming/status/346598441230671873

youtube: http://youtube.com/watch?v=ntdKZWSiJdY


David mentions in the talks that git submodules make it more complicated 
to do merges. I'm not sure I understand why. git submodules are just 
regular repositories that are included in other repositories. One can 
work on these repositories separately, then it shouldn't be much 
difference.


--
/Jacob Carlborg


Re: DConf 2013 Day 3 Talk 4: LDC by David Nadlinger

2013-06-19 Thread Jacob Carlborg

On 2013-06-17 14:25, Andrei Alexandrescu wrote:

You know the drill!

reddit:
http://www.reddit.com/r/programming/comments/1gie4b/dconf_2013_ldc_the_llvmbased_d_compiler_by_david/


hackernews: https://news.ycombinator.com/item?id=5892652

facebook: https://www.facebook.com/dlang.org/posts/658638807483137

twitter: https://twitter.com/D_Programming/status/346598441230671873

youtube: http://youtube.com/watch?v=ntdKZWSiJdY


About the Mac OS X support. Is TLS the only problem on Snow Leopard? 
Have you considered moving the code dealing with TLS from the dynamic 
linker into the executable?


--
/Jacob Carlborg


Re: HibernateD and DDBC - ORM and DB abstraction layer for D

2013-06-19 Thread Vadim Lopatin

New version: v0.2.9
Fixed HQL parser bug with underscores in field and table names
Fixed compilation error with undefined identifiers in metadata.d
Merged pull request to use standard mysql-native library


DConf 2013 Day 3 Talk 5: Effective SIMD for modern architectures by Manu Evans

2013-06-19 Thread Andrei Alexandrescu

Apologies for the delay, we're moving and things are a bit hectic.

reddit: 
http://www.reddit.com/r/programming/comments/1go9ky/dconf_2013_effective_simd_for_modern/


twitter: https://twitter.com/D_Programming/status/347433981928693760

hackernews: https://news.ycombinator.com/item?id=5907624

facebook: https://www.facebook.com/dlang.org/posts/659747567372261

youtube: http://youtube.com/watch?v=q_39RnxtkgM


Andrei


Re: DMD 2.063.2 now up

2013-06-19 Thread Andrei Alexandrescu

On 6/18/13 5:23 PM, Jerry wrote:

Walter Brightnewshou...@digitalmars.com  writes:


and fixes several reported regressions.

download.dlang.org


Yay!  I can compile and run programs now!  Thanks everyone for helping
me get running again.

cheers
Jerry


This is awesome, right back at you Jerry. Without your help this would 
have taken much longer to diagnose and fix.


Andrei


LDC in LLVM Release Notes

2013-06-19 Thread qznc
LDC is explicitly mentioned in the LLVM 3.3 Release Notes [0]. In contrast 
to other frontends, LDC seems to follow upstream much more closely (or 
maybe is forced to due to bugs?).

Anyhow, kudos to David Nadlinger and whoever else was involved!

[0] http://llvm.org/releases/3.3/docs/ReleaseNotes.html#ldc-the-llvm-based-
d-compiler


Re: LDC in LLVM Release Notes

2013-06-19 Thread Andrej Mitrovic

On Wednesday, 19 June 2013 at 20:40:39 UTC, qznc wrote:
LDC is explicitly mentioned in the LLVM 3.3 Release Notes [0]. 
In contrast
to other frontends, LDC seems to follow upstream much more 
closely (or

maybe is forced to due to bugs?).

Anyhow, kudos to David Nadlinger and whoever else was involved!

[0] 
http://llvm.org/releases/3.3/docs/ReleaseNotes.html#ldc-the-llvm-based-

d-compiler


It's also mentioned in the 3.1 notes, but I think it's just there 
as an example of a project that uses LLVM.


Re: LDC in LLVM Release Notes

2013-06-19 Thread David Nadlinger

On Wednesday, 19 June 2013 at 20:40:39 UTC, qznc wrote:
LDC is explicitly mentioned in the LLVM 3.3 Release Notes [0]. 
In contrast
to other frontends, LDC seems to follow upstream much more 
closely (or

maybe is forced to due to bugs?).

Anyhow, kudos to David Nadlinger and whoever else was involved!


Kai Nacke is actually the one who has been doing most of the work 
to keep LDC compiling against latest LLVM trunk (and by 
extension, also the releases). But yes, being able to build 
against latest LLVM was pretty much a necessity for us this time 
around, as Kai did quite a lot of work to improve support for 
Win64 and PPC64 on the LLVM recently, and LDC/MinGW also relies 
on a few tiny patches I submitted a while ago.


David


Re: DMagick image processing with D.

2013-06-19 Thread fgimage

it is a great project, i know it is kind of looking like an a
href=http://www.rasteredge.com/how-to/vb-net-imaging/imaging-processing/;image
processing tool vb/a for user. the interface looks cool. keep
up with the work.