On 04/16/11 22:41, Spacen Jasset wrote:
So what do people currently use for C and C++ then?
Not sure, but both #cpp and #cplusplus seem to be popular.
As for D, I think we have settled down in #d_lang.
Looks clean and professional. I like it.
A typo: In Cheat Sheet / Iteration / group,
tuple(5, 1) is written twice.
On 06/25/2010 07:10 AM, Walter Bright wrote:
http://www.drdobbs.com/blog/archives/2010/06/the_x_macro.html
Interesting technique that I haven't heard of. However one of my
friends, a lead programmer at Sega, says they use similar technique
extensively in C++; actually they avoid overusing
Received a collector's edition from Amazon Japan, here in Tokyo!
Hi,
Being happy to see issue 3415 (broken JSON format) fixed,
I have written a utility to convert DMD2's JSON output
to Exuberent Ctags format. This enables you to tagjump in Vim
and other editors/IDEs. It's just 150+ lines, thanks to D2's
powerful string handling. Enjoy!
On 05/07/2010 01:48 AM, Andrei Alexandrescu wrote:
I wonder if this is of enough general utility to warrant inclusion
within the D distribution, along with rdmd. Thoughts?
That's my pleasure, actually!
One small suggestion, Masahiro: you may want to replace the file reading
loop in main()
On 03/11/2010 09:42 AM, Andrei Alexandrescu wrote:
The main reason why I went back to Thunderbird 2 is that version 3 eats
too much of my precious screen space, displaying useless information
such as the group a post was posted to. I couldn't find out how to get
the brief subject-poster one line
On 11/16/2009 02:49 AM, Chad J wrote:
So, switch-case statements are a frequent source of nasty bugs. Fixing
them (well) requires breaking backwards compatibility.
Any chance this will happen for D2?
If I remember correctly, one of D's design policies is
that a D code that looks like C code
On 11/16/2009 06:16 PM, Denis Koroskin wrote:
If I remember correctly, one of D's design policies is
that a D code that looks like C code should behave like C.
Are we giving up that policy?
Correction: either behave like C, or raise a compile-time error.
Yes. I should have written a valid D
On 11/16/2009 06:55 PM, Denis Koroskin wrote:
Either I don't know C, or it breaks the switch, not the for-loop. In
both languages. Before *and* after the proposed change.
Arrrgh, please don't mind. My mistake. I'm sorry.
On 11/16/2009 07:05 PM, KennyTM~ wrote:
Check with you compiler. In C the inner break doesn't break the for loop.
Yes that's right. My mistake.
MIURA Masahiro wrote:
I have built QtD r304 (latest) with DMD
2.050,
Of course that's 2.035. I'm screwed by rapid releases :-)
(I do welcome rapid releases, though)
Andrei Alexandrescu wrote:
void push(T value);
in {
auto oldLength = length();
}
out {
assert(value == top());
assert(length == oldLength + 1);
}
Another keyword abuse:
void push(T value);
in {
auto in.oldLength = length();
}
out {
assert(value ==
Jeremie Pelletier wrote:
I also don't believe one model is ruling them all.
Let me clarity this, just in case I have caused an unnecessary
confusion: I think Sean's Erlang-like API is meant to coexist
with the current core.thread, and that you can use one or both
of them to build higher-level
Sean Kelly wrote:
void sendmsg(T)( Pid pid, T val );
final void recvmsg(T...)( Pid pid, T ops );
Pid spawn(T)( T fun );
spawn() is pretty limited so far in that it only spawns threads--I'd
expect that function to end up with multiple overloads at some point.
Interesting. Future spawn()
Walter Bright wrote:
Please post to bugzilla.
Done!
http://d.puremagic.com/issues/show_bug.cgi?id=3368
Jason House wrote:
I hope I'm not spoiling anything, but here are other things I know is going
on:
1. An updated gdb patch was submitted. It was tested against the upcoming
2.032 release (and maybe the D1 equivalent?). Walter has made some tweaks to
how debug info is written.
2. Bartosz
Andrei Alexandrescu wrote:
http://www.reddit.com/r/programming/comments/975ng/diving_into_the_d_programming_language_tdpl/
Thanks for sharing it!
Typos: in section 1.1, there are inchPerFoot's and inchperfoot's.
Walter Bright wrote:
How about #d-lang ?
#dpl ?
I just tested those two.
Although noone else uses #d-lang, it seems that twitter.com
doesn't treat it as a hashtag (because it contains a dash?).
#dpl gives a few false positives.
Is there a common Twitter hashtag for D?
If there isn't any, how about #dlang?
#D and #DMD give too many false positives,
#D_programming_language is ridiculously too long.
I guess that Twitter is not very popular among D fans
Thanks for the new release! Are case ranges limited to 256 cases?
% cat -n foo.d
1 import std.conv;
2 import std.stdio;
3
4 void main(string[] args)
5 {
6 int i = to!int(args[0]);
7
8 switch (i) {
9 case int.min: .. case -1: //
Japanese translation is up at:
http://dusers.dip.jp/modules/wiki/?Learning%2FThe%20Case%20for%20D
We appreciate Andrei's permission to publish the translation.
Andrei Alexandrescu wrote:
Konnichiwa! I hereby grant you permission to translate the article.
Please let me know when you're done, I'll link to the translation.
Thank you, I will contact you when finished.
Turkish translation already done!? What a quick job.
23 matches
Mail list logo