On Sunday, 14 May 2017 at 16:08:59 UTC, Ola Fosheim Grøstad wrote:
On Saturday, 13 May 2017 at 13:55:17 UTC, Russel Winder wrote:
anecdotal, there is no statistically significant data. But
then Reddit is mostly opinion and advocacy research.
In my experience /r/programming has rather poor qual
On Sun, 31 Oct 2010 14:12:04 -0700, Walter Bright
wrote:
Sometimes I feel people are just waiting around, wanting to use D,
but waiting
for someone else to make the first move. It's like a dance club,
where everyone
With Python what happened for some years was that some companies were
using
Walter Bright Wrote:
> bearophile wrote:
> > Another diagnostic feature is to not just use the caret (we have discussed
> > about it time ago) but it also underlines the wrong part:
> >
> > t.c:7:39: error: invalid operands to binary expression ('int' and 'struct
> > A')
> > return y + fu
On Sat, 23 Oct 2010 16:09:37 +0100, Peter Alexander
wrote:
thread about what the best things are that the community can do to
help D.
And easy target would be to improve the documentation with better
explanations for D outsiders and more examples. This way Walter et
all could devote more tim
On Fri, 22 Oct 2010 06:33:33 -0400, bearophile
wrote:
The @tagged attribute for unions is an additive change. Even if you
don't implement it now, people have the freedom to design and think
about it.
I hope this forum still can be used to discuss aditive changues. We
don't expect Walter et
On Thu, 21 Oct 2010 15:26:14 +0100, Bruno Medeiros
wrote:
* And as for what D programmers think of other languages, well, it
seems
I guess D view of C++ could be rendered as an alcoholic father while
D view of C++ would be a fashion victim son.
On Thu, 21 Oct 2010 15:45:55 -0400, bearophile
wrote:
On the other hand, currently there are many D2 features that are
unfinished and buggy, so adding even more stuff is not a good idea.
And I think named arguments are a purely additive change. So Walter
may add them later when the current fea
On Thu, 21 Oct 2010 10:51:14 -0700, Walter Bright
wrote:
http://news.ycombinator.com/item?id=1814887
Some commentary on D there.
I always enjoy a good rant about some language. When I'm intrigued
by some language rants are the first things I google.
I wish Go, sorry, D had named argum
On Sun, 17 Oct 2010 19:15:48 +1000, "Daniel Murphy"
wrote:
I wrote some code a while back that lets you forward a windows
callback to
any delegate. It might be a good starting point for what you want.
http://yebblies.com/thunk.d
Thanks genious ;)
On Sat, 16 Oct 2010 11:57:36 -0400, "Steven Schveighoffer"
wrote:
auto dg = &obj.method;
auto fptr = dg.funcptr;
auto context = dg.ptr;
Note, you cannot call fptr, you will get a runtime error.
Thanks, I'll play with it to see if I can make this work in my code.
On Sat, 16 Oct 2010 09:30:27 +0200, "Christof Schardt"
wrote:
auto d = as!Drawable(c);
My turn:
auto d = implements!Drawable(c);
On Sat, 16 Oct 2010 14:42:13 + (UTC), dsimcha
wrote:
delegate with minimal overhead. This mitigates the situation a
lot, since if an
API requires a delegate and you have a function pointer, you just
do a
toDelegate(someFunctionPointer).
Sorry for asking here something that should go t
On Sat, 16 Oct 2010 10:36:48 +0200, "Paulo Pinto"
wrote:
No one in his perfect mind would say that C is not a systems
programming language, but it fails the Juanjo's checkpoint list,
hence my reply.
In my defense I must say that I never used a C compiler without an
inline assembler.
On Thu, 14 Oct 2010 23:30:02 +1100, Justin Johansson
wrote:
Touted often around here is the term "systems language".
May we please discuss a definition to be agreed upon
for the usage this term (at least in this community) and
also have some agreed upon examples of PLs that might also
be members
On Thu, 14 Oct 2010 01:30:42 +0200, Juanjo Alvarez
wrote:
signatures. Adding more (or just adding some where they're missing).
Truncated sentence, I wanted to say that adding more asserts would
not hurt.
On Wed, 13 Oct 2010 16:42:35 -0400, "Steven Schveighoffer"
wrote:
Even though I consider myself a reasonable parser of function
templates,
sometimes in std.algorithm, I'll stare at a function signature for
about
10 minutes trying to figure out whether I can do what I want, give
up and
f
Michael Stover Wrote:
> Elephant appears dead. Poseidon's activity is extremely low and is still
> alpha after 5 years. LEDS is even less active, and DDT doesn't have a release
> yet. What do actual D programmers use?-Mike
I don't want to sound like one of those Unix condescending users
(htt
On Tue, 12 Oct 2010 17:31:50 -0400, Jesse Phillips
wrote:
I did actually do a big cleanup and removed a hug amount of
obsolete content.
It would also be nice to have the libraries sorted by D's version.
On Sun, 10 Oct 2010 00:46:47 -0700, Jonathan M Davis
wrote:
working on the project without getting too frustrated over it. QtD
is a huge
service to the D community.
It is. Qt bindings were the first thing I looked for when I started
with the language, even with my current project not using
On Sun, 10 Oct 2010 13:04:57 +0900, Jordi wrote:
Sorry, shameful mistake with my shell script skills. It is 50K
lines :|
Mine is 4000 lines, having started to learn D from Andrei's book
three weeks ago. D is not perfect but for me is perfect enough and
will no doubt be my favorite general pu
On Fri, 08 Oct 2010 16:11:53 -0400, bearophile
wrote:
This syntax you have explained doesn't do what you think it does:
a, b, c, _ = ('tuple', 'of', 'three')
That was a typo, I meant to write:
a, b, _ = ('tuple', 'of', 'three')
Steven Schveighoffer Wrote:
> On Thu, 07 Oct 2010 21:18:56 -0400, Juanjo Alvarez
> wrote:
>
> > On Thu, 7 Oct 2010 15:53:13 -0700, Jonathan M Davis
> > wrote:
> >> Except that when you're dealing with generic code which has to deal
> > with
> >
Pelle Wrote:
> On 10/08/2010 03:18 AM, Juanjo Alvarez wrote:
> > On Thu, 7 Oct 2010 15:53:13 -0700, Jonathan M Davis
> > wrote:
> >> Except that when you're dealing with generic code which has to deal
> > with
> >> multiple container types (like std.a
On Thu, 7 Oct 2010 15:53:13 -0700, Jonathan M Davis
wrote:
Except that when you're dealing with generic code which has to deal
with
multiple container types (like std.algorithm), you _need_ certain
complexity
guarantees about an operation since it could happen on any
container that it's
Th
On Thu, 07 Oct 2010 15:14:12 -0400, bearophile
wrote:
This is false both in Python2 and Python3.
What is exactly false on what I said?
a, *bc = ('tuple', 'of', 'three')
Yes, that's the syntax for assignment of the remainder, I was
speaking about *ignoring* the remainder without having i
Justin Johansson Wrote:
> Naturally YMMV depending on the language translator that you use,
> and, as you have appropriately noted, your mileage experience is
> not climate-change friendly.
46 bytes on Linux, using serious hackery; interesting & funny read:
http://www.muppetlabs.com/~breadbox/s
retard Wrote:
> Why do tuple fields need a name? Isn't this a new ad-hoc way to introduce
> structural typing in D? I often start with tuples, but if it turns out
> that the value is used in many places, it will be eventually replaced
> with a struct (e.g. coordinates in a gui / gamedev) for b
Denis Koroskin Wrote:
> That's because Python is not a strictly typed language. With proper type
> propagation compiler helps you writing code the way in meant to be. E.g.
> the following:
>
> (a, b, c, d) = ('tuple', 'of', 'three')
>
> could be statically disabled, but there is nothing wro
Bruno Medeiros Wrote:
> On 06/10/2010 22:47, Juanjo Alvarez wrote:
> > On Wed, 06 Oct 2010 16:55:40 +0100, Bruno Medeiros
> > wrote:
> >> Reading newsgroups on phone would suck. I already get a bit
> >> uncomfortable reading them on my laptop (without a per
On Wed, 06 Oct 2010 23:04:35 -0700, Walter Bright
wrote:
(a,0)[0]
as how a user could generate a tuple of 1. Awkward, sure, but like
I said, I
think this would be rare.
Python uses:
(5,)
Which is a lot better IMHO
On Wed, 06 Oct 2010 10:21:58 -0500, Andrei Alexandrescu
wrote:
also positive (see http://tinyurl.com/2ewh8eq).
404 Not Found.
Should I open a bug report? ;)
On Wed, 06 Oct 2010 16:55:40 +0100, Bruno Medeiros
wrote:
Reading newsgroups on phone would suck. I already get a bit
uncomfortable reading them on my laptop (without a peripheral
monitor or
mouse).
Not worse than reading email on a phone,trough the experience is
course worse than on a com
On Tue, 05 Oct 2010 16:30:59 +0100, Bruno Medeiros
wrote:
I don't know about the rest of people here in the NG, but actually
I
would hope bearophile would post much less often, especially when
its
I like to read his posts. If you used a NNTP reader on a smartphone
(like, SPAM, the one I wro
On Tue, 5 Oct 2010 17:59:26 + (UTC), retard
wrote:
I assume all of them (the latest versions, of course) start in less
than
3.5 seconds. I pondered this a bit and am now willing to buy Don's
magic
computer. I really do have need for a laptop that can launch those
applications in less tha
On Tue, 05 Oct 2010 23:59:20 +1100, Darth Tango
wrote:
Exackaly. Tango rulez.
May the meta-force be beside you.
:-) Darth
My Lord, how is the migration of Tango to D2 going? The last commit I
saw on the experimental branch was pretty old.
On Mon, 04 Oct 2010 14:28:32 +0200, Don wrote:
may lose interest in the language because of it alone. (The others
are
bug 3516 and 2451).
Eh, I was bitten but 2451 yesterday and actually had to change a lot
of function signatures and rethink my code to avoid it. I hope is
fixed soon.
On
On Tue, 28 Sep 2010 19:36:32 + (UTC), retard
wrote:
other languages. However, please consider that C# is *higher* level
language than D and that means it by definition has better
portability to
multiple platforms. You already have a C# virtual machine for all
major
LOL. I've never been
On Tue, 28 Sep 2010 19:36:32 + (UTC), retard
wrote:
That's pretty awesome. You have maybe 0.001% of the libraries
directly
I have a lot more libraries in D than in Python. In C.
[bla bla bla, bad sarcasms, bla bla bla]
at least 100 times more productive than with Python. You can write
On Tue, 28 Sep 2010 13:22:09 -0400, bearophile
wrote:
The main and maybe only advantage of D over C# is that it's
multi-platform. But today the Web is very important, and D can't be
used in browers.
And performance, (most of the time) . And memory usage.
On Mon, 27 Sep 2010 21:28:16 -0700, Walter Bright
wrote:
be found to tout it, it will be ineffective. This is because
everyone touts
their language as "more productive". People just see "more
productive" and their
brain just skips over it without it even entering their conscious
thought.
W
On Sun, 26 Sep 2010 17:00:23 -0700, Walter Bright wrote:
> The problem is, the BSD license *is* viral. If I look at BSD licensed
> code, and someone accuses me of incorporating bits of it into Phobos,
> then those bits must
> be removed or Phobos becomes BSD licensed and so every user gets
>
On Sun, 26 Sep 2010 14:04:54 -0700, Walter Bright
wrote:
If nobody cares about it, why force it on people? I just don't get
it. What's
I said that nobody looks there, not that nobody cares. Obviously the
authors of the BSD licensed code care.
the benefit of the binary attribution clause? Wh
On Sun, 26 Sep 2010 14:15:40 -0700, Walter Bright
wrote:
Our choices are for anyone distributing a D app, commercial or not:
Ok. I was not arguing for changing D's license to BSD but about not
worrying so much about looking at BSD code or incorporating the
occasional bit of code. AFAIK the
On Mon, 20 Sep 2010 14:14:09 -0400, "Steven Schveighoffer"
wrote:
another company that is completely proprietary. LLVM has some
possible
connection to interject and say "you have to give LLVM developers
credit,"
even if Walter didn't copy any code. Yeah, it's ridiculous and
absurd,
Wel
On Thu, 23 Sep 2010 09:53:33 +0200, Don wrote:
No, but you have to include the license WITH the executable (in the
'documentation and other materials'). Which is fine if in fact
there are
'documentation and other materials'. But it would seem to prohibit
distribution of a bare executable.
Y
On Fri, 17 Sep 2010 14:33:30 -0700, Walter Bright
wrote:
Exactly. Much of that can be summed up as D being intended for
professional
production use, rather than:
Anyway you can't ignore D's productivity. As a newcomer after one
week learning and toying with D my productivity is about 70% of
On Wed, 15 Sep 2010 15:34:47 -0400, "Nick Sabalausky" wrote:
> So does everyone else; you will be a *
I've always wanted to be a pointer!
Ok, but Try{ ! to be a void* } :)
47 matches
Mail list logo