Chris @ 2014-01-28 15:06:
However, I don't think that you can easily compare the world of
software development with other areas.
Possibly suing is not that common, but i find music and software
development extremely similar in terms of creation. Even if you're not
that much into music, you
On Tuesday, 18 December 2012 at 14:47:55 UTC, Walter Bright wrote:
On 12/18/2012 5:32 AM, Gor Gyolchanyan wrote:
Good day, fellow D developers.
After spending much time figuring out how to make DMD work
fluently under 64-bit
Windows 7 I've realized that this is not a trivial task and
lots of
W dniu 2012-12-09 07:13, Maxim Fomin pisze:
I agree that moving from prowiki to mediawiki is a good idea, but new
site is just almost empty
(http://dwiki.kimsufi.thecybershadow.net/?title=Special:RecentChangesdays=30from=limit=500
see also
W dniu 2012-12-09 14:21, Maxim Fomin pisze:
Are you actually asking to make Vladimir's wikisite accessible at
wiki.dlang.org (or moving its database to mediawiki instance located
at wiki.dlang.org)? Probably this is a good idea even assuming that
the site is just almost empty - it can be
W dniu 2012-08-17 23:12, ref2401 pisze:
can i use D2 for commercial project?
Of course you can write your commercial and private project in D2.
style overtime, but i'm afraid to rely on
compiler optimizations so highly.
Anyways, i don't feel like i could write big part of my code pure
functional yet, so i'd like to learn about it at least a bit more.
Thanks,
Mariusz Gliwiński
On Thursday, 19 January 2012 at 22:36:17 UTC, Sean Kelly wrote:
Thanks :-) If you have ideas on how it could be improved,
please let me know.
I don't know whether it's good or not, but in my system based on
std.concurrency:
* i had to add in-thread messaging in case when there will be
more
Andrei Alexandrescu wrote:
I don't think such a feature has a huge potential use. I honestly think
it's a meh feature. It's a feature for defining elaborate literals,
and for that we have the shock and awe of mixin and CTFE.
Actually, i already needed it few times in my D project (and still
David Nadlinger wrote:
Could you show a few examples? I'm just curious, because I wrote a
sizable chunk of D code, often incorporating some form of compile time
magic, and never felt the need for it.
I'd rather avoid that because code i'm writing isn't a state of art, so you
might neglect my
] garbage;
this(ubyte size) {}
this(S n) {}
}
void main() {
send(thisTid, Variant(S(1)));
}
/code
runtime
core.exception.AssertError@/usr/include/d/std/variant.d(279): target must be
non-null
runtime
Regards,
Mariusz Gliwiński
Dnia niedziela, 9 października 2011 00:13:29 Jonathan M Davis pisze:
Part of your problem may be that D doesn't use copy constructors. Rather, it
has postblit constructors:
Yes, i know about naming difference and behavioral difference.
It's not a problem for me anymore, this post is for people
MsgA:
case MsgB:
case MsgC:
}
inside my Listener class?
In other words, can i call
MANY - SINGLE - MANY
via dynamic pointer(vtable) rather than static branching?
Thanks,
Mariusz Gliwiński
Jonathan M Davis wrote:
On Tuesday, August 30, 2011 08:57:53 Mariusz Gliwiński wrote:
[...]
code
interface Interface
{
void method(Interface);
}
class Class : Interface
{
void method(Class) {}
}
void main() {}
/code
This particular example is not a bug. [...]
You're absolutely
code
interface Interface {
Interface method();
}
class Class : Interface {
override Class method() {}
}
/code
DMD complains it isn't overriding. How should it be according to
specification, and how about making it legal?
object, that implements interface
a child object, i'm sorry for that.
Thanks,
Mariusz Gliwiński
Jonathan M Davis wrote:
This seems to compile just fine:
interface Interface
{
Interface method();
}
class Class : Interface
{
Class method() {return new Class;}
}
The problem is the override keyword. _No_ overriding is going on. _That's_
why it's complaining.
I'm sorry - i
Ali Çehreli wrote:
To solve it for this specific case, you can overload attribute() to take
int[]:
I know, but i don't really want to. Too many overrides or templates, but
i'll consider it if wont find any better solution.
Thanks,
Mariusz Gliwiński
did in C++ much faster (because of
bugs and libs, not a language) slowly stops being recompensated by elegance of
code i can write with D and highly skilled community as you are.
What's your opinion?
Sincerely,
Mariusz Gliwiński
bearophile wrote:
Mariusz G.:
So, on my Linux x64 dmd 2.53 2.54, while hunting another bug (i already
highly doubt it's my) - i've found this one:
I can't reproduce the problem on 2.055head on 32 bit Windows.
DMD 64 bit is relatively recent, it contains several bugs still.
More -
both languages are designed like
that, but it would be great to know it.
Sincerely,
Mariusz Gliwiński
should probably be opened about that if it doesn't
already exist.
I'm happy now. you understand me properly. My complaint is about fact, that
Child isn't required to be marked with abstract.
Thanks,
Mariusz Gliwiński
* implementations
How to make in my D library possibility of configurable instantiation (lookup
at compile time) by having only interface at client side?
Thanks,
Mariusz Gliwiński
Is this bug, or is it as supposed to be? I'm not sure...
code
interface TmpI(T) {
void func(T);
}
class TmpC {}
class TmpC2 : TmpC {}
class Tmp : TmpI!TmpC2 {
void func(TmpI!TmpC) {};
}
void main(string[] args) {
auto inst = new Tmp;
inst.func(new Tmp);
}
/code
Error: function
What are the differences between class instantiated by scope and struct
itself?
Two, that comes to my mind are:
- vtable existance (yep, struct with inheritation - that's what i like)
- lol, i just forgot while writing this e-mail
:)
Sincerely,
Mariusz Gliwiński
).
Unfortunately, the worse case is about methods, which have to be
manually forwarded to contained struct.
So, does someone sees any nice solution for method forwarding as
described? Should i make use of some mixin's?
Thanks,
Mariusz Gliwiński
size(); //
*/
class A : Sizeable {
public int size = 0; // Error: Does not implements int size()
}
class B : Sizeable {
public int size() { return 0; }
}
/code
Is it possible to make it work?
Best regards,
Mariusz Gliwiński
and profiling, but i suppose
people already published general rules that i could apply for my
programming.
Thanks,
Mariusz Gliwiński
caricaturizing my current
worries about the language, and if I'm missing something - please hint
me what.
Sincerely,
Mariusz Gliwiński
or something else?
Thanks,
Mariusz Gliwiński
_handle defined, even if it's
defined few lines above. Am i doing something wrong?
Thanks,
Mariusz Gliwiński
downloadable again, please :)
Sincerely,
Mariusz Gliwiński
signature.asc
Description: This is a digitally signed message part.
Friday 24 December 2010 @ 18:36:08 Caligo:
I forgot to ask, what version of DMD are you using?
2.049
signature.asc
Description: This is a digitally signed message part.
): Assertion `pr != PREC_zero' failed./code
while the book states it should return bool, which typeof() supports
Digital Mars D Compiler v2.049
Copyright (c) 1999-2010 by Digital Mars written by Walter Bright
Documentation: http://www.digitalmars.com/d/2.0/index.html
Sincerely,
Mariusz Gliwiński
about undefined module initialization?
Or maybe there is any way to overcome this problems, since I'm still new @ D
language.
Ps. How to make associative array of dynamic arrays?
codeMsgHandler[hash_t][] _handlers = new MsgHandler[hash_t][];/code
wont work.
Thanks for help,
Mariusz Gliwiński
, it works, but it defeats the purpose. So what's
wrong with the code?
It works for DMD, I think it's a GDC bug (i'm new in D too, so i might be
wrong). Keep in mind that GDC implements only D 1.0 and book has D 2.0 code.
Sincerely,
Mariusz Gliwiński
signature.asc
Description: This is a digitally
it right now, and will be
needing to develop `const` supporting script I would advice anyone else to
check SWIG for D, because it's worth it.
Cheers,
Mariusz Gliwiński
signature.asc
Description: This is a digitally signed message part.
Dnia wtorek 21 grudzień 2010 o 23:08:34 Jonathan M Davis napisał(a):
On Tuesday, December 21, 2010 13:58:02 Mariusz Gliwiński wrote:
Hello,
Why don't You make htod opensource? I don't think it has commercial
potential, or I'm wrong? I'm asking, because it's a shame that people who
wants
be preferred, but anything appreciated)
Cheers,
Mariusz Gliwiński
signature.asc
Description: This is a digitally signed message part.
anywhere. This code didn't worked, could you refresh
my memory?
Thanks,
Mariusz Gliwiński
On 2010-09-18 00:40, Steven Schveighoffer wrote:
On Fri, 17 Sep 2010 18:37:09 -0400, Mariusz Gliwiński
alienballa...@gmail.com wrote:
Basically picking just right parameter while other have default. But
now I can't find syntax anywhere. This code didn't worked, could you
refresh my memory?
D
On 2010-09-11 15:13, Simen kjaeraas wrote:
Why does the function expect a char*? If it is an external C function,
and it might change the passed values, you should make a duplicate
mutable string, or use char[] in lieu of string.
If it is an external C function that will *not* change the passed
41 matches
Mail list logo