On Sunday, 25 June 2017 at 10:50:17 UTC, Igor wrote:
percent of developers needing memory management. The games
industry is growing like crazy [1][2] and after all these years
C++ is still the main language for that except that today 99%
of those developers have many bad things to say about it.
I may be wrong, but I think that refactoring an existing web
library, renaming the imports of an existing GUI library, and
making a few "marketing" changes to the D web site to make it
more beginner-friendly would not require much man-power, while
this may have the potential to make a HUGE impa
On Mon, Jun 26, 2017 at 12:38:21AM +, Mike via Digitalmars-d wrote:
> On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote:
> > Can you share feature(s) in D people are not talking about which
> > you've found very useful?
>
> In my experience, using appropriate attributes for functions,
> va
Which version of the compiler? Which version of Windows? I'm on
Windows 10 with 2.074.1 currently and never seen it with any
version of DMD.
DMD is 2.074.1, windows10 pro (10.0.14393)
On Monday, 26 June 2017 at 01:55:56 UTC, Matt wrote:
Hey guys,
New user here. I know the first 5 minutes experience is
important, just to note that rdmd.exe and executables created
with dmd.exe are flagged as malicious by windows defender. It's
easy to create an exception in the windows defen
On Monday, 26 June 2017 at 01:55:56 UTC, Matt wrote:
New user here. I know the first 5 minutes experience is
important, just to note that rdmd.exe and executables created
with dmd.exe are flagged as malicious by windows defender. It's
easy to create an exception in the windows defender settings
Hey guys,
New user here. I know the first 5 minutes experience is
important, just to note that rdmd.exe and executables created
with dmd.exe are flagged as malicious by windows defender. It's
easy to create an exception in the windows defender settings, but
I thought I would let you know.
On Saturday, 24 June 2017 at 23:05:58 UTC, jmh530 wrote:
On Saturday, 24 June 2017 at 19:17:24 UTC, bachmeier wrote:
Just this morning I got things working on Windows. Now that
all three major platforms have support, it is as reasonable to
create an R package with D functions as C, C++ or For
On Sunday, 25 June 2017 at 12:10:02 UTC, Timon Gehr wrote:
The path of least resistance is to use existing language
constructs, i.e.
out result => assert(result > 0)
Andrei
This would face quite some resistance, on the following grounds:
out(result){ assert(result > 0); } // exists
out res
On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote:
Can you share feature(s) in D people are not talking about
which you've found very useful?
In my experience, using appropriate attributes for functions,
variables, etc... doesn't happen like it should. This includes
attributes like `@saf
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
[ ... ]
I finally came around and implemented 64bit as a hacky extension
to the interpreter.
ulong[5] testArrayAssignL()
{
typeof(return) arr = 12;
arr[3] = 4;
arr[0] = 1;
return arr;
}
static immutable arrL =
On Sunday, 25 June 2017 at 23:21:25 UTC, aberba wrote:
Can you share feature(s) in D people are not talking about
which you've found very useful?
I actually like anonymous classes. D took it from Java and D has
a lot of other ways to do it too, but I've found anonymous
classes to be nice with
Can you share feature(s) in D people are not talking about which
you've found very useful?
On Sunday, 25 June 2017 at 17:38:14 UTC, mckoder wrote:
Exceptions that can be thrown by a method should be part of the
contract of that method. Changing the list of the list of
exceptions that can be thrown by a method is just like changing
the parameters of the method. This is something that
On Sunday, 25 June 2017 at 17:59:02 UTC, Petar Kirov [ZombineDev]
wrote:
So what about something like this:
T sqrt(T)(T n)
where U is Unqual!T: isNumeric!U || is(U == BigInt)
require: n >= 0
ensure result: result * result == n
{
//Implementation
}
Assuming that in this particular case there
http://forum.dlang.org/post/ullvxbfqeuztwecxc...@forum.dlang.org
On Sunday, 25 June 2017 at 17:38:14 UTC, mckoder wrote:
I am disappointed that D doesn't have checked exceptions.
C++ and C# also don't have checked exceptions. Java has checked
exceptions. Having programmed extensively in all th
On Sunday, 25 June 2017 at 16:50:38 UTC, Moritz Maxeiner wrote:
[...]
Just to be clear, I think that at least for now
out(result; result > 0, "worse enough")
is the best solution, and I support it.
Everything else are just some random ideas that I'm not pushing
strongly.
As expected, my prop
I am disappointed that D doesn't have checked exceptions.
C++ and C# also don't have checked exceptions. Java has checked
exceptions. Having programmed extensively in all these languages
I can say with confidence that checked exceptions is the most
important thing missing in C++ and C#. Around
On Monday, 19 June 2017 at 15:07:12 UTC, Jack Stouffer wrote:
On Monday, 19 June 2017 at 13:24:00 UTC, Russel Winder wrote:
The former is not a problem for D, but the latter…
Disagree. One of D's biggest competitive advantages is fast
compilation of fast code. If other languages become as fas
On 25.06.2017 17:46, Petar Kirov [ZombineDev] wrote:
On Sunday, 25 June 2017 at 12:10:02 UTC, Timon Gehr wrote:
On 25.06.2017 13:37, Andrei Alexandrescu wrote:
On 6/23/17 6:52 PM, jmh530 wrote:
On Friday, 23 June 2017 at 17:31:15 UTC, MysticZach wrote:
OutExpression:
out ( ; AssertParamete
On Sunday, 25 June 2017 at 15:46:12 UTC, Petar Kirov [ZombineDev]
wrote:
out result > 0 // perhaps the best
How would you handle things like this:
T minimum(T)(RedBlackTree!T tree)
in (!tree.empty)
out result in (tree)
{
return tree.front;
}
That could either mean "out(result){assert(resu
On Sunday, 25 June 2017 at 15:46:12 UTC, Petar Kirov [ZombineDev]
wrote:
out result => result > 0 // not much worse
out __result > 0 // even better (__result works at least since
[0])
I suggested adding a shorter / better looking contextual
keyword -
`result` - a while ago [1]:
---
out res
On Tuesday, 20 June 2017 at 11:49:49 UTC, Jacob Carlborg wrote:
You need to move to 64bit. Apple is already deprecating support
for 32bit apps and after the next version of macOS (High
Sierra) they're going to remove the support for 32bit apps.
There are other 32-bit platforms that are going t
On Sunday, 25 June 2017 at 12:10:02 UTC, Timon Gehr wrote:
On 25.06.2017 13:37, Andrei Alexandrescu wrote:
On 6/23/17 6:52 PM, jmh530 wrote:
On Friday, 23 June 2017 at 17:31:15 UTC, MysticZach wrote:
OutExpression:
out ( ; AssertParameters )
out ( Identifier ; AssertParameters )
Why not
On Saturday, 24 June 2017 at 18:12:43 UTC, Dmitry Olshansky wrote:
I still think that separate pool types is better, see eg
jemalloc.
Right now this leads to some inflation of RSS cause previously
used and now freed pages can only be reused when the whole pool
(e.g. 4MB or 16MB) is free again
On 25.06.2017 13:37, Andrei Alexandrescu wrote:
On 6/23/17 6:52 PM, jmh530 wrote:
On Friday, 23 June 2017 at 17:31:15 UTC, MysticZach wrote:
OutExpression:
out ( ; AssertParameters )
out ( Identifier ; AssertParameters )
Why not?
OutExpression:
out ( AssertParameters )
out ( Ident
On Sunday, 25 June 2017 at 11:37:07 UTC, Andrei Alexandrescu
wrote:
On 6/23/17 6:52 PM, jmh530 wrote:
On Friday, 23 June 2017 at 17:31:15 UTC, MysticZach wrote:
OutExpression:
out ( ; AssertParameters )
out ( Identifier ; AssertParameters )
Why not?
OutExpression:
out ( AssertParamet
On 6/23/17 6:52 PM, jmh530 wrote:
On Friday, 23 June 2017 at 17:31:15 UTC, MysticZach wrote:
OutExpression:
out ( ; AssertParameters )
out ( Identifier ; AssertParameters )
Why not?
OutExpression:
out ( AssertParameters )
out ( Identifier ; AssertParameters )
The path of least re
Maybe I am wrong but I get a feeling from posts in this thread
that some people are greatly underestimating the size of some
segments, like mentioning niche C++ programmers and only 0.01%
percent of developers needing memory management. The games
industry is growing like crazy [1][2] and after
Am 25.06.2017 um 01:01 schrieb Wulfklaue:
On Saturday, 24 June 2017 at 22:16:11 UTC, Wulfklaue wrote:
Attempt 1:
Attempt 2:
Attempt 3:
Attempt 4:
Attempt 5:
=
Almost forgot to mention, this was done under Windows ( where the inline
does not work ). It works under Linux but that is a d
Reading all the above posts on how to use vibe.d for a two line
web server was very interesting.
I still think that it's more simple to do it with Go and with D,
but I may be wrong, as I'm currently using Go for web
development, and not D, for the reasons above.
And I see that not many peopl
31 matches
Mail list logo