On Friday, 6 December 2019 at 16:48:21 UTC, Joseph Rushton
Wakeling wrote:
Hello folks,
I have a use-case that involves wanting to create a thin struct
wrapper of underlying string data (the idea is to have a type
that guarantees that the string has certain desirable
properties).
The
On Friday, 18 October 2019 at 06:11:37 UTC, Ferhat Kurtulmuş
wrote:
On Friday, 18 October 2019 at 05:52:19 UTC, Prokop Hapala wrote:
Already >1 year I consider to move from C++ to Dlang or to
Rust in my hobby game development (mostly based on physical
simulations
On Thursday, 25 July 2019 at 12:46:48 UTC, Oleg B wrote:
On Thursday, 25 July 2019 at 12:34:15 UTC, rikki cattermole
wrote:
Those restrictions don't stop at runtime.
It's vary sad.
What reason for such restrictions? It's fundamental idea or
temporary implementation?
Yes it is very sad.
On Monday, 1 July 2019 at 19:40:09 UTC, Andrey wrote:
Hello,
Is it possible to mixin in code a mangled name of some entity
so that compiler didn't emit undefined symbol error? For
example mangled function name or template parameter?
If you've got undefined symbol "foo", you could just add
On Thursday, 20 June 2019 at 06:20:17 UTC, dangbinghoo wrote:
hi there,
a funny thing:
$ cat rgcc
#!/bin/sh
cf=$@
mycf=__`echo $cf|xargs basename`
cat $cf | sed '1d' > ${mycf}
gcc ${mycf} -o a.out
rm ${mycf}
./a.out
$ cat test.c
#!/home/user/rgcc
#include
Is there a way to prevent dmd from adding any default libraries
to its linker command?
Something equivalent to "-nodefaultlibs" from gcc?
https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html
I'd still like to use the dmd.conf file, so I don't want to use
"-conf="
On Thursday, 11 October 2018 at 23:29:05 UTC, Steven
Schveighoffer wrote:
On 10/11/18 7:17 PM, Jonathan Marler wrote:
I had a look at the table again, looks like the ternary
operator is on there, just called the "conditional operator".
And to clarify, D's operator precedence is close to
On Thursday, 11 October 2018 at 21:57:00 UTC, Jonathan M Davis
wrote:
On Thursday, October 11, 2018 1:09:14 PM MDT Jonathan Marler
via Digitalmars-d wrote:
On Thursday, 11 October 2018 at 14:35:34 UTC, James Japherson
wrote:
> Took me about an hour to track this one down!
>
> A + (B
On Thursday, 11 October 2018 at 14:35:34 UTC, James Japherson
wrote:
Took me about an hour to track this one down!
A + (B == 0) ? 0 : C;
D is evaluating it as
(A + (B == 0)) ? 0 : C;
The whole point of the parenthesis was to associate.
I usually explicitly associate precisely because of
On Monday, 1 October 2018 at 13:51:10 UTC, evilrat wrote:
Hi,
Early access program is now live!
Limited offer!
Preorder until 12.31.2017 BC and you will receive* unique pet -
"Cute Space Hamster"!
!!
*(Limited quantity in stock)
[...]
Based on clang? I approve. I'll have to try it out
On Saturday, 22 September 2018 at 21:04:04 UTC, Vladimir
Panteleev wrote:
On Saturday, 22 September 2018 at 20:46:27 UTC, Jonathan Marler
wrote:
Decided to play around with this for a bit. Made a "proof of
concept" library:
I suggest using GetFullPathNameW instead of GetCurrentDirectory
+
On Saturday, 22 September 2018 at 20:53:02 UTC, krzaq wrote:
On Saturday, 22 September 2018 at 20:40:14 UTC, Jonathan Marler
wrote:
On Saturday, 22 September 2018 at 19:04:41 UTC, Henrik wrote:
[...]
That works for types but wouldn't work for keywords. Keywords
have special meaning in the
On Thursday, 20 September 2018 at 19:49:01 UTC, Nick Sabalausky
(Abscissa) wrote:
On 09/19/2018 11:45 PM, Vladimir Panteleev wrote:
On Thursday, 20 September 2018 at 03:23:36 UTC, Nick
Sabalausky (Abscissa) wrote:
(Not on a Win box at the moment.)
I added the output of my test program to the
On Saturday, 22 September 2018 at 19:04:41 UTC, Henrik wrote:
On Saturday, 22 September 2018 at 15:45:09 UTC, Jonathan Marler
wrote:
On Saturday, 22 September 2018 at 15:25:32 UTC, aberba wrote:
On Saturday, 22 September 2018 at 14:31:20 UTC, Jonathan
Marler wrote:
On Saturday, 22 September
On Saturday, 22 September 2018 at 15:25:32 UTC, aberba wrote:
On Saturday, 22 September 2018 at 14:31:20 UTC, Jonathan Marler
wrote:
On Saturday, 22 September 2018 at 13:25:27 UTC, rikki
cattermole wrote:
Then D isn't the right choice for you.
I think it makes for a better community if we
On Saturday, 22 September 2018 at 13:25:27 UTC, rikki cattermole
wrote:
Then D isn't the right choice for you.
I think it makes for a better community if we can be more
welcoming, helpful a gracious instead of responding to criticism
this way. This is someone who saw enough potential with D
On Saturday, 22 September 2018 at 08:48:37 UTC, Nemanja Borić
wrote:
On Friday, 21 September 2018 at 21:07:57 UTC, Jonathan M Davis
wrote:
[...]
Sociomantic "maintains" (well, much more in the past than
today) D1 compiler and you can find latest releases here
(Ubuntu):
On Thursday, 20 September 2018 at 23:19:17 UTC, aliak wrote:
Somewhat along these lines, I just found a watched a video by a
guy who's been working on a programming language called Jai (it
has some awesome concepts) and one of the sections he went in
to about source files building themselves I
On Wednesday, 19 September 2018 at 06:11:22 UTC, Vladimir
Panteleev wrote:
On Wednesday, 19 September 2018 at 06:05:38 UTC, Vladimir
Panteleev wrote:
[...]
One more thing:
There is the argument that the expected behavior of Phobos
functions creating filesystems objects with long paths is to
On Friday, 14 September 2018 at 14:34:36 UTC, Josphe Brigmo wrote:
std.file.FileException@C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(3153):
It is very annoying when the only error info I have is pointing
to code in a library which tells me absolutely nothing about
where the error
On Thursday, 13 September 2018 at 17:54:03 UTC, Vladimir
Panteleev wrote:
On Thursday, 13 September 2018 at 16:23:21 UTC, Jonathan Marler
wrote:
The immediate example is to resolve symbol conflicts.
I've ran into this a few times:
import std.stdio;
import std.file;
void main(string[] args)
On Thursday, 13 September 2018 at 11:58:40 UTC, rikki cattermole
wrote:
On 13/09/2018 11:54 PM, Jonathan Marler wrote:
"Selective imports" limit the symbols imported from a module
by providing a list of all the symbols to include:
import std.stdio : writeln, writefln;
The complement of this
"Selective imports" limit the symbols imported from a module by
providing a list of all the symbols to include:
import std.stdio : writeln, writefln;
The complement of this would be a "Filtered import", meaning,
import all the symbols except the ones in the provided list. I
imagine the
On Wednesday, 12 September 2018 at 10:06:29 UTC, aliak wrote:
On Wednesday, 12 September 2018 at 01:11:59 UTC, Jonathan
Marler wrote:
On Tuesday, 11 September 2018 at 19:55:33 UTC, Andre Pany
wrote:
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan
Marler wrote:
I've rewritten rdmd into
On Tuesday, 11 September 2018 at 19:55:33 UTC, Andre Pany wrote:
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan Marler
wrote:
I've rewritten rdmd into a new tool called "rund" and have
been using it for about 4 months. It runs about twice as fast
making my workflow much "snappier". It
On Tuesday, 11 September 2018 at 17:36:09 UTC, Kagamin wrote:
On Tuesday, 11 September 2018 at 15:20:51 UTC, Jonathan Marler
wrote:
The Posix/Windows 10 cases seem fine, but Windows <10 is not
great.
MSDN says symbolic links are supported since Vista.
Yeah but I think you need Admin
On Tuesday, 11 September 2018 at 08:53:46 UTC, Kagamin wrote:
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan Marler
wrote:
https://github.com/marler8997/rund
I have an idea how to push shebang to userland and make it
crossplatform: if, say, `rund -install prog.d` would copy/link
On Tuesday, 11 September 2018 at 01:02:30 UTC, Vladimir Panteleev
wrote:
On Sunday, 9 September 2018 at 04:32:32 UTC, Jonathan Marler
wrote:
- -od (e.g. for -od.)
Hmmm, yeah it looks like rund is currently overriding this.
I've attempted a fix but it's hard to cover all the different
On Sunday, 9 September 2018 at 09:55:19 UTC, Vladimir Panteleev
wrote:
On Sunday, 9 September 2018 at 04:32:32 UTC, Jonathan Marler
- The .d extension is not implied, like for dmd/rdmd
I haven't come up with any reasons to support this. Maybe you
can enlighten me?
"rund prog" is shorter
On Sunday, 9 September 2018 at 03:33:49 UTC, Vladimir Panteleev
wrote:
On Saturday, 8 September 2018 at 04:24:20 UTC, Jonathan Marler
wrote:
I've rewritten rdmd into a new tool called "rund" and have
been using it for about 4 months. It runs about twice as fast
making my workflow much
I've rewritten rdmd into a new tool called "rund" and have been
using it for about 4 months. It runs about twice as fast making
my workflow much "snappier". It also introduces a new feature
called "source directives" where you can add special comments to
the beginning of your D code to set
On Saturday, 1 September 2018 at 23:29:01 UTC, Nicholas Wilson
wrote:
On Saturday, 1 September 2018 at 14:48:55 UTC, Jonathan Marler
wrote:
Note that we would want this to be a new option so as not to
break anyone depending on "-op" semantics. Maybe "-om" for
"output path based on 'Module'
The -od (output directory) and -op (perserve source paths) work
great when you're compiling multiple modules in a single
invocation. For example, say we have the following:
/foolib/src/foo/bar.d
/myapp/src/main.d
Current Directory: /myapp
```
dmd -I=../foolib/src -I=src -od=obj -op -c
On Saturday, 25 August 2018 at 09:30:27 UTC, Jonathan M Davis
wrote:
On Saturday, August 25, 2018 2:02:51 AM MDT Jonathan Marler via
Digitalmars- d wrote:
[...]
Honestly, I don't want to be doing _anything_ like from with
_any_ syntax. It's not just a question of from itself being too
long
On Saturday, 25 August 2018 at 04:25:56 UTC, Jonathan M Davis
wrote:
On Friday, August 24, 2018 7:03:37 PM MDT Jonathan Marler via
Digitalmars-d wrote:
> What uses does this actually have, I only see one example
> from the article and it is an oversimplistic example that
> ef
On Saturday, 25 August 2018 at 00:40:54 UTC, tide wrote:
On Friday, 24 August 2018 at 06:41:35 UTC, Jonathan Marler
wrote:
Ever since I read
https://dlang.org/blog/2017/02/13/a-new-import-idiom/ I've
very much enjoyed using the new `from` template. It unlocks
new idioms in D and have been so
On Friday, 24 August 2018 at 20:36:06 UTC, Seb wrote:
On Friday, 24 August 2018 at 20:04:22 UTC, Jonathan Marler
wrote:
I'd gladly fix it but alas, my pull requests are ignored :(
They aren't! It's just that sometimes the review queue is
pretty full.
I have told you before that your
On Friday, 24 August 2018 at 18:34:20 UTC, Daniel N wrote:I don't
use dub myself.
On Friday, 24 August 2018 at 18:34:20 UTC, Daniel N wrote:
FYI Andrei has an open pull request:
https://github.com/dlang/druntime/pull/1756
Oh well I guess great minds think alike :) Too bad it's been
stalled
On Friday, 24 August 2018 at 10:58:29 UTC, aliak wrote:
On Friday, 24 August 2018 at 06:41:35 UTC, Jonathan Marler
wrote:
Ever since I read
https://dlang.org/blog/2017/02/13/a-new-import-idiom/ I've
very much enjoyed using the new `from` template. It unlocks
new idioms in D and have been so
On Friday, 24 August 2018 at 12:06:15 UTC, Anton Fediushin wrote:
On Friday, 24 August 2018 at 06:41:35 UTC, Jonathan Marler
wrote:
[...]
There's no reason to mess with `object.d` or add it to phobos.
Just make a dub package and use it!
I just published it on the dub registry in public
Ever since I read
https://dlang.org/blog/2017/02/13/a-new-import-idiom/ I've very
much enjoyed using the new `from` template. It unlocks new
idioms in D and have been so useful that I thought it might be a
good addition to the core language. I've found that having it in
a different place in
On Thursday, 23 August 2018 at 19:48:19 UTC, Robert burner
Schadek wrote:
It is still rough around the corners and
https://issues.dlang.org/show_bug.cgi?id=19084 gives me
somewhat of a hard time, but give it try and scream at me
because it is not nogc.
I've posted a comment on issue 19084
On Saturday, 18 August 2018 at 13:33:43 UTC, Andrei Alexandrescu
wrote:
A friend recommended this article:
http://donellameadows.org/archives/leverage-points-places-to-intervene-in-a-system/
I found it awesome and would recommend to anyone in this
community. Worth a close read - no skimming,
On Saturday, 18 August 2018 at 22:20:57 UTC, Walter Bright wrote:
On 8/18/2018 9:59 AM, Jonathan Marler wrote:
In your mind, what defines the D language's level of success?
It no longer needs me or Andrei.
Yes, I think this state would be a good indicator of success.
This requires
On Saturday, 18 August 2018 at 13:33:43 UTC, Andrei Alexandrescu
wrote:
A friend recommended this article:
http://donellameadows.org/archives/leverage-points-places-to-intervene-in-a-system/
I found it awesome and would recommend to anyone in this
community. Worth a close read - no skimming,
On Friday, 10 August 2018 at 13:19:21 UTC, Jean-Louis Leroy wrote:
jll@euclid:~/dlang$ ./install.sh dmd
Downloading and unpacking
http://downloads.dlang.org/releases/2.x/2.081.1/dmd.2.081.1.linux.tar.xz
# 100.0%
Invalid
On Sunday, 5 August 2018 at 05:53:20 UTC, Mike Franklin wrote:
On Saturday, 4 August 2018 at 18:24:28 UTC, B Krishnan Iyer
wrote:
I had some questions regarding the project and also needed
some pointers to get started with the project. Also, more it
would be great if more description of the
On Saturday, 4 August 2018 at 12:16:00 UTC, Steven Schveighoffer
wrote:
On 8/3/18 10:26 AM, Jonathan Marler wrote:
On Tuesday, 31 July 2018 at 15:07:04 UTC, Steven Schveighoffer
wrote:
On 7/31/18 10:13 AM, Nicholas Wilson wrote:
[...]
Absolutely, I didn't realize this was an ambiguity. It
On Friday, 3 August 2018 at 17:34:47 UTC, kinke wrote:
On Friday, 3 August 2018 at 16:46:53 UTC, Jonathan Marler wrote:
[...]
[...]
You're right, thanks for elaborting.
On Friday, 3 August 2018 at 16:19:04 UTC, kinke wrote:
On Friday, 3 August 2018 at 14:46:59 UTC, Jonathan Marler wrote:
After thinking about it more I suppose it wouldn't be that
complicated to implement. For delegate literals, you already
need to gather a list of all the data you need to put
On Thursday, 2 August 2018 at 17:21:47 UTC, Steven Schveighoffer
wrote:
On 8/2/18 12:21 PM, Jonathan Marler wrote:
On Monday, 30 July 2018 at 21:02:56 UTC, Steven Schveighoffer
wrote:
Would it be a valid optimization to have D remove the
requirement for allocation when it can determine that
On Tuesday, 31 July 2018 at 15:07:04 UTC, Steven Schveighoffer
wrote:
On 7/31/18 10:13 AM, Nicholas Wilson wrote:
is there any particular reason why
void foo(string a) {}
void foo(immutable(char)* b) {}
void bar()
{
foo("baz");
}
result in
Error: foo called with argument types (string)
On Thursday, 2 August 2018 at 16:21:58 UTC, Jonathan Marler wrote:
On Monday, 30 July 2018 at 21:02:56 UTC, Steven Schveighoffer
wrote:
Would it be a valid optimization to have D remove the
requirement for allocation when it can determine that the
entire data structure of the item in question
On Monday, 30 July 2018 at 21:02:56 UTC, Steven Schveighoffer
wrote:
Would it be a valid optimization to have D remove the
requirement for allocation when it can determine that the
entire data structure of the item in question is an rvalue, and
would fit into the data pointer part of the
On Wednesday, 25 July 2018 at 15:24:50 UTC, Alexander Nicholi
wrote:
Hello,
A project I’m helping develop mixes D code along with C and
C++, and in the latter two languages we have custom macros that
print things the way we need to, along with app-specific
cleanup tasks before halting the
On Saturday, 21 July 2018 at 17:54:17 UTC, soolaïman wrote:
I know this one year old already but the DIP is still in formal
review.
[...]
This doesn't work because the ABI of a normal function is NOT THE
SAME as the ABI of a delegate. That's the only reason the DIP
exists is to solve this
On Sunday, 15 July 2018 at 20:29:29 UTC, tcb wrote:
I've been trying to compile a trivial program (extern C int
main() {return 0;}) without linking parts of the C runtime with
no success.
I compile with dmd -debuglib= -defaultlib= -v -L=/INFORMATION
-betterC but optlink shows a lot of things
On Friday, 29 June 2018 at 09:25:08 UTC, Mike Franklin wrote:
Please allow me to bring your attention to an interesting
presentation about choosing a modern programming language for
writing operating systems:
https://www.youtube.com/watch?v=cDFSrVhnZKo
It's a good talk and probably worth
On Saturday, 9 June 2018 at 07:40:08 UTC, Mike Franklin wrote:
On Saturday, 9 June 2018 at 07:26:02 UTC, Walter Bright wrote:
Your time is valuable, too, and while I'm not going to tell
you want to work on, I'd prefer something more important.
If that's how you feel then I clearly don't
On Thursday, 24 May 2018 at 20:22:15 UTC, Dibyendu Majumdar wrote:
On Wednesday, 23 May 2018 at 18:49:05 UTC, Dibyendu Majumdar
wrote:
The ultimate goal is to have JIT library that is small, has
fast compilation, and generates reasonable code (i.e. some
form of global register allocation). The
On Wednesday, 23 May 2018 at 18:49:05 UTC, Dibyendu Majumdar
wrote:
Now that D has a better C option I was wondering if it is
possible to create a small subset of D that can be used as
embedded JIT library. I would like to trim the language to a
small subset of D/C - only primitive types and
On Wednesday, 23 May 2018 at 03:44:36 UTC, Manu wrote:
If we can use `alias this` to mirror an entire C++ namespace
into the location we want (ie, the scope immediately outside
the C++ namespace!!), then one sanitary line would make the
problem quite more tolerable:
extern(C++, FuckOff)
{
On Monday, 21 May 2018 at 22:21:34 UTC, Manu wrote:
On 21 May 2018 at 09:22, Jonathan Marler via Digitalmars-d
<digitalmars-d@puremagic.com> wrote:
On Monday, 21 May 2018 at 04:46:15 UTC, Manu wrote:
This CI situation with the DMD/druntime repos is not okay.
It takes ages... *
On Monday, 21 May 2018 at 04:46:15 UTC, Manu wrote:
This CI situation with the DMD/druntime repos is not okay.
It takes ages... **hours** sometimes, for CI to complete.
It's all this 'auto-tester' one, which seems to lock up on the
last few tests.
This makes DMD is a rather unenjoyable
On Tuesday, 15 May 2018 at 21:25:05 UTC, Andrei Alexandrescu
wrote:
Hello, I was reviewing again DIP 1011 and investigated a
library solution. That led to
https://gist.github.com/run-dlang/18845c9df3d73e45c945feaccfebfcdc
It builds on the opening examples in:
On Tuesday, 15 May 2018 at 21:25:05 UTC, Andrei Alexandrescu
wrote:
Hello, I was reviewing again DIP 1011 and investigated a
library solution. That led to
https://gist.github.com/run-dlang/18845c9df3d73e45c945feaccfebfcdc
It builds on the opening examples in:
On Tuesday, 8 May 2018 at 18:48:15 UTC, Seb wrote:
What do you guys think about having a dedicated "Bugzilla & PR
sprint" at the first weekend of very month?
We could organize this a bit by posting the currently "hot"
bugs a few days ahead and also make sure that there are plenty
of
On Friday, 13 April 2018 at 23:36:46 UTC, H. S. Teoh wrote:
On Fri, Apr 13, 2018 at 11:00:20PM +, Jonathan Marler via
Digitalmars-d wrote: [...]
@JonathanDavis, the original post goes through an example
where you won't get a compile-time or link-time error...it
results in a very bad
On Friday, 13 April 2018 at 22:29:25 UTC, Steven Schveighoffer
wrote:
On 4/13/18 5:57 PM, Jonathan M Davis wrote:
On Friday, April 13, 2018 16:15:21 Steven Schveighoffer via
Digitalmars-d
I don't know if the compiler can determine if a version
statement
affects the layout, I suppose it
On Friday, 13 April 2018 at 10:47:18 UTC, Rene Zwanenburg wrote:
On Friday, 13 April 2018 at 05:31:25 UTC, Jesse Phillips wrote:
Well if DIP1000 isn't on by default I don't think Phobos
should be compiled with it.
I think that the version issue is not unique to D and would be
good to
Currently phobos is going through a transition where DIP 1000 is
being enabled. This presents a unique problem because when DIP
1000 is enabled, it will cause certain functions to be mangled
differently. This means that if a module in phobos was compiled
with DIP 1000 enabled and you don't
On Wednesday, 4 April 2018 at 20:29:19 UTC, Stefan Koch wrote:
On Wednesday, 4 April 2018 at 20:04:04 UTC, Jack Stouffer wrote:
On Wednesday, 4 April 2018 at 01:08:48 UTC, Andrei
Alexandrescu wrote:
Exactly, which is why I'm insisting this - and not compiler
benchmarking, let alone idle
On Tuesday, 3 April 2018 at 23:29:34 UTC, Atila Neves wrote:
On Tuesday, 3 April 2018 at 19:07:54 UTC, Jonathan Marler wrote:
On Tuesday, 3 April 2018 at 10:24:15 UTC, Atila Neves wrote:
On Monday, 2 April 2018 at 18:52:14 UTC, Jonathan Marler
wrote:
You still missed my point.
I got
On Tuesday, 3 April 2018 at 10:24:15 UTC, Atila Neves wrote:
On Monday, 2 April 2018 at 18:52:14 UTC, Jonathan Marler wrote:
My point was that GO's path library is very different from
dlang's std.path library. It has an order of magnitude less
code so the point was that you're comparing a
On Monday, 2 April 2018 at 12:33:37 UTC, Atila Neves wrote:
On Friday, 30 March 2018 at 16:41:42 UTC, Jonathan Marler wrote:
Seems like you're comparing apples to oranges.
No, I'm comparing one type of apple to another with regards to
weight in my shopping bag before I've even taken a bite.
On Saturday, 31 March 2018 at 21:37:13 UTC, Jonathan M Davis
wrote:
On Saturday, March 31, 2018 08:28:31 Jonathan Marler via
Digitalmars-d wrote:
On Friday, 30 March 2018 at 20:17:39 UTC, Andrei Alexandrescu
wrote:
> On 3/30/18 12:12 PM, Atila Neves wrote:
>> Fast code fast, they sa
On Friday, 30 March 2018 at 20:17:39 UTC, Andrei Alexandrescu
wrote:
On 3/30/18 12:12 PM, Atila Neves wrote:
Fast code fast, they said. It'll be fun, they said. Here's a D
file:
import std.path;
Yep, that's all there is to it. Let's compile it on my laptop:
/tmp % time dmd -c
On Friday, 30 March 2018 at 16:12:44 UTC, Atila Neves wrote:
Fast code fast, they said. It'll be fun, they said. Here's a D
file:
import std.path;
Yep, that's all there is to it. Let's compile it on my laptop:
/tmp % time dmd -c foo.d
dmd -c foo.d 0.12s user 0.02s system 98%
On Friday, 16 March 2018 at 07:47:31 UTC, Johannes Pfau wrote:
Am Thu, 15 Mar 2018 23:21:42 + schrieb Jonathan Marler:
On Thursday, 15 March 2018 at 23:11:41 UTC, Johannes Pfau
wrote:
Am Wed, 14 Mar 2018 14:22:01 -0700 schrieb Timothee Cour:
[...]
And then we'll have to add yet
On Thursday, 15 March 2018 at 23:11:41 UTC, Johannes Pfau wrote:
Am Wed, 14 Mar 2018 14:22:01 -0700 schrieb Timothee Cour:
[...]
And then we'll have to add yet another "-import" switch for DLL
support. Now we have 3 switches doing essentially the same:
Telling the compiler which modules
On Thursday, 15 March 2018 at 12:14:12 UTC, Jacob Carlborg wrote:
On Thursday, 15 March 2018 at 05:22:45 UTC, Seb wrote:
Hmm how would this solve the StdUnittest use case? I.e. that
templated phobos unittests and private unittest symbols are
compiled into the users unittests?
See also:
On Wednesday, 14 March 2018 at 21:22:01 UTC, Timothee Cour wrote:
would a PR for `dmd -unittest= (same syntax as -i)` be
welcome?
wouldn't that avoid all the complicatiosn with
version(StdUnittest) ?
eg use case:
# compile with unittests just for package foo (excluding
subpackage foo.bar)
On Wednesday, 15 March 2017 at 13:50:28 UTC, Inquie wrote:
I hate building code strings for string mixins as it's very
ugly and seems like a complete hack.
How bout, instead, we have a special code string similar to a
multiline string that allows us to represent valid D code. The
compiler
On Monday, 5 March 2018 at 13:03:50 UTC, Steven Schveighoffer
wrote:
On 3/2/18 8:49 PM, Jonathan Marler wrote:
On Saturday, 3 March 2018 at 00:20:14 UTC, H. S. Teoh wrote:
On Fri, Mar 02, 2018 at 11:51:08PM +, Jonathan Marler via
Digitalmars-d wrote:
[...]
Not true:
template
On Saturday, 3 March 2018 at 17:42:25 UTC, David Gileadi wrote:
On 3/3/18 8:08 AM, 0x wrote:
The D survey is killing maan!
Those are lots of questions in there
If I ever get hold of the people behind it...
Is it a coincidence that your user handle is "negative one"? ;)
He's
On Saturday, 3 March 2018 at 00:20:14 UTC, H. S. Teoh wrote:
On Fri, Mar 02, 2018 at 11:51:08PM +, Jonathan Marler via
Digitalmars-d wrote:
[...]
Not true:
template counterexample(alias T) {}
int x;
string s;
alias U = counterexample!x; // OK
I believe I found small hole in template parameter semantics.
I've summarized it here
(https://github.com/marler8997/dlangfeatures#template-auto-value-parameter). Wanted to get feedback before I look into creating a PR for it.
--
COPY/PASTED from
On Wednesday, 21 February 2018 at 04:07:38 UTC, Mike Franklin
wrote:
On Tuesday, 6 February 2018 at 17:49:33 UTC, Jonathan Marler
wrote:
What do people think of adding an argument to DMD to add
library search paths? Currently the only way I know how to do
this would be via linker-specific
On Tuesday, 6 February 2018 at 17:49:33 UTC, Jonathan Marler
wrote:
What do people think of adding an argument to DMD to add
library search paths? Currently the only way I know how to do
this would be via linker-specific flags, i.e.
GCC: -L-L/usr/lib
MSVC: -L-libpath:C:\mylibs
OPTLINK:
On Sunday, 18 February 2018 at 23:46:05 UTC, Sönke Ludwig wrote:
Am 14.02.2018 um 19:33 schrieb Jonathan Marler:
@timotheecour and I came up with a solution to a common
problem:
How to represent multiple files in a forum post?
Why not multipart/mixed? Since this is NNTP based, wouldn't
On Monday, 19 February 2018 at 01:26:43 UTC, Jonathan M Davis
wrote:
Okay. Maybe, I'm dumb, but what is the point of all of this?
Why would any kind of standard be necessary at all?
Good question. Having a standard allows computers to interface
with the archive as well as humans.
It's not
On Sunday, 18 February 2018 at 21:40:34 UTC, Martin Nowak wrote:
On Sunday, 18 February 2018 at 04:04:48 UTC, Jonathan Marler
wrote:
If there is an existing standard that's great, I wasn't able
to find one. If you find one let me know.
Found ptar (https://github.com/jtvaughan/ptar) and shar
On Saturday, 17 February 2018 at 22:11:28 UTC, Martin Nowak wrote:
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler
wrote:
@timotheecour and I came up with a solution to a common
problem:
How to represent multiple files in a forum post?
Oh, I thought it already was a
On Wednesday, 14 February 2018 at 20:16:32 UTC, John Gabriele
wrote:
Can the har file delimiter be more than three characters?
Yes. So long as the delimiter is the consistent across the whole
file, i.e.
file1
file2
(See
On Wednesday, 14 February 2018 at 18:52:35 UTC, user1234 wrote:
On Wednesday, 14 February 2018 at 18:47:31 UTC, Jonathan Marler
wrote:
On Wednesday, 14 February 2018 at 18:44:06 UTC, user1234 wrote:
how does it mix with markdown, html etc ?
They'll have to use escapes to be compliant, haven't
On Wednesday, 14 February 2018 at 18:44:06 UTC, user1234 wrote:
how does it mix with markdown, html etc ?
They'll have to use escapes to be compliant, haven't they ?
Works great with mardown.
```
--- file1
Contents of file1
--- file2
Contents of file2
```
On Wednesday, 14 February 2018 at 18:45:59 UTC, Seb wrote:
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler
wrote:
@timotheecour and I came up with a solution to a common
problem:
How to represent multiple files in a forum post?
What's wrong with https://gist.github.com?
@timotheecour and I came up with a solution to a common problem:
How to represent multiple files in a forum post?
So we decided to take a stab at creating a standard! (queue links
to https://xkcd.com/927)
We're calling it "har" (inspired by the name tar). Here's the
REPO:
On Monday, 12 February 2018 at 10:35:06 UTC, Russel Winder wrote:
In all the discussion of Dub to date, it hasn't been pointed
out that JVM building merged dependency management and build a
long time ago. Historically:
Make → Ant → Maven → Gradle
and Gradle can handle C++ as well as JVM
On Tuesday, 6 February 2018 at 21:35:11 UTC, Steven Schveighoffer
wrote:
On 2/6/18 4:16 PM, timotheecour wrote:
On Wednesday, 22 October 2008 at 18:43:15 UTC, Denis Koroskin
wrote:
On Wed, 22 Oct 2008 22:39:10 +0400, bearophile
wrote:
[...]
You can use the
1 - 100 of 456 matches
Mail list logo