On Monday, 22 June 2015 at 16:33:43 UTC, Assembly wrote:
Does D has an equivalent to C#'s iterator
(https://msdn.microsoft.com/en-us/library/65zzykke.aspx)? if
so, where can I find it?
What I want is loop over a user-defined class/struct. In case
of C#, I just implement the IEnumerable and th
On Saturday, 14 April 2012 at 20:58:01 UTC, Somedude wrote:
Le 14/04/2012 21:53, q66 a écrit :
On Saturday, 14 April 2012 at 19:05:40 UTC, ReneSac wrote:
I have this simple binary arithmetic coder in C++ by Mahoney
and
translated to D by Maffi. I added "notrow", "final&qu
Forgot to mention specs: Dualcore Athlon II X2 240 (2.8GHz), 4GB
RAM, FreeBSD 9 x64, both compilers are 64bit.
On Saturday, 14 April 2012 at 19:05:40 UTC, ReneSac wrote:
I have this simple binary arithmetic coder in C++ by Mahoney
and translated to D by Maffi. I added "notrow", "final" and
"pure" and "GC.disable" where it was possible, but that didn't
made much difference. Adding "const" to the Predict
On Monday, 9 April 2012 at 17:24:35 UTC, Andrej Mitrovic wrote:
On 4/9/12, q66 wrote:
Positional specifier works just fine for me.
Which version are you using? I'm on 2.058.
git
On Monday, 9 April 2012 at 17:09:03 UTC, Andrej Mitrovic wrote:
import std.string;
void main()
{
string foo = "foo";
string bar = format("%s %s %s", foo);
}
format expects 3 arguments, but what I really want is foo to be
used
for all 3 specifiers and not repeat 'foo' 3 times manually.
On Saturday, 7 April 2012 at 17:48:14 UTC, vmars316 wrote:
Greetings,
I am getting interested in D.
Pls, what License is for D setup.
Is it free?
Also, what operating systems can D run on?
Win7, Mac,?
Thanks...Vernon
Runs on Windows (x86), Linux (x86, 86_64), OS X (x86, x86_64) and
On Thursday, 5 April 2012 at 17:22:38 UTC, Minas wrote:
Many of you should know the website "projecteuler.net", where
there are mathematical problems to solve with computers.
I am doing those in D, and after I finished one today, I
decided to compile it in C as well to compare the results.
T
== Quote from Dmitry Olshansky (dmitry.o...@gmail.com)'s article
> On 27.07.2011 15:21, simendsjo wrote:
> > A simple hello world like dfl application takes 1.2mb. Upx does a
> > great job packing this to 200k, but I wonder if there is a way to make
> > optlink generate smaller executables?
> >
> >