Re: Moving forward with work on the D language and foundation
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. [...] Respect. Joseph
Re: Release D 2.068.0
On Monday, 10 August 2015 at 08:48:52 UTC, Martin Nowak wrote: Glad to announce D 2.068.0. http://downloads.dlang.org/releases/2.x/2.068.0/ This release comes with many rangified phobos functions, 2 new GC profilers, a new AA implementation, and countless further improvements and fixes. See the changelog for more details. http://dlang.org/changelog.html#2.068.0 -Martin Nice work. Thanks for the release. Joseph
Re: Beta D 2.068.0-b2
On Sunday, 2 August 2015 at 09:20:44 UTC, Rainer Schuetze wrote: On 31.07.2015 02:41, Joseph Cassman wrote: [...] I just updated my VS2015 installation and can confirm the error message regarding libucrt.lib. I found the library in the folder "c:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64". You can add it to the library search paths in "Tools->Options->Projects and Solutions->Visual D->DMD Directories->x64". Unfortunately, that does not help a lot because Microsoft changed their C runtime quite a bit to make it more compliant to C99. This causes unresolved symbols when linking phobos. Very cool. That change to the C runtime also explains some of the errors I was getting. Thanks for the explanation. Joseph
Re: Beta D 2.068.0-b2
On Thursday, 30 July 2015 at 00:59:16 UTC, Joseph Cassman wrote: On Wednesday, 29 July 2015 at 07:16:39 UTC, Martin Nowak wrote: [...] Martin, appreciate the help with this issue. I have investigated further and it looks like there is a work-around (item [3] below). Here is a synopsis of what I have found through testing. [...] Updated the wiki page on DMD with what I was able to get working. http://wiki.dlang.org/Installing_DMD Joseph
Re: Beta D 2.068.0-b2
On Thursday, 30 July 2015 at 18:34:28 UTC, Rainer Schuetze wrote: On 30.07.2015 11:23, Sönke Ludwig wrote: Am 30.07.2015 um 09:49 schrieb Sönke Ludwig: Am 30.07.2015 um 02:59 schrieb Joseph Cassman: 4) The VS 2015 Community 2015 installation [2] also includes a complete build system. However, the DMD Windows installer does not recognize it and fails to update the sc.ini file accordingly. I will file a bug report shortly with details. I think you have an old version of VisualD, perhaps the 0.3.38 from [1]? That just happened to me yesterday, because that page is the number one Google result and the out-of-date note is quite small. I think the dsource project should just be removed, or replaced by nothing than a single link to the new homepage [2]. [1]: http://www.dsource.org/projects/visuald [2]: http://rainers.github.io/visuald/visuald/StartPage.html Hm, I just installed VisualD on a freshly installed machine and there I get an error "libucrt.lib not found", so I probably just had some files left over from previous VS versions or SDKs. Are you sure it is libucrt.lib? I've never seen a library with this name (I only have a prerelease of VS2015 installed, though). Not sure if it ties in with DMD or not but a libucrt.lib missing error was one of the several errors I got when trying to use VS2015 with DMD + Win64. I do not get the error with VS2013u5 (the file exists with both installations but is only recognized for the later for some reason). Posting in case it helps isolate the issue for VisualD as well. Joseph
Re: Beta D 2.068.0-b2
On Thursday, 30 July 2015 at 08:13:35 UTC, Martin Nowak wrote: On Thursday, 30 July 2015 at 00:59:16 UTC, Joseph Cassman wrote: 4) The VS 2015 Community 2015 installation [2] also includes a complete build system. However, the DMD Windows installer does not recognize it and fails to update the sc.ini file accordingly. I will file a bug report shortly with details. https://issues.dlang.org/show_bug.cgi?id=14849 Nice, thanks for posting the issue. Added the sc.ini files resulting from installation test runs. Joseph
Re: Beta D 2.068.0-b2
On Wednesday, 29 July 2015 at 18:13:22 UTC, Kagamin wrote: On Wednesday, 29 July 2015 at 15:45:19 UTC, Taylor Hillegeist wrote: I guess what I mean to say is that they did it, maybe it can be done. Of course it can be done with an additional license agreement with microsoft. Of course VS Shell is still way more than is necessary for our purposes. I believe VS shell is redistributable, because it was made exactly for that. Yeah, if the linker (and other relevant files) for Win64 could be licensed from MS so they could be packaged with the DMD installer that would be a sweet deal. I know D is in bootstrap mode right now but this could be one of the things that helps get it to the necessary polished phase that helps get the acceptance past the 10,000 mark. It takes a standard half-day or so to install Visual Studio. So any way to make setting up a Win64 environment faster is much appreciated. And I would feel necessary to get wide acceptance. Joseph
Re: Beta D 2.068.0-b2
On Wednesday, 29 July 2015 at 07:16:39 UTC, Martin Nowak wrote: On Wednesday, 29 July 2015 at 07:10:13 UTC, Martin Nowak wrote: You're not allowed to redistribute the VS binaries, only the libc dlls. On Win32 we use our own libc (dmc) and linker (optlink). We could improve our installer so it can optionally start the VS compiler installation. https://issues.dlang.org/show_bug.cgi?id=14847 Martin, appreciate the help with this issue. I have investigated further and it looks like there is a work-around (item [3] below). Here is a synopsis of what I have found through testing. 1) Windows 7 SDK will not install completely now that I have .NET 4.5.1 installed (it requires version 4). It incorrectly considers the newer runtime as not as up-to-date. 2) Windows 8.1 SDK does not include a console build system (c.f. [1]). Thanks for pointing that out in your previous post. That page coincides with what I found in my testing. 3) The VS Community 2013 with Update 5 installation [2] includes a complete build system that works with the DMD Windows installer (tested with version 2.068.0-b2). This is what should be used with DMD now since it is free and works with the current .NET runtime. 4) The VS 2015 Community 2015 installation [2] also includes a complete build system. However, the DMD Windows installer does not recognize it and fails to update the sc.ini file accordingly. I will file a bug report shortly with details. It is taking a while to do all of the un/installs to get a relevant test environment. So I thought I would make this post about what I have found. Thought it might help with your trying to get the 068 release out the door. After I have finished my testing I will update the DMD Win64 wiki page with what is currently working. Thanks again for the help. Joseph [1] https://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx [2] https://www.visualstudio.com/en-us/downloads#d-community
Re: Beta D 2.068.0-b2
On Tuesday, 28 July 2015 at 09:43:00 UTC, Martin Nowak wrote: On Monday, 27 July 2015 at 18:58:33 UTC, Joseph Cassman wrote: I just wasted a lot of time again trying to get Win64 set up on a machine I had to wipe. I had it working for 2.067.1 somehow but was never able to duplicate that on other machines I have. The information at [1] is outdated. Neither the Windows 7 nor 8.1 SDK install a linker for me now for some reason. I had to install VS 2015 to get a 64-bit linker. This fixed the linker not found post installation issue. But then I got a LIBCMT.lib not found issue. I copied it and other library files to the D installation lib64 subdirectory (I couldn't figure out what to modify in the sc.ini file; tried various modifications). Now I am getting a cryptic LNK4229 error that makes no sense to me. At this point I quit. Depending on Microsoft's libc and linker for 64-bit is an unfortunate dependency and can cause some hassle. An alternative would be appreciated, but I'm not aware of any. There is some code in the installer, that detects your SDK, but if you installed it after dmd it won't work. Isn't there some feedback about SDKs during installation? There is probably an obvious reason this is not possible but I could not see it when reading through the MS licensing information. It seems to me the linker bin could be redistributed. Why is it (and the other required lib/dll files) not bundled with the Windows installer to make it one-stop-shopping? Seems like this is what is done with Win32. Joseph
Re: Beta D 2.068.0-b2
On Tuesday, 28 July 2015 at 09:30:38 UTC, Martin Nowak wrote: On Monday, 27 July 2015 at 18:58:33 UTC, Joseph Cassman wrote: Sorry for the following rant but I am frustrated by the poor quality of support for Windows 64 development. Try http://rainers.github.io/visuald/visuald/StartPage.html. By way of comparison, I can download other languages and run their installer. After that everything just works: linker included. Why do I have to install a MS toolchain just to get 64-bit linking for DMD? What languages and what linkers are they using? I like D a lot. I have been using it for a while. But I have always had trouble with Win64 development. I need that platform for my work. But I will have to dev on Linux again just for 64-bit support. And hope that this can finally get fixed. Although I am real close to just walking away on this one. Thanks for the pointer. I took a look. I could be wrong but it seems it is geared toward using D in VS. This is a little different than my use-case. I use D with a text editor and the console. So I am just looking for a 64-bit linker. I was forced to install VS to get one since for some reason the 7A and 8.1 Windows SDK's did not install a complete 64-bit toolchain for me. Yeah, I used the Windows D installer after the toolchain was in-place. So I figured the sc.ini should have been automatically set. Your next post is more to the point of what I am trying to do. I'll try out a redux on the path I took to install to give more clarity. It'll take a while since I have to uninstall VS2015. Appreciate the feedback. Joseph
Re: Beta D 2.068.0-b2
On Tuesday, 28 July 2015 at 09:10:43 UTC, Martin Nowak wrote: On Monday, 27 July 2015 at 17:12:49 UTC, Joseph Cassman wrote: I can understand that. But releases tend to be several months away. And not just two. So this is a bit frustrating. We're trying to get to a 2 month interval, and delaying work that doesn't meet the deadlines is necessary to achieve this. I hope that with a more regular interval people will be more aware of the next release and plan their work accordingly. That would be awesome. Thanks for your work toward that goal. Joseph
Re: Beta D 2.068.0-b2
On Monday, 27 July 2015 at 20:43:38 UTC, jmh530 wrote: On Monday, 27 July 2015 at 18:58:33 UTC, Joseph Cassman wrote: Sorry for the following rant but I am frustrated by the poor quality of support for Windows 64 development. I understand that frustration. I had some modest problems getting it to work with -m64 on my home computer. However, I had bigger problems getting Visual D to work. Eclipse wouldn't work with the Java installed on my work computer. Coedit wouldn't install on my work computer either (I'm not sure how much this is Coedit's fault though, works fine at home). I think at home I'm just going to virtualize a Linux session. I can dual-boot the machine, but I always find it a hassle if I'm in the middle of doing something in Windows and want to play around with D. Yeah, pretty much the unfortunate conclusion I came to as well. Joseph
Re: Beta D 2.068.0-b2
On Saturday, 25 July 2015 at 12:21:19 UTC, Martin Nowak wrote: Second beta for the 2.068.0 release. http://downloads.dlang.org/pre-releases/2.x/2.068.0/ http://ftp.digitalmars.com/ Also available on Travis-CI as dmd-2.068.0-b2. The changelog (http://dlang.org/changelog.html#2.068.0) contains a list of all fixed issues that will be included in 2.068.0. A description of library and language changes is still upcoming. This beta comes with 27 dmd, 2 druntime, and 4 phobos fixes. https://github.com/D-Programming-Language/dmd/compare/v2.068.0-b1...v2.068.0-b2 https://github.com/D-Programming-Language/druntime/compare/v2.068.0-b1...v2.068.0-b2 https://github.com/D-Programming-Language/phobos/compare/v2.068.0-b1...v2.068.0-b2 Please report any bugs at https://issues.dlang.org. -Martin Sorry for the following rant but I am frustrated by the poor quality of support for Windows 64 development. Will the change over to DDMD finally make Win64 a fully supported platform? And will I finally be able to build the most recent code snapshot without having to get a Win64 build toolchain setup (Win64 is not really supported for DMD development: [2])? I just wasted a lot of time again trying to get Win64 set up on a machine I had to wipe. I had it working for 2.067.1 somehow but was never able to duplicate that on other machines I have. The information at [1] is outdated. Neither the Windows 7 nor 8.1 SDK install a linker for me now for some reason. I had to install VS 2015 to get a 64-bit linker. This fixed the linker not found post installation issue. But then I got a LIBCMT.lib not found issue. I copied it and other library files to the D installation lib64 subdirectory (I couldn't figure out what to modify in the sc.ini file; tried various modifications). Now I am getting a cryptic LNK4229 error that makes no sense to me. At this point I quit. I shouldn't have to modify the sc.ini file at all to get any of this working. This is after using the Windows installer and when I use the -m64 compilation switch. By way of comparison, I can download other languages and run their installer. After that everything just works: linker included. Why do I have to install a MS toolchain just to get 64-bit linking for DMD? I like D a lot. I have been using it for a while. But I have always had trouble with Win64 development. I need that platform for my work. But I will have to dev on Linux again just for 64-bit support. And hope that this can finally get fixed. Although I am real close to just walking away on this one. Hope this can be fixed. Thanks Joseph [1] http://wiki.dlang.org/Installing_DMD_on_64-bit_Windows_7_(COFF-compatible) [2] http://wiki.dlang.org/Building_DMD -- Windows - step by step
Re: Beta D 2.068.0-b2
On Monday, 27 July 2015 at 09:04:08 UTC, Martin Nowak wrote: On 07/26/2015 11:13 PM, anonymous wrote: Is std.expermimental.allocator planned for 2.068 ? I see it's still not merged and we already almost in August. We're trying hard here to meet some deadlines, so things are really simple. If something is ready (reviewed, tested, documented, and merged into stable) it'll end up in a release, otherwise it'll end up in the next release (only 2 month later). We can't postpone indefinitely just b/c every other person is trying to push through their particular interests. I can understand that. But releases tend to be several months away. And not just two. So this is a bit frustrating. Joseph
Re: Beta D 2.068.0-b2
On Monday, 27 July 2015 at 03:18:13 UTC, Joseph Cassman wrote: [...] How did the review finish, BTW? Still waiting on its summary. Unless I missed it. Looks like the review summary was just posted. Thanks for the update. Joseph
Re: Beta D 2.068.0-b2
On Sunday, 26 July 2015 at 23:07:15 UTC, Brian Schott wrote: On Sunday, 26 July 2015 at 21:13:07 UTC, anonymous wrote: On Saturday, 25 July 2015 at 12:21:19 UTC, Martin Nowak wrote: Second beta for the 2.068.0 release. Is std.expermimental.allocator planned for 2.068 ? I see it's still not merged and we already almost in August. That makes me disappointed. I spent many hours reviewing and debugging that package. I have several projects that depend on it and I'd rather not maintain my own copy any more. Please merge allocators. How did the review finish, BTW? Still waiting on its summary. Unless I missed it. Thanks for the work on getting this included in 2.068. Joseph
Re: Voting for std.experimental.allocator
On Wednesday, 8 July 2015 at 11:33:03 UTC, Dicebot wrote: Andrei is back online and thus it is time to make a decision about adding his allocator package (http://forum.dlang.org/post/vfipmwojmvseqxoiw...@forum.dlang.org) to Phobos std.experimental [...] Yes
Re: This Week in D, issue 1
On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome! http://arsdnet.net/this-week-in-d/jan-12.html In the future, I intend to have it written by Saturday for a weekend release, so if you want something to appear this week, please try to get it to by before then. Nice stuff. Definitely going into my feed reader. This really helps to keep track of what's going on. Especially since I don't have time to parse the forum posts. Thanks Joseph
Re: Livestreaming DConf?
On Saturday, 10 May 2014 at 06:27:06 UTC, Andrei Alexandrescu wrote: On 5/9/14, 5:28 PM, Kapps wrote: This would be cool, but I'd hope that it doesn't replace having videos posted to be viewable afterwards. Recording the talks is already a done deal. -- Andrei Awesomeness! Joseph
Re: Livestreaming DConf?
On Friday, 9 May 2014 at 19:48:20 UTC, Andrei Alexandrescu wrote: Hi folks, We at Facebook are very excited about the upcoming DConf 2014. In fact, so excited we're considering livestreaming the event for the benefit of the many of us who can't make it to Menlo Park, CA. Livestreaming entails additional costs so we're trying to assess the size of the online audience. Please follow up here and on twitter: https://twitter.com/D_Programming/status/464854296001933312 Thanks, Andrei I'll definitely watch as much as I can. But my schedule might not permit watching all of it. If at least the keynotes could be live-streamed I would be sure to watch those. Posting any videos later like last year would be a huge plus. Thanks for considering. Joseph