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 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 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 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 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 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 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 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 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 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 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 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 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, 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, 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, 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 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 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 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 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 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
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 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
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 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 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 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 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 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 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 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 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;
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 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.
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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, 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 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 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 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 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 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 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 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 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 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 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
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 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
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 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 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 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 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 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 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
The downloads of nightlies is broken since at least 2 weeks now.
What's going on ?
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.
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 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 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 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 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 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 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 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 Monday, 11 September 2017 at 12:36:50 UTC, Vadim Lopatin wrote:
On Monday, 4 September 2017 at 17:54:36 UTC, Vadim Lopatin
wrote:
Contributors to DUB package nomad-software/x11
nomad-software
weltensturm
Geod24
MartinNowak
BBasile
rikkimax
Additionally, contributors to Deimos/libX11
growle
On Sunday, 22 October 2017 at 10:57:24 UTC, NX wrote:
On Sunday, 22 October 2017 at 02:25:44 UTC, codephantom wrote:
On Saturday, 21 October 2017 at 20:17:12 UTC, NX wrote:
Interestingly enough, I realized that atan() returns double
(in this case) but wait, it's assigned to a float variable!
C
On Sunday, 22 October 2017 at 12:17:49 UTC, Basile B. wrote:
On Sunday, 22 October 2017 at 10:57:24 UTC, NX wrote:
[...]
Fortunately D provides enough to simplify self-discipline:
---
import std.traits;
struct FP(T)
if (isFloatingPoint!T)
{
T _value;
alias _value this;
void anti
On Saturday, 21 October 2017 at 20:17:12 UTC, NX wrote:
I was working on some sort of math library for use in graphical
computing and I wrote something like this:
const float PiOver2 = (atan(1.0) * 4) / 2;
Interestingly enough, I realized that atan() returns double (in
this case) but wait, it
On Tuesday, 24 October 2017 at 01:22:57 UTC, codephantom wrote:
On Monday, 23 October 2017 at 21:51:24 UTC, Basile B. wrote:
---
/**
* Wraps a floating point type that doesn't follow D
permissive float conversion
* rules.
*
* In D, as in C++, implicit conversion from $(D double) to
$(D fl
On Saturday, 21 October 2017 at 20:17:12 UTC, NX wrote:
I was working on some sort of math library for use in graphical
computing and I wrote something like this:
const float PiOver2 = (atan(1.0) * 4) / 2;
Interestingly enough, I realized that atan() returns double (in
this case) but wait, it
On Tuesday, 24 October 2017 at 15:29:38 UTC, Basile B. wrote:
On Saturday, 21 October 2017 at 20:17:12 UTC, NX wrote:
I was working on some sort of math library for use in
graphical computing and I wrote something like this:
const float PiOver2 = (atan(1.0) * 4) / 2;
Interestingly enough, I r
On Monday, 30 October 2017 at 10:53:33 UTC, Kagamin wrote:
On Saturday, 28 October 2017 at 15:42:00 UTC, Adam D. Ruppe
wrote:
Why do you want 64 bit? I very rarely do 64 bit builds on
Windows (mostly just to make sure my crap actually works)
since there's not actually that many advantages to it
On Saturday, 18 November 2017 at 19:22:25 UTC, Meta wrote:
On Saturday, 18 November 2017 at 16:21:30 UTC, Eljay wrote:
On Monday, 28 March 2011 at 18:59:03 UTC, Walter Bright wrote:
On 3/27/2011 10:35 PM, Jonathan M Davis wrote:
I'll be _very_ excited to have both the destructor issues
and the
On Sunday, 19 November 2017 at 21:19:58 UTC, Meta wrote:
On Sunday, 19 November 2017 at 12:54:37 UTC, Basile B. wrote:
Good question, it's even not in the changelog:
https://www.google.fr/search?domains=dlang.org&dcr=0&biw=1280&bih=635&tbs=qdr%3Ay&ei=H34RWpKDPIzTgAatnqK4DA&q=body+do+site%3Adlan
Hello, most of the changes made during the current year to the
std.experimental.logger package are related to the cosmetic
style. Isn't this a sign showing that the experimentation is
achieved ?
Facts:
- There only 4 issues for logger -
https://issues.dlang.org/buglist.cgi?bug_status=UNCONFI
On Wednesday, 29 November 2017 at 21:14:57 UTC, Claude wrote:
On Wednesday, 29 November 2017 at 14:32:54 UTC, Basile B. wrote:
Hello, most of the changes made during the current year to the
std.experimental.logger package are related to the cosmetic
style. Isn't this a sign showing that the exp
On Friday, 1 December 2017 at 15:51:42 UTC, Claude wrote:
On Thursday, 30 November 2017 at 09:39:20 UTC, Basile B. wrote:
On Wednesday, 29 November 2017 at 21:14:57 UTC, Claude wrote:
On Wednesday, 29 November 2017 at 14:32:54 UTC, Basile B.
wrote:
Did I miss anything?
Sorry but yes, i think
On Monday, 4 December 2017 at 20:33:56 UTC, thinwybk wrote:
Hi everyone,
as far as I know there is a statement coverage analyzer built
into DMD https://dlang.org/code_coverage.html . Are there code
coverage analyzers for D which support branch coverage and
other more advanced coverage metrics
On Wednesday, 6 December 2017 at 03:15:38 UTC, Walter Bright
wrote:
On 12/5/2017 2:55 AM, Basile B. wrote:
On Monday, 4 December 2017 at 20:33:56 UTC, thinwybk wrote:
Hi everyone,
as far as I know there is a statement coverage analyzer built
into DMD https://dlang.org/code_coverage.html . Are
On Wednesday, 6 December 2017 at 15:08:53 UTC, David Gileadi
wrote:
On 12/6/17 6:41 AM, Nemanja Boric wrote:
On Wednesday, 6 December 2017 at 04:11:33 UTC, Walter Bright
wrote:
https://help.github.com/articles/basic-writing-and-formatting-syntax/
Anyone interested in picking up the flag?
(I k
On Friday, 29 December 2017 at 07:53:51 UTC, IM wrote:
I will start:
[...]
Simple things like these make a big difference. D Lang has been
around for a long while now, and hence signs of its maturity
has to show everywhere, especially in the compiler, as well as
the package manager.
I casual
1 - 100 of 389 matches
Mail list logo