Re: LDC 1.9.0 beta

2018-04-26 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce

On 04/26/2018 03:11 AM, Joakim wrote:


I don't know how those links are relevant. Yes, some projects are 
supporting WebAssembly, but that doesn't mean the web hasn't been 
declining, so this port likely isn't worth the effort.


Nobody is stopping anyone from doing the port though: ldc has some 
support for even more niche platforms like linux/PowerPC, simply because 
Kai wanted to do it. I'm just warning people who haven't seen those 
linked numbers that it likely isn't worth it.


Not disagreeing at all, and not trying to twist anyone's arm, but 
speaking purely personally, I'd love to see WebAsm/Asm.js support 
(FWLIW). I'm converting an old Flash-based thing to Unity3D/WebGL right 
now (still web-based due to factors beyond my control), and (for various 
reasons) I'd love to sometime build a nice 2D engine in D and use it to 
move this project to D. Unfortunately, I've checked into GCC and LLVM 
docs before and GCC/LLVM hacking seems to be beyond me.


I'm not making any particular point there. Just chatting, fwiw.


Re: Pre-DConf Meetup on May 1

2018-04-26 Thread Nicholas Wilson via Digitalmars-d-announce

On Wednesday, 25 April 2018 at 15:00:18 UTC, SimonN wrote:

On Wednesday, 25 April 2018 at 14:13:55 UTC, Seb wrote:
Our next D Munich Meetup will coincide with DConf to give our 
For those of you who stay at the hotel, we will be at the NH 
München Messe hotel at 18:00 and lead you towards the venue.


Awesome, I'll attend! I'm posting here for lack of a meetup 
account.


-- Simon


Ditto, look forward to seeing you all there!

 Nic


Re: Pre-DConf Meetup on May 1

2018-04-26 Thread Guillaume Piolat via Digitalmars-d-announce

On Wednesday, 25 April 2018 at 14:13:55 UTC, Seb wrote:

Hi all,

I hope you are all looking forward to DConf.

We (Stefan, Dragos and I) have very good news for you.
Our next D Munich Meetup will coincide with DConf to give our 
local community who can't join DConf an opportunity to meetup 
all the rockstars from the D community.




I'll be there!


Re: The dlang-community releases DCD 0.9.3 and D-Scanner 0.5.2

2018-04-26 Thread wangwei via Digitalmars-d-announce

On Wednesday, 25 April 2018 at 09:45:56 UTC, WebFreak001 wrote:

On Wednesday, 25 April 2018 at 03:59:12 UTC, wangwei wrote:

On Monday, 23 April 2018 at 17:26:49 UTC, Seb wrote:

[...]


I use the dmd portable version and vscode with code-d, the dcd 
just failed (d.ext.dcdFail) no matter dcd is installed 
automatically by code-d or by (source + dub), I definitely 
need the binary release. Dscanner works great.


Once I have used Emacs + company-dcd in Linux, it works well 
although it doesn't look pretty :)


Buying a laptop with intel + nvidia (optimus) is a huge pain 
in installing linux on it.


huh but DCD comes with a prebuilt binary for windows with 
code-d and I have never seen it fail on linux


! Thanks for your work, other things works wonderfully 
(especially great syntax highlight).


I haven't used vscode + core-d in Linux, but the windows version 
does fail in my computer. It may be due to lack of some stuff on 
my computer (Use the portable dmd, I didn't install visual 
studio, maybe I need?).


I just begin to use a static language and pick dlang over rust 
and kotlin, since a lot of scientific computation code is in the 
form of c/cpp, learning dlang will also help me with that.


Re: LDC 1.9.0 beta

2018-04-26 Thread Jacob Carlborg via Digitalmars-d-announce

On Wednesday, 25 April 2018 at 13:36:50 UTC, Rel wrote:

This is nice to hear, but just to make it clear, what steps do 
I need to take to for example build a Mac OSX binary on Windows 
or Linux? Can I just download libs from prebuilt LDC for Mac 
OSX, put them somewhere in my current LDC installation and it 
will work?


In theory yes, in practice unfortunately no, see [1]. You would 
also need the macOS SDK. In short, the LLD linker does not 
support some magic linker symbols that LDC is dependent on.


I've created a Dockerfile that uses LDC to cross-compile 
targeting macOS. It does not use the LLD linker. Note, the base 
Docker image pulls the macOS SDK from a Dropbox account. I've 
compiled this [3] repositories using that image.


I'm also waiting so much for LDC to be independent of MS Visual 
Studio libs, and ship MinGW libs with the installation or 
something. I thought you had some troubles getting LLVM to work 
with MinGW libs, is it still true?


Apparently the MinGW libraries are too old. LDC requires the 
libraries from Visual Studio 2015 (I think) or later.


[1] https://github.com/ldc-developers/ldc/issues/2662
[2] 
https://github.com/jacob-carlborg/docker-ldc-darwin/blob/master/Dockerfile

[3] https://github.com/jacob-carlborg/d_webkit_test

--
/Jacob Carlborg


Re: LDC 1.9.0 beta

2018-04-26 Thread Joakim via Digitalmars-d-announce

On Thursday, 26 April 2018 at 05:34:51 UTC, meppl wrote:

On Tuesday, 24 April 2018 at 15:53:23 UTC, Joakim wrote:

On Monday, 23 April 2018 at 09:18:07 UTC, Suliman wrote:
What about Webassembly support? Latest LLVM suppport it, so 
LDC should support also.


We don't support a lot of platforms that llvm supports. It 
will require someone to work on the port, which hasn't 
happened. I've said before that I don't think it's worth it, 
because the web has been declining as a platform:


https://forum.dlang.org/post/unqvdzopebfksnxwh...@forum.dlang.org



I stumbled over this:
http://blog.qt.io/blog/2018/04/23/beta-qt-webassembly-technology-preview/
https://sdtimes.com/webdev/mozillas-webassembly-studio-enters-beta/

I dont want to argue, just throwing that in ;)


I don't know how those links are relevant. Yes, some projects are 
supporting WebAssembly, but that doesn't mean the web hasn't been 
declining, so this port likely isn't worth the effort.


Nobody is stopping anyone from doing the port though: ldc has 
some support for even more niche platforms like linux/PowerPC, 
simply because Kai wanted to do it. I'm just warning people who 
haven't seen those linked numbers that it likely isn't worth it.