On Thursday, 30 November 2017 at 10:53:02 UTC, Jacob Carlborg
wrote:
Done: https://github.com/jacob-carlborg/dvm#limitations
That's great, thanks!
On 2017-11-29 22:16, Manuel Maier wrote:
That's the one nice thing about the dmd installer, it takes care of
setting up the default environment for you if it detects Visual Studio
to be installed.
At one point DVM did modify the sc.ini/dmd.conf but for different
reasons. But it turned out to
On 2017-11-29 21:44, Manuel Maier wrote:
Thanks for pointing this out! Maybe it would be worthwhile to add some
kind of "FAQ" or "Troubleshooting" section to the GitHub README of dvm.
Done: https://github.com/jacob-carlborg/dvm#limitations
--
/Jacob Carlborg
On Wednesday, 29 November 2017 at 16:04:04 UTC, Jacob Carlborg
wrote:
On 2017-11-28 20:04, Manuel Maier wrote:
Another thing I don't think it does is patching the sc.ini
with Visual Studio environment variables, like the dmd
installer does.
No, it basically only extracts the downloaded archiv
On Wednesday, 29 November 2017 at 01:49:00 UTC, rjframe wrote:
dvm works well with cmd; not so much with Powershell.
Indeed, I was using powershell! Using cmd now and suddenly it all
works.
In Powershell, the current directory and working directory are
separate; `cd` outside your home folde
On 2017-11-28 20:04, Manuel Maier wrote:
I didn't know about that tool yet, but I like the idea! However, when I
played around with it just now, I ran into the "Cannot find
dmd-2.0.x.x.bat file" issue [1]. And yes, I misread the installation
instructions (thought it said "run install dmd"). T
On Tue, 28 Nov 2017 19:04:06 +, Manuel Maier wrote:
> I didn't know about that tool yet, but I like the idea! However, when I
> played around with it just now, I ran into the "Cannot find
> dmd-2.0.x.x.bat file" issue [1]. And yes, I misread the installation
> instructions (thought it said "ru
On Tuesday, 28 November 2017 at 17:25:35 UTC, Jacob Carlborg
wrote:
On 2017-11-28 10:09, Atila Neves wrote:
Thanks for the work. And ugh about the installer requiring
user intervention, I was literally just about to write a
script to install dmd on a Windows dev box, remembered I saw
somethin
On 2017-11-28 10:09, Atila Neves wrote:
Thanks for the work. And ugh about the installer requiring user
intervention, I was literally just about to write a script to install
dmd on a Windows dev box, remembered I saw something about chocolatey in
the NG, and came here to read. Not happy with t
On Saturday, 25 November 2017 at 23:38:06 UTC, Manuel Maier wrote:
As some of you may know, there is a dmd package on the
chocolatey community feed: https://chocolatey.org/packages/dmd
[...]
Thanks for the work. And ugh about the installer requiring user
intervention, I was literally just ab
As some of you may know, there is a dmd package on the chocolatey
community feed: https://chocolatey.org/packages/dmd
This makes it as easy as saying...
choco install dmd
... to get dmd on ones machine (once chocolatey is up and
running). Unfortunately, this package is well behind the actual
On Saturday, 14 November 2015 at 00:37:51 UTC, Manu wrote:
In the meantime, there probably needs to be strong warnings
about violating attributes, and if patterns have emerged that
rely on violating such attributes, we should publish a
recommended alternative.
One pattern that comes to mind i
On Friday, 13 November 2015 at 19:59:51 UTC, Ali Çehreli wrote:
On 11/12/2015 11:50 AM, Ali Çehreli wrote:
I would love to be convinced. :) Can someone come up with a
reduced
example please?
On 11/12/2015 03:59 AM, Daniel Kozak wrote:
> for (i=0; i < 100; ++i) {
> fmttable
On 13 November 2015 at 08:38, Iain Buclaw via Digitalmars-d
wrote:
> On 12 Nov 2015 10:25 pm, "David Nadlinger via Digitalmars-d"
> wrote:
>>
>> On Thursday, 12 November 2015 at 21:16:25 UTC, Walter Bright wrote:
>>>
>>> It's more than that - dmd's optimizer is designed to make use of the
>>> gua
On Thursday, 12 November 2015 at 21:24:30 UTC, David Nadlinger
wrote:
On Thursday, 12 November 2015 at 21:16:25 UTC, Walter Bright
wrote:
[...]
Oh, GCC has had similar notions as a non-standard attribute for
ages, and LLVM since its inception.
At least for LDC, the reason why we do not curr
On 11/12/2015 11:50 AM, Ali Çehreli wrote:
I would love to be convinced. :) Can someone come up with a reduced
example please?
On 11/12/2015 03:59 AM, Daniel Kozak wrote:
> for (i=0; i < 100; ++i) {
> fmttable(table);
> }
I think what we are seeing here is more due to
On Thursday, 12 November 2015 at 21:16:25 UTC, Walter Bright
wrote:
On 11/12/2015 6:44 AM, John Colvin wrote:
dmd is being clever and spotting that fmttable is pure, it
would be good if
ldc/gdc could spot this to.
It's more than that - dmd's optimizer is designed to make use
of the guarantee
On 12 Nov 2015 10:25 pm, "David Nadlinger via Digitalmars-d" <
digitalmars-d@puremagic.com> wrote:
>
> On Thursday, 12 November 2015 at 21:16:25 UTC, Walter Bright wrote:
>>
>> It's more than that - dmd's optimizer is designed to make use of the
guarantees of a pure function. Since C/C++ do not hav
On Thursday, 12 November 2015 at 21:16:25 UTC, Walter Bright
wrote:
It's more than that - dmd's optimizer is designed to make use
of the guarantees of a pure function. Since C/C++ do not have
pure functions, ldc/gdc's optimizer may not have that
capability.
Oh, GCC has had similar notions as
On 11/12/2015 6:44 AM, John Colvin wrote:
dmd is being clever and spotting that fmttable is pure, it would be good if
ldc/gdc could spot this to.
It's more than that - dmd's optimizer is designed to make use of the guarantees
of a pure function. Since C/C++ do not have pure functions, ldc/gdc'
I would love to be convinced. :) Can someone come up with a reduced
example please?
On 11/12/2015 03:59 AM, Daniel Kozak wrote:
> for (i=0; i < 100; ++i) {
> fmttable(table);
> }
I think what we are seeing here is more due to the unused side-effect in
the loop, where co
On Thursday, 12 November 2015 at 19:11:25 UTC, tired_eyes wrote:
On Thursday, 12 November 2015 at 14:44:49 UTC, John Colvin
wrote:
To test the speed of fmttable itself I split fmttable and main
in to different modules, made fmttable extern(C) so I could
just prototype it in the main module (n
On Thursday, 12 November 2015 at 14:44:49 UTC, John Colvin wrote:
To test the speed of fmttable itself I split fmttable and main
in to different modules, made fmttable extern(C) so I could
just prototype it in the main module (no import), then compiled
them separately before linking. This sho
On 11/12/15 13:22, Daniel Kozak via Digitalmars-d wrote:
>>> timings:
>>> > >
>>> > > DMD (-O -release -inline -boundscheck=off):
>>> > > real0m0.003s
>>> > > user0m0.000s
>>> > > sys 0m0.000s
>>> > >
>>> > > LDMD2-ldc2 (-O -release -inline -boundscheck=off):
>>> > > real0m1.071s
>>
On Thursday, 12 November 2015 at 14:44:49 UTC, John Colvin wrote:
dmd is being clever and spotting that fmttable is pure, it
would be good if ldc/gdc could spot this to.
I don't recall seeing anything in the 2.069.0 change log about
improved attribute inference for auto functions. If you can
On Thursday, 12 November 2015 at 11:59:50 UTC, Daniel Kozak wrote:
code:
import std.stdio;
auto fmttable(immutable(string[][]) table) {
import std.array : appender, uninitializedArray;
import std.range : take, repeat;
import std.exception : assumeUnique;
auto res = appender(un
V Thu, 12 Nov 2015 12:38:47 +
John Colvin via Digitalmars-d napsáno:
> On Thursday, 12 November 2015 at 12:23:11 UTC, Daniel Kozak wrote:
> > V Thu, 12 Nov 2015 12:10:30 +
> > John Colvin via Digitalmars-d
> > napsáno:
> >
> >> On Thursday, 12 November 2015 at 11:59:50 UTC, Daniel Koz
V Thu, 12 Nov 2015 13:37:28 +0100
Iain Buclaw via Digitalmars-d napsáno:
> On 12 November 2015 at 12:59, Daniel Kozak via Digitalmars-d <
> digitalmars-d@puremagic.com> wrote:
>
> > code:
> >
> >
>
>
>
> >
> > GDC (-O3 -finline -frelease -fno-bounds-check):
> > real0m0.724s
> > user0m
On Thursday, 12 November 2015 at 12:23:11 UTC, Daniel Kozak wrote:
V Thu, 12 Nov 2015 12:10:30 +
John Colvin via Digitalmars-d
napsáno:
On Thursday, 12 November 2015 at 11:59:50 UTC, Daniel Kozak
wrote:
> [...]
What versions of these compilers? I suspect the majority
(maybe 80%-ish) o
On 12 November 2015 at 12:59, Daniel Kozak via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> code:
>
>
>
> GDC (-O3 -finline -frelease -fno-bounds-check):
> real0m0.724s
> user0m0.720s
> sys 0m0.003s
>
>
Not to be pedantic, but -finline does nothing (what you really want is
V Thu, 12 Nov 2015 12:10:30 +
John Colvin via Digitalmars-d napsáno:
> On Thursday, 12 November 2015 at 11:59:50 UTC, Daniel Kozak wrote:
> > code:
> >
> > import std.stdio;
> >
> > auto fmttable(immutable(string[][]) table) {
> >
> > import std.array : appender, uninitializedArray;
> >
On Thursday, 12 November 2015 at 11:59:50 UTC, Daniel Kozak wrote:
code:
import std.stdio;
auto fmttable(immutable(string[][]) table) {
import std.array : appender, uninitializedArray;
import std.range : take, repeat;
import std.exception : assumeUnique;
auto res = appender(un
code:
import std.stdio;
auto fmttable(immutable(string[][]) table) {
import std.array : appender, uninitializedArray;
import std.range : take, repeat;
import std.exception : assumeUnique;
auto res = appender(uninitializedArray!(char[])(128));
res.clear();
if (table.len
On 06/08/2011 12:02, Marco Leise wrote:
Am 06.08.2011, 11:16 Uhr, schrieb Jacob Carlborg :
On 2011-08-05 11:53, Marco Leise wrote:
I have noticed DVM around.
The situation on Gentoo is typically that when there are different
versions of the same package, that can be installed in different
'slo
Am 06.08.2011, 11:16 Uhr, schrieb Jacob Carlborg :
On 2011-08-05 11:53, Marco Leise wrote:
I have noticed DVM around.
The situation on Gentoo is typically that when there are different
versions of the same package, that can be installed in different
'slots'. A dependency of these packages is a
On 2011-08-05 11:53, Marco Leise wrote:
I have noticed DVM around.
The situation on Gentoo is typically that when there are different
versions of the same package, that can be installed in different
'slots'. A dependency of these packages is a control file for eselect, a
tool to switch between th
Am 05.08.2011, 08:35 Uhr, schrieb Jacob Carlborg :
On 2011-08-04 22:37, Marco Leise wrote:
Am 04.08.2011, 19:34 Uhr, schrieb Jonathan M Davis
:
By the way... the druntime and phobos patches for LDC - are they
applicable to GDC and DMD as well? I'm asking because I could imagine
installing d
Am 04.08.2011, 23:14 Uhr, schrieb Jonathan M Davis :
Am 04.08.2011, 19:34 Uhr, schrieb Jonathan M Davis
:
>> By the way... the druntime and phobos patches for LDC - are they
>> applicable to GDC and DMD as well? I'm asking because I could imagine
>> installing druntime, phobos, DMD, GDC and LD
On 2011-08-04 22:37, Marco Leise wrote:
Am 04.08.2011, 19:34 Uhr, schrieb Jonathan M Davis :
By the way... the druntime and phobos patches for LDC - are they
applicable to GDC and DMD as well? I'm asking because I could imagine
installing druntime, phobos, DMD, GDC and LDC and all three compile
David Nadlinger Wrote:
> On 8/4/11 8:18 PM, Christian Kamm wrote:
> > So I don't think clang can do exceptions on Windows.
>
> The last time I checked, x86_64 SEH support (not for 32 bit) was in the
> works by some clang guy, but I didn't have a closer look at the changes.
>
> David
http://lis
On Thu, Aug 4, 2011 at 9:09 AM, Alex Rønne Petersen wrote:
> On 04-08-2011 15:43, Adam Ruppe wrote:
>
>> LDC and GDC are both alive and pretty well up to date with D2. They
>> have some advantages that make them favored to some people.
>>
>> But, they are kinda h
> Am 04.08.2011, 19:34 Uhr, schrieb Jonathan M Davis :
> >> By the way... the druntime and phobos patches for LDC - are they
> >> applicable to GDC and DMD as well? I'm asking because I could imagine
> >> installing druntime, phobos, DMD, GDC and LDC and all three compilers
> >> would use the same
Am 04.08.2011, 19:34 Uhr, schrieb Jonathan M Davis :
By the way... the druntime and phobos patches for LDC - are they
applicable to GDC and DMD as well? I'm asking because I could imagine
installing druntime, phobos, DMD, GDC and LDC and all three compilers
would use the same installation of the
On 8/4/11 8:18 PM, Christian Kamm wrote:
So I don't think clang can do exceptions on Windows.
The last time I checked, x86_64 SEH support (not for 32 bit) was in the
works by some clang guy, but I didn't have a closer look at the changes.
David
Christian Kamm:
> So I don't think clang can do exceptions on Windows.
The LLVM 3.0 changelog (that's not finished yet) says "LLVM 3.0 will be the
last release of llvm-gcc.". So I presume to compile C++ code on Windows with
LLVM you will only be able to use dragonegg (I am not sure dragonegg su
Kagamin wrote:
> Last I checked LDC stood for "Linux D compiler". It was due to some
> complications with exceptions in llvm on windows, but I'm almost sure
> clang does it.
I've wondered about that for a while and just checked it:
Running the clang 2.9 Mingw32 binaries through wine on a simple ex
> By the way... the druntime and phobos patches for LDC - are they
> applicable to GDC and DMD as well? I'm asking because I could imagine
> installing druntime, phobos, DMD, GDC and LDC and all three compilers
> would use the same installation of the standard library.
They _can't_ all use the sam
Adam Ruppe Wrote:
> Are there binary packages available for their D2 builds, complete
> with phobos and druntime, for both Windows and Linux?
Last I checked LDC stood for "Linux D compiler". It was due to some
complications with exceptions in llvm on windows, but I'm almost sure clang
does it.
By the way... the druntime and phobos patches for LDC - are they
applicable to GDC and DMD as well? I'm asking because I could imagine
installing druntime, phobos, DMD, GDC and LDC and all three compilers
would use the same installation of the standard library.
Trass3r wrote:
> phobos is automatically compiled as part of the build process (and
> installed as well).
For whatever reason, it didn't work on my box :S
I don't know... the gdc itself wasn't so bad (aside from taking forever,
just waiting on tar zxf for gcc was a huge huge wait) but the
Make sure you only download the gcc-core package to avoid all the other
frontends.
instructions didn't even mention the runtime and phobos. I had some
weird
Trass3r wrote:
> GDC packages are available for Windoze thx to Daniel Green
Fantastic! Can we get them linked on the main site's download page?
> Compiling it on Linux is really straightforward, just follow the build
> instructions.
I don't know... the gdc itself wasn't so bad (aside from taking
Am 04.08.2011, 16:17 Uhr, schrieb Trass3r :
Compiling GDC on Linux is really straightforward, just follow the build
instructions. Don't know if there's a need for prebuilt packages.
Also I guess most people would expect a proper Linux package like a PPA
for Ubuntu with automatic updates
rat
Are there binary packages available for their D2 builds, complete
with phobos and druntime, for both Windows and Linux? I'd really like
to see binary zips of them comparable to dmd in ease of use.
GDC packages are available for Windoze thx to Daniel Green (and that's
really helpful, compiling
On 04-08-2011 15:43, Adam Ruppe wrote:
LDC and GDC are both alive and pretty well up to date with D2. They
have some advantages that make them favored to some people.
But, they are kinda hard to find and get to a point where you can use
them. dmd is trivially easy to "install" and use
LDC and GDC are both alive and pretty well up to date with D2. They
have some advantages that make them favored to some people.
But, they are kinda hard to find and get to a point where you can use
them. dmd is trivially easy to "install" and use. You just download it
and run, and it
56 matches
Mail list logo