On Monday, 22 October 2018 at 08:25:17 UTC, Andrea Fontana wrote:
Moreover: you're the author of the module so you're supposed to
know how it works and which members you should call or not.
- team
- maintainer of a module written by someone that works elsewhere
now.
that's two cases where st
On Sunday, 21 October 2018 at 03:17:23 UTC, 12345swordy wrote:
So that classes can share some of their variables but not
others in a module.
IE.
class A
{
internal int A; //This is shared in the module
private int B; // But not this.
}
No need to reintroduce the "Friend" feature from cpp.
I
On Sunday, 14 October 2018 at 23:28:04 UTC, Nick Sabalausky
(Abscissa) wrote:
Was just thinking about this: I've often liked the idea of
having a terminal emulator built-into my code editor, so it
could auto-highlight errors/etc and do jump-to-line on ANY
variation of build command, without hav
On Wednesday, 19 September 2018 at 12:51:25 UTC, Basile B. wrote:
The downloads of nightlies is broken since at least 2 weeks
now. What's going on ?
I've started using this script from today :
https://github.com/BBasile/dmdm/blob/master/dmdm.sh
Instead of downloading the nightly release it bui
On Tuesday, 9 October 2018 at 18:07:44 UTC, Márcio Martins wrote:
On Tuesday, 28 July 2015 at 14:07:19 UTC, Atila Neves wrote:
Start of the two week process, folks.
Code: https://github.com/s-ludwig/std_data_json
Docs: http://s-ludwig.github.io/std_data_json/
Atila
Sorry for the late ping, b
On Saturday, 6 October 2018 at 19:07:48 UTC, steven kladitis
wrote:
On Saturday, 6 October 2018 at 17:48:00 UTC, rikki cattermole
wrote:
On 07/10/2018 6:36 AM, steven kladitis wrote:
[...]
1.11.0 is current https://github.com/dlang/dub/tree/v1.11.0
[...]
Do you mean code.dlang.org not dub
On Saturday, 6 October 2018 at 09:29:42 UTC, Jacob Carlborg wrote:
Just see what has happened to the DMD nightly builds. It's been
down for weeks (soon a month?)
I've checked the logs from my stuff at Semaphore and it's since
Sept 7 to be exactly.
On Tuesday, 2 October 2018 at 07:18:32 UTC, bauss wrote:
don't try to compile this one linux:
```
void main(){ asm{ db cast(ubyte[]) "é"; } }
```
Actually no, it's an IDE issue triggered by this code.
In what world should an IDE ever have an issue with the code
you write?
It's a dparse
On Monday, 1 October 2018 at 09:24:18 UTC, Basile B. wrote:
On Friday, 28 September 2018 at 11:58:25 UTC, Zardoz wrote:
CTE fib :
module fib_cte;
import std.stdio;
long fib(long n) {
if (n <= 1) return 1;
return fib(n - 1) + fib(n - 2);
}
static immutable valueFib = fib(46);
void main()
On Friday, 28 September 2018 at 11:58:25 UTC, Zardoz wrote:
CTE fib :
module fib_cte;
import std.stdio;
long fib(long n) {
if (n <= 1) return 1;
return fib(n - 1) + fib(n - 2);
}
static immutable valueFib = fib(46);
void main() {
writeln(valueFib);
}
don't try to compile this one li
On Sunday, 30 September 2018 at 09:40:10 UTC, Per Nordlöw wrote:
I'm gonna play around with creating a GC that alleviates some
of the uses described in
https://olshansky.me/gc/runtime/dlang/2017/06/14/inside-d-gc.html
What's the most effective way of incrementally developing a new
pluggable G
On Thursday, 20 September 2018 at 06:41:54 UTC, drug wrote:
Autotester should show build logs because for example `nanogui`
package reported as failed although it builds on my machines
successfully.
This is because the D project tester (i assume this is what you
call autotester) uses optional
On Thursday, 20 September 2018 at 04:16:41 UTC, Neia Neutuladh
wrote:
And source code is available at
https://git.ikeran.org/dhasenan/dubautotester
Please don't judge me.
Nice work.
The downloads of nightlies is broken since at least 2 weeks now.
What's going on ?
On Saturday, 8 September 2018 at 11:24:50 UTC, rjframe wrote:
The beta might be better than dmd-nightly, as they would avoid
the churn and still provide maintainers with time to react to
problems with the upcoming release before the release is out.
Betas are often outdated and contain problems
On Sunday, 2 September 2018 at 13:21:05 UTC, bauss wrote:
Is there a reason why you cannot create a separate scope within
a static foreach?
The below will not compile:
```
enum a = ["a" : "a", "b" : "b", "c" : "c"];
static foreach (k,v; a)
{
{
enum b = k;
enum c = v;
}
On Friday, 31 August 2018 at 08:36:27 UTC, Nick Treleaven wrote:
I hadn't understood the rationale for lazy variadic functions
https://dlang.org/spec/function.html#lazy_variadic_functions
I don't know if this has been updated too but this sentence makes
no sense :
"Then each of the argument
On Thursday, 30 August 2018 at 10:57:23 UTC, bauss wrote:
On Thursday, 30 August 2018 at 10:43:24 UTC, Basile B. wrote:
On Wednesday, 29 August 2018 at 04:53:59 UTC, bauss wrote:
On Tuesday, 28 August 2018 at 23:27:09 UTC, Nick Sabalausky
wrote:
[...]
Honestly C++ did OOP somewhat right, bec
On Wednesday, 29 August 2018 at 04:53:59 UTC, bauss wrote:
On Tuesday, 28 August 2018 at 23:27:09 UTC, Nick Sabalausky
wrote:
[...]
Honestly C++ did OOP somewhat right, because it wasn't forced
upon you, but C++ itself has design issues, that I think D has
solved very well.
D does OOP bett
On Monday, 27 August 2018 at 01:15:49 UTC, Laeeth Isharc wrote:
There's no question from my perspective that D is much better
than a year ago and unimaginably better from when I first
picked it up in 2014. One can't be serious suggesting that D
isn't flourishing as far as adoption goes.
I ag
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. [...]
Of course, if we don't want to encourage
On Friday, 17 August 2018 at 19:28:47 UTC, Basile B. wrote:
Now that -m64 + LLD + MINGW works, the question is obvious.
The background idea is of course to allow the use of GDB under
Windows. At first glance the debug info API is not uniform.
This is visible if you compare dmd.backend.dwarf an
On Friday, 17 August 2018 at 19:45:35 UTC, Andre Pany wrote:
On Friday, 17 August 2018 at 19:35:40 UTC, Basile B. wrote:
On Friday, 17 August 2018 at 19:28:47 UTC, Basile B. wrote:
Now that -m64 + LLD + MINGW works, the question is obvious.
The background idea is of course to allow the use of
On Friday, 17 August 2018 at 19:28:47 UTC, Basile B. wrote:
Now that -m64 + LLD + MINGW works, the question is obvious.
The background idea is of course to allow the use of GDB under
Windows. At first glance the debug info API is not uniform.
This is visible if you compare dmd.backend.dwarf an
Now that -m64 + LLD + MINGW works, the question is obvious.
The background idea is of course to allow the use of GDB under
Windows. At first glance the debug info API is not uniform. This
is visible if you compare dmd.backend.dwarf and dmd.backend.cgcv
and the naive idea which would be to repl
On Friday, 17 August 2018 at 06:38:59 UTC, Joakim wrote:
By our very own BBasile of Coedit fame:
https://lambdahackers.com/@b4asile/why-d-is-a-good-choice-for-writing-a-toy-language-4vapyvas5a
I was surprised to see how well received was this reddit post.
Initially i've written it to test a n
On Tuesday, 7 August 2018 at 07:33:49 UTC, Nicholas Wilson wrote:
so the following
void foo(As...)(As as)
in
{
static foreach (a ;as)
assert(a>0);
}
do
{
}
void main()
{
foo(1,2,3,4,5);
}
passes and compiles, whereas
void foo(As...)(As as)
static foreach (a ;as)
in(a>0)
{
}
voi
On Sunday, 8 July 2018 at 21:26:14 UTC, 12345swordy wrote:
On Sunday, 8 July 2018 at 21:20:27 UTC, Basile B. wrote:
On Sunday, 8 July 2018 at 20:58:54 UTC, 12345swordy wrote:
I don't see it anywhere in the std.traits library nor in the
default compiler traits. This shouldn't be difficult to
im
On Sunday, 8 July 2018 at 20:58:54 UTC, 12345swordy wrote:
I don't see it anywhere in the std.traits library nor in the
default compiler traits. This shouldn't be difficult to
implemented them in the std.traits library isn't it?
-Alexander
hello, look at
__traits(getProtection)[1] in the lan
On Saturday, 7 July 2018 at 02:21:31 UTC, solidstate1991 wrote:
I'll upload code tomorrow, but here's the premise:
Sometimes elements disappear from associative arrays, causing
all sorts of errors down the line, mostly access violations.
Hello, what you describe makes me think to what happens
On Friday, 6 July 2018 at 21:47:34 UTC, JN wrote:
On Friday, 6 July 2018 at 03:19:44 UTC, Seb wrote:
Why should I add my project to the Project Tester?
--
Once a project is added to the Project Tester, DMD can't
regress on it anymore as for every
On Thursday, 5 July 2018 at 13:41:23 UTC, Andrea Fontana wrote:
My vote for this one :)
For lazy people https://issues.dlang.org/show_bug.cgi?id=13300
On Thursday, 5 July 2018 at 09:45:44 UTC, Basile B. wrote:
On Wednesday, 4 July 2018 at 14:37:49 UTC, Timon Gehr wrote:
On 24.06.2018 13:27, Basile B. wrote:
FYI this works fine, as expected it's just some small parser
changes.
I didn't touch to for and foreach for now. I think that
SwitchSt
On Wednesday, 4 July 2018 at 14:37:49 UTC, Timon Gehr wrote:
On 24.06.2018 13:27, Basile B. wrote:
FYI this works fine, as expected it's just some small parser
changes.
I didn't touch to for and foreach for now. I think that
SwitchStatement is a candidate too.
https://github.com/BBasile/dmd
On Monday, 25 June 2018 at 12:19:15 UTC, aliak wrote:
On Monday, 25 June 2018 at 10:38:49 UTC, Basile B. wrote:
On Monday, 25 June 2018 at 10:36:46 UTC, Basile B. wrote:
On Sunday, 24 June 2018 at 23:08:15 UTC, aliak wrote:
Wow nice, that was quick, would it be much more to make it
so that b
On Sunday, 1 July 2018 at 14:23:36 UTC, Yuxuan Shui wrote:
On Sunday, 1 July 2018 at 11:55:17 UTC, Jonathan M Davis wrote:
On Sunday, July 01, 2018 11:36:51 Yuxuan Shui via
Digitalmars-d wrote:
[...]
The entire reason that package.d was added as a feature was so
that modules could be split i
On Tuesday, 26 June 2018 at 02:20:37 UTC, Manu wrote:
On Mon, 25 Jun 2018 at 19:10, Manu wrote:
Some code:
-
struct Entity
{
enum NumSystems = 4;
struct SystemData
{
uint start, length;
}
SystemData[NumSystems] systemData;
@property uint systemBi
On Sunday, 24 June 2018 at 23:08:15 UTC, aliak wrote:
On Sunday, 24 June 2018 at 11:27:12 UTC, Basile B. wrote:
On Saturday, 23 June 2018 at 06:24:29 UTC, Basile B. wrote:
On Saturday, 23 June 2018 at 06:18:53 UTC, user1234 wrote:
On Saturday, 23 June 2018 at 05:09:13 UTC, aedt wrote:
On Satu
On Monday, 25 June 2018 at 10:36:46 UTC, Basile B. wrote:
On Sunday, 24 June 2018 at 23:08:15 UTC, aliak wrote:
On Sunday, 24 June 2018 at 11:27:12 UTC, Basile B. wrote:
On Saturday, 23 June 2018 at 06:24:29 UTC, Basile B. wrote:
On Saturday, 23 June 2018 at 06:18:53 UTC, user1234 wrote:
On S
On Saturday, 23 June 2018 at 06:24:29 UTC, Basile B. wrote:
On Saturday, 23 June 2018 at 06:18:53 UTC, user1234 wrote:
On Saturday, 23 June 2018 at 05:09:13 UTC, aedt wrote:
On Saturday, 23 June 2018 at 04:45:07 UTC, user1234 wrote:
On Saturday, 23 June 2018 at 01:27:30 UTC, aedt wrote:
for l
On Sunday, 24 June 2018 at 08:30:28 UTC, Jacob Carlborg wrote:
On 2018-06-23 14:34, Tobias Müller wrote:
AFAIK the if and else branches in Rust always have to be
enclosed in curly
braces because of this.
I don't remember the exact ambiguity though.
There's an ambiguity between the condition
On Sunday, 24 June 2018 at 06:56:42 UTC, Russel Winder wrote:
I think this question on Quora could do with some quality
answers.
https://www.quora.com/unanswered/How-is-the-D-programming-language-being-used
Why don't you write the quality answer you expect ? I see you're
registered on quora:
On Saturday, 23 June 2018 at 06:18:53 UTC, user1234 wrote:
On Saturday, 23 June 2018 at 05:09:13 UTC, aedt wrote:
On Saturday, 23 June 2018 at 04:45:07 UTC, user1234 wrote:
On Saturday, 23 June 2018 at 01:27:30 UTC, aedt wrote:
for line in stdin.lines() {}
if condition {}
while condition {}
On Wednesday, 20 June 2018 at 08:16:21 UTC, Mike Parker wrote:
This is the feedback thread for the first round of Community
Review for DIP 1015, "Deprecation and removal of implicit
conversion from integer and character literals to bool":
https://github.com/dlang/DIPs/blob/7c2c39243d0d747191f0
On Friday, 15 June 2018 at 23:04:40 UTC, Sjoerd Nijboer wrote:
For someone coming from a C# background there is some seemingly
simple syntactic sugar missing from D.
* The null conditional operator `?.`
Yeah, me too. I have to say that at least D is expressive enough
to allow the safeAccess
On Saturday, 16 June 2018 at 00:24:42 UTC, DigitalDesigns wrote:
space is ignored! Seems like a bug std . traits . std . string
is valid?
No, it's not a bug. Tokens are so. Try to write a grammar and a
lexer, you'll understand that this makes sense.
https://run.dlang.io/is/5YxAwR
On Friday, 15 June 2018 at 13:34:32 UTC, Temtaime wrote:
On Friday, 15 June 2018 at 13:30:53 UTC, Basile B. wrote:
On Friday, 15 June 2018 at 12:17:03 UTC, Temtaime wrote:
https://issues.dlang.org/show_bug.cgi?id=18993
Please, maybe someone fix and backport it to stable
Works for me w/ 2.081
On Friday, 15 June 2018 at 13:30:53 UTC, Basile B. wrote:
On Friday, 15 June 2018 at 12:17:03 UTC, Temtaime wrote:
https://issues.dlang.org/show_bug.cgi?id=18993
Please, maybe someone fix and backport it to stable
Works for me w/ 2.081 but fails with dmd ~master.
whoops phobos ~master i mean
On Friday, 15 June 2018 at 12:17:03 UTC, Temtaime wrote:
https://issues.dlang.org/show_bug.cgi?id=18993
Please, maybe someone fix and backport it to stable
Works for me w/ 2.081 but fails with dmd ~master.
On Monday, 11 June 2018 at 19:05:21 UTC, Basile B. wrote:
On Monday, 11 June 2018 at 16:37:05 UTC, Basile B. wrote:
Russel Winder, "Shove" and finally myself, have encountered a
strange linker error with almost always the same symbols
related to a template instance...
See:
-
https://forum.d
On Tuesday, 12 June 2018 at 15:42:50 UTC, Bauss wrote:
On Tuesday, 12 June 2018 at 14:37:19 UTC, ag0aep6g wrote:
On Tuesday, 12 June 2018 at 13:40:45 UTC, bauss wrote:
See the following: https://run.dlang.io/is/uQ21PH
(I have tried with allMembers too.)
It's like it won't pick up the member t
On Monday, 11 June 2018 at 16:37:05 UTC, Basile B. wrote:
Russel Winder, "Shove" and finally myself, have encountered a
strange linker error with almost always the same symbols
related to a template instance...
See:
-
https://forum.dlang.org/post/mailman.855.1526549201.29801.digitalmars-d-..
On Monday, 11 June 2018 at 18:29:07 UTC, Johannes Pfau wrote:
Am Mon, 11 Jun 2018 16:37:05 + schrieb Basile B.:
Russel Winder, "Shove" and finally myself, have encountered a
strange linker error with almost always the same symbols
related to a template instance...
See:
-
https://forum.
Russel Winder, "Shove" and finally myself, have encountered a
strange linker error with almost always the same symbols related
to a template instance...
See:
-
https://forum.dlang.org/post/mailman.855.1526549201.29801.digitalmars-d-...@puremagic.com
- https://issues.dlang.org/show_bug.cgi?id
On Monday, 11 June 2018 at 13:47:41 UTC, Luís Marques wrote:
On Monday, 11 June 2018 at 13:39:22 UTC, Basile B. wrote:
the FQN is working here but i find the first message a bit
confuse. Not sure if this small runnable represents the issue ?
---
module runnable;
import std.stdio, std.traits;
On Monday, 11 June 2018 at 13:19:17 UTC, Simen Kjærås wrote:
On Monday, 11 June 2018 at 12:59:01 UTC, Mike Franklin wrote:
On Monday, 11 June 2018 at 12:38:33 UTC, Luís Marques wrote:
Just to check. If you have a piece of code like
"foo.bar.baz", you can get the full hierarchy, for instance
wi
On Monday, 11 June 2018 at 03:34:59 UTC, Basile B. wrote:
On Monday, 11 June 2018 at 01:03:16 UTC, Mike Franklin wrote:
[...]
- default win32 OMF:
https://github.com/DigitalMars/dmc/blob/master/src/core/MEMCCPY.C
- default linux:
https://github.com/gcc-mirror/gcc/blob/master/libgcc/memcpy.c
On Monday, 11 June 2018 at 03:34:59 UTC, Basile B. wrote:
On Monday, 11 June 2018 at 01:03:16 UTC, Mike Franklin wrote:
[...]
- default win32 OMF:
https://github.com/DigitalMars/dmc/blob/master/src/core/MEMCCPY.C
- default linux:
https://github.com/gcc-mirror/gcc/blob/master/libgcc/memcpy.c
On Monday, 11 June 2018 at 06:52:20 UTC, DigitalDesigns wrote:
On Monday, 11 June 2018 at 05:15:05 UTC, Cym13 wrote:
On Sunday, 10 June 2018 at 19:10:52 UTC, DigitalDesigns wrote:
On Sunday, 10 June 2018 at 14:42:21 UTC, Basile B. wrote:
On Sunday, 10 June 2018 at 01:49:37 UTC, DigitalDesigns
On Sunday, 10 June 2018 at 14:42:21 UTC, Basile B. wrote:
On Sunday, 10 June 2018 at 01:49:37 UTC, DigitalDesigns wrote:
Please allow -J to specify that all subdirectories are to be
included! I'm having to include all subdirectories of my
library with J because I import each file and extract
i
On Monday, 11 June 2018 at 01:03:16 UTC, Mike Franklin wrote:
I've modified the test based on the feedback so far, so here's
what it looks like now:
import std.datetime.stopwatch;
import std.stdio;
import core.stdc.string;
import std.random;
import std.algorithm;
enum length = 4096 * 2;
void
On Sunday, 10 June 2018 at 01:49:37 UTC, DigitalDesigns wrote:
Please allow -J to specify that all subdirectories are to be
included! I'm having to include all subdirectories of my
library with J because I import each file and extract
information. It would be better to have something like
-JC
On Friday, 8 June 2018 at 16:20:12 UTC, gdelazzari wrote:
On Friday, 8 June 2018 at 16:11:27 UTC, Basile B. wrote:
While this look okay please in the initial PR don't forget to
add code to deactivate colors when DUB will be piped.
Sure, I won't forget about that. On Linux (and I guess also
Ma
On Friday, 8 June 2018 at 13:35:36 UTC, gdelazzari wrote:
Hello everyone, I'm a new user of the language (I've been
playing around with it for some months) and I'm really liking
it.
[...]
I started this thread to have a discussion on this before
submitting any pull request (which, in the cas
On Thursday, 7 June 2018 at 15:18:49 UTC, H. S. Teoh wrote:
On Thu, Jun 07, 2018 at 01:42:17PM +, Basile B. via
Digitalmars-d wrote:
[...]
[...]
You're on the right track. Now all you have to do is to add
operator overloading to make the wrapper type infectious, and a
conven
I don't know if this is a bug but this works:
```
module runnable;
struct Byte { byte value; alias value this;}
void main()
{
{Byte b; auto c = ~b;} // no message
{byte b; auto c = ~b;} // deprecation...
}
```
---
Baz
On Saturday, 2 June 2018 at 00:49:04 UTC, Bastiaan Veelo wrote:
On Friday, 1 June 2018 at 18:18:17 UTC, Tony wrote:
But with regard to varians compile-time stuff and function
annotations and other things that didn't exist years ago, has
that resulted in noticeably faster programming and/or
not
On Sunday, 27 May 2018 at 06:00:30 UTC, IntegratedDimensions
wrote:
(see my other most recent post for disclaimer)
My designs generally work like this:
Main Type uses Subservient types
A a
B b
C c
where C : B : A, c :
On Friday, 11 May 2018 at 21:43:24 UTC, aberba wrote:
This two GUI libs written in C I just found are really good
looking and looks production ready.
Embedded systems:
LittlevGL is a free and open-source graphics library providing
everything you need to create embedded GUI with easy-to-use
gr
On Wednesday, 9 May 2018 at 09:44:07 UTC, Basile B. wrote:
On Wednesday, 9 May 2018 at 08:48:41 UTC, Denis Feklushkin
wrote:
On Tuesday, 8 May 2018 at 22:52:26 UTC, Basile B. wrote:
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin
wrote:
Unlike it, we have almost everything ready:
ht
On Wednesday, 9 May 2018 at 08:48:41 UTC, Denis Feklushkin wrote:
On Tuesday, 8 May 2018 at 22:52:26 UTC, Basile B. wrote:
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
Unlike it, we have almost everything ready:
https://github.com/denizzzka/geany_dlang
Hello have a look
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
Hi!
Does anyone else use Geany as Dlang code editor?
I'm looking at the ongoing fundraising for another editor.
Unlike it, we have almost everything ready:
https://github.com/denizzzka/geany_dlang
(More precisely, I think that Ge
On Tuesday, 8 May 2018 at 19:23:44 UTC, Seb wrote:
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote:
Hi!
Does anyone else use Geany as Dlang code editor?
I'm looking at the ongoing fundraising for another editor.
Unlike it, we have almost everything ready:
https://github.com/de
On Tuesday, 24 April 2018 at 20:44:12 UTC, H. S. Teoh wrote:
On Tue, Apr 24, 2018 at 08:18:55PM +, Basile B. via
Digitalmars-d wrote:
On Tuesday, 24 April 2018 at 18:53:02 UTC, H. S. Teoh wrote:
> Yesterday afternoon I ran into a performance issue in one of
> my D projects, and t
On Tuesday, 24 April 2018 at 18:53:02 UTC, H. S. Teoh wrote:
Yesterday afternoon I ran into a performance issue in one of my
D projects, and thought, "well, it's simple, just compile with
-profile, identify the hotspot, optimize". Unfortunately,
doing that triggered a latent codegen bug in -O
On Tuesday, 17 April 2018 at 16:44:11 UTC, Vladimir Panteleev
wrote:
On Tuesday, 17 April 2018 at 06:43:16 UTC, JN wrote:
I prefer ergonomics of Discord/Slack/Gitter over IRC, although
in the long run I guess IRC is good for the openness compared
to proprietiary solution.
Have you tried Matri
On Monday, 16 April 2018 at 05:57:01 UTC, Shachar Shemesh wrote:
Consider the following program:
struct S1 {
enum member = 3;
}
struct S2 {
enum member = 2;
}
struct S3 {
}
enum prop(T) = __traits(hasMember, T, "member") && T.member==3;
pragma(msg, prop!S1);
pragma(msg, prop!S2);
pra
On Wednesday, 11 April 2018 at 08:36:41 UTC, Shachar Shemesh
wrote:
struct S {
static void func(T)(uint a, T t) {
}
static void func() {
}
}
Your mission, Jim, should you choose to accept it, is this:
Get a pointer to the version of the function that accepts no
arguments.
As
On Wednesday, 28 March 2018 at 06:43:15 UTC, Shachar Shemesh
wrote:
https://github.com/dlang/DIPs/pull/109
I submitted it 12 days ago. So far, except for two thumbs up, I
got no official reaction of any kind for it.
I did get an unofficial list of suggestions from Andrei, which
I have now in
On Tuesday, 20 March 2018 at 21:27:53 UTC, 12345swordy wrote:
This is very important to me as I am very interested in using
the language for game development.
Yes I know that it's marked as "Duplicated", but I strongly
disagree as it is different enough to consider is own issue.
Alex
Here'
On Thursday, 22 March 2018 at 20:25:28 UTC, jmh530 wrote:
On Wednesday, 21 March 2018 at 14:04:58 UTC, Adam D. Ruppe
wrote:
In Simen's example, the child information is not available at
compile time. This line here:
A a = new B();
discards the static type. The compiler could probably cheat
On Thursday, 22 March 2018 at 19:20:14 UTC, 12345swordy wrote:
On Thursday, 22 March 2018 at 17:02:43 UTC, Adam D. Ruppe wrote:
On Thursday, 22 March 2018 at 14:48:04 UTC, 12345swordy wrote:
That is not a runtime version of system/user attributes! That
is custom checking for destructor! Hardly
On Saturday, 17 March 2018 at 13:30:25 UTC, 12345swordy wrote:
It makes no sense otherwise. This logically implies that manual
memory management is required, yet there is a possibility that
the parent of the class may use the garbage collection. Which
in this case, it begs the question on why t
On Saturday, 3 March 2018 at 06:39:42 UTC, Nick Sabalausky
(Abscissa) wrote:
On 03/02/2018 02:24 AM, Jacob Carlborg wrote:
Travis CI allows you to specify a D compiler in the following
ways:
* - the latest version of the specified compiler
* -beta - the latest beta
* -nightly - the nightly
On Tuesday, 27 February 2018 at 20:09:22 UTC, Patrick Schluter
wrote:
On Tuesday, 27 February 2018 at 07:33:05 UTC, Basile B. wrote:
On Saturday, 24 February 2018 at 19:30:52 UTC, Patrick
Schluter wrote:
On Saturday, 24 February 2018 at 18:46:50 UTC, Steven
Schveighoffer wrote:
On 2/24/18 7:00
On Saturday, 24 February 2018 at 19:30:52 UTC, Patrick Schluter
wrote:
On Saturday, 24 February 2018 at 18:46:50 UTC, Steven
Schveighoffer wrote:
On 2/24/18 7:00 AM, Patrick Schluter wrote:
On Saturday, 24 February 2018 at 04:41:44 UTC, H. S. Teoh
wrote:
[...]
Last week I saw a video showing
On Sunday, 25 February 2018 at 04:06:43 UTC, Meta wrote:
I just filed this bug:
https://issues.dlang.org/show_bug.cgi?id=18520
Not only does the following code compile and link successfully,
it prints 0 three times when ran:
alias f = (int n) => 0;
alias f = (char c) => 'a';
alias f = (bool
On Saturday, 17 February 2018 at 00:04:16 UTC, Andrei
Alexandrescu wrote:
I've been long bothered that the builtin .tupleof and our own
abstractions Fields and RepresentationTypeTuple in std.traits -
all omit the essential information of field offsets. That makes
types that use align() to have
On Tuesday, 20 February 2018 at 18:41:08 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?
... and now it's available on run.dlang.io:
https
On Thursday, 25 January 2018 at 15:20:15 UTC, Benny wrote:
After months doing a different project, i need a programming
language for a new client with specific needs. D comes to mind.
As usual that involves downloading the compiler (dmd and ldc).
So, lets install Visual Studio Code:
* Code-D
On Thursday, 25 January 2018 at 21:18:23 UTC, Benny wrote:
On Thursday, 25 January 2018 at 19:53:39 UTC, Basile B. wrote:
If you write OOP with few templates like often done in C#,
Delphi, or more declarative style like Go or C, then DCD works
fine. Your frustration probably comes from the fac
On Thursday, 25 January 2018 at 22:21:18 UTC, bachmeier wrote:
On Thursday, 25 January 2018 at 21:56:12 UTC, Benny wrote:
It was my impression that D Foundation has sponsoring from
different companies. No clue how much but its strange to run a
Foundation and not being able to pay one or more fu
On Thursday, 25 January 2018 at 15:20:15 UTC, Benny wrote:
After months doing a different project, i need a programming
language for a new client with specific needs. D comes to mind.
As usual that involves downloading the compiler (dmd and ldc).
[...]
My personal opinion: Too much in the D l
On Friday, 19 January 2018 at 17:01:50 UTC, 12345swordy wrote:
On Friday, 19 January 2018 at 16:18:15 UTC, Basile B. wrote:
this problem can't be fixed.
You need to specify, do you mean this can't be fixed without a
DIP or even with a DIP?
I meant: at all. But i'd like to be wrong.
On Friday, 19 January 2018 at 15:56:58 UTC, 12345swordy wrote:
I can't find any documentation nor can I find any information
regarding it's implementation. I am asking this, as I focusing
on fixing bugs that destroy currently has, most noticeably bugs
regarding attributes. I am not sure that th
On Tuesday, 16 January 2018 at 12:11:30 UTC, Guillaume Piolat
wrote:
On Tuesday, 16 January 2018 at 08:56:50 UTC, Binghoo Dang wrote:
hi there,
the subject under Ecosystem on this forums exist an `DWT`,
which is now just seams dying , can you guy just remove DWT to
GUI ?
Or maybe "Ecosystem
On Saturday, 13 January 2018 at 02:18:20 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:15:37 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
[...]
Really ?
After the type should be the declarator. In this example
there's no declarator but if you a
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
[snip]
I'm glad you're working on this.
Proposal 1 is a little terse in explaining what
On Saturday, 13 January 2018 at 02:15:37 UTC, Basile B. wrote:
On Saturday, 13 January 2018 at 02:08:03 UTC, jmh530 wrote:
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
[snip]
I'm glad you're w
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote:
As promised [1], I have started setting up a DIP to improve
tuple ergonomics in D:
https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md
markdown trick: you can use
```diff
```
for a nicer grammar section.
1 - 100 of 389 matches
Mail list logo