Re: D in the TIOBE top

2011-09-10 Thread Caligo
Weird, the september headline is gone now, and it's showing august headline again.

Re: D in the TIOBE top

2011-09-09 Thread Caligo
D will probably get even more attention once GCC 4.7 Stage 3 begins in a few months (assuming D is going to be part of GCC).

Re: Article about problems & suggestions for D 2.0

2011-08-27 Thread Caligo
On Sat, Aug 27, 2011 at 12:39 PM, Walter Bright wrote: > On 8/27/2011 10:16 AM, Benjamin Thaut wrote: > >> After having used the D 2.0 programming language for a year now and having >> completed 3 projects with it, I wrote a small article about the problems I >> had >> with the D 2.0 programming l

Re: A few comments about D

2011-08-23 Thread Caligo
On Tue, Aug 23, 2011 at 5:48 AM, bearophile wrote: > Paulo Pinto: > > > - the language is still not mature - Andrei's book still does not fully > > replace the language and > > when one browses the mailing lists there are still quite a few features > > being discussed, not clear > > enough what th

Re: What library functionality would you most like to see in D?

2011-08-06 Thread Caligo
product(), combinations(), permutations(), etc, are missing from Phobos.

Re: What does C++ do better than D? - StackOverflow.com

2011-08-04 Thread Caligo
FWIW, there is now http://codegolf.stackexchange.com/ There aren't that many D solutions, but the ones I've found are better than the C++ ones in many ways. It's just a good place to compare and contrast programming languages solving the same problems.

Re: ldc and gdc

2011-08-04 Thread Caligo
On Thu, Aug 4, 2011 at 9:09 AM, Alex Rønne Petersen wrote: > On 04-08-2011 15:43, Adam Ruppe wrote: > >> LDC and GDC are both alive and pretty well up to date with D2. They >> have some advantages that make them favored to some people. >> >> But, they are kinda hard to find and get to a point wher

Re: D question on bioinformatics stackexchange site

2011-08-01 Thread Caligo
On Mon, Aug 1, 2011 at 1:38 PM, David Nadlinger wrote: > David Simcha (and others working on bioinformatics), you might want to > chime in on this: > > http://biostar.stackexchange.**com/questions/10785/what-** > bioinformatics-software-is-**there-written-in-d

Re: What library functionality would you most like to see in D?

2011-07-31 Thread Caligo
I would like to see something similar to Boost Graph Library for D.

Re: What does C++ do better than D? - StackOverflow.com

2011-07-30 Thread Caligo
7k views in one day, now that's just epic. 2011 might as be the year for D.

Re: Coding Standards

2011-07-14 Thread Caligo
On Thu, Jul 14, 2011 at 6:11 PM, bearophile wrote: > Mark Chu-Carroll is a first class programmer and more. He's leaving Google > and writes about what's good in it. Here he explains in a very simple way why > coding standards are good: > http://scientopia.org/blogs/goodmath/2011/07/14/stuff-eve

Re: Complete floating point literals

2011-07-10 Thread Caligo
It would be really great if we could put all the breaking changes into one release to minimize disruption. iirc, another breaking change is the fix to foreach.

Re: Complete floating point literals

2011-07-10 Thread Caligo
while we are at it, let's get rid of this too: class _{ } why would anyone want to name a class or a variable _ ??

Re: D brand identity repository

2011-06-30 Thread Caligo
I like the current D logo, but I found these two: <><>

Re: Why I'm hesitating to switch to D

2011-06-29 Thread Caligo
www.digitalmars.com/d/ still shows up in search results and it points to the old crappy site. Can we get this link to point to the new site?

Re: Programming language benchmark

2011-06-28 Thread Caligo
Kind of off topic, but a good place to get benchmark results for many of the programming languages is Sphere Online Judge: http://www.spoj.pl/problems/classical/ They accept solutions in D, but not many have been submitted. I found a few: http://www.spoj.pl/ranks/FCTRL/lang=D http://www.spoj.pl/

Re: [OffTopic] GitHub for Mac

2011-06-22 Thread Caligo
On Wed, Jun 22, 2011 at 6:51 PM, Andrej Mitrovic wrote: > Did github go down for anyone else? It seems to have gone down almost > instantly after I made a push in a new repo. :s > http://status.github.com/ """ 04:54 pm PST Everything is back and functional. We experienced high load on the DB ser

Re: Is it too late to change the name of this language?

2011-06-17 Thread Caligo
We could call it Caligo. I always wanted a programming language named after me.

Re: Flag proposal

2011-06-15 Thread Caligo
Named parameters are possible in C++ with Boost, so why can't we have named parameters in D with Phobos?

Re: About foreach loops

2011-06-15 Thread Caligo
Regardless of what the "fix" is, it is going to break existing code, isn't that correct?

Re: About foreach loops

2011-06-15 Thread Caligo
On Wed, Jun 15, 2011 at 10:34 AM, so wrote: > On Wed, 15 Jun 2011 18:23:55 +0300, Caligo wrote: > >> This should be a compile time error: >> >>  foreach(i; 0..10){ >>    i += 1; >>    write(i, " "); >>  } >> >> This should

Re: About foreach loops

2011-06-15 Thread Caligo
On Wed, Jun 15, 2011 at 9:44 AM, KennyTM~ wrote: > On Jun 15, 11 22:35, Caligo wrote: >> >> You can create a temporary if you like: >> >>   foreach(i; 0..10){ >>     int ii = i + 1; >>     writeln(ii, " "); >>   } >> >> Which o

Re: About foreach loops

2011-06-15 Thread Caligo
You can create a temporary if you like: foreach(i; 0..10){ int ii = i + 1; writeln(ii, " "); } Which outputs: 1 2 3 4 5 6 7 8 9 10 The problem with trying to "fix" foreach is that it would create problems of its own. The following code would not behave correctly: foreach(i; 0..1

Re: About foreach loops

2011-06-14 Thread Caligo
I think D is fine and you may be confusing index with element. The equivalence of your Python example in D is this: foreach(e; [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]){ e += 1; write(e, " "); } or this: foreach(e; take(recurrence!("a[n]+1")(0), 10)){ e += 1; write(e, " "); } and

Re: Historical moment: D2 is now D

2011-06-14 Thread Caligo
Would it also be possible for www.digitalmars.com/d/ to point to http://www.d-programming-language.org ?

Re: Article discussing Go, could well be D

2011-06-10 Thread Caligo
On Fri, Jun 10, 2011 at 5:48 PM, Nick Sabalausky wrote: > "Andrew Wiley" wrote in message > news:mailman.776.1307728872.14074.digitalmar...@puremagic.com... >> On Fri, Jun 10, 2011 at 9:29 AM, Caligo wrote: >> >>> On Wed, Jun 8, 2011 at 6:06 PM, Andrei Ale

Re: Article discussing Go, could well be D

2011-06-10 Thread Caligo
On Wed, Jun 8, 2011 at 6:06 PM, Andrei Alexandrescu wrote: > That's it. We need a package management expert on board to either revive > dsss or another similar project, or define a new package manager altogether. > No "yeah I have some code somewhere feel free to copy from it"; we need > professio

Re: Q: commercial compiler manufacturer

2011-06-04 Thread Caligo
On Sat, Jun 4, 2011 at 3:10 AM, Daniel Gibson wrote: > Am 04.06.2011 06:01, schrieb William Bolish: >> >> Q: Will D likely ever be picked up by a major compiler manufacturer? >> >> The language looks really good, but without a major compiler manufacturer >> promoting&  supporting the language, it

Re: Q: commercial compiler manufacturer

2011-06-04 Thread Caligo
On Fri, Jun 3, 2011 at 11:08 PM, Vladimir Panteleev wrote: > On Sat, 04 Jun 2011 07:01:31 +0300, William Bolish > wrote: > >> Q: Will D likely ever be picked up by a major compiler manufacturer? >> >> The language looks really good, but without a major compiler manufacturer >> promoting & support

Re: Port a benchmark to D?

2011-06-04 Thread Caligo
And just to be fair to C++: g++ -O2 -m32 [VIRT: 94MB, RES: 92MB] real0m24.567s user0m24.500s sys 0m0.060s

Re: Port a benchmark to D?

2011-06-04 Thread Caligo
On Fri, Jun 3, 2011 at 11:16 PM, dsimcha wrote: > On 6/4/2011 12:01 AM, Caligo wrote: >> >> Gentoo/Linux [gcc version 4.4.5, DMD 2.52, latest GDC with GCC 4.4.5, >> and latest LDC2] >> >> g++ -O3 >> [VIRT: 185MB,  RES: 174MB] >> real    0m28.407s >&

Re: Port a benchmark to D?

2011-06-03 Thread Caligo
Gentoo/Linux [gcc version 4.4.5, DMD 2.52, latest GDC with GCC 4.4.5, and latest LDC2] g++ -O3 [VIRT: 185MB, RES: 174MB] real0m28.407s user0m28.330s sys 0m0.070s DMD -O -release [VIRT: 94MB, RES: 92MB] real0m43.232s user0m42.980s sys 0m0.070s GDC -O3 [VIRT: 306MB, RES:

Re: std.parallelism: VOTE IN THIS THREAD

2011-04-19 Thread Caligo
On Tue, Apr 19, 2011 at 7:11 AM, bearophile wrote: > Caligo: > >> I would like to make a comment if that's okay.  If a person is not an >> expert on parallelism, library development, or we can't verify his or >> her background and such, I don't see why thei

Re: std.parallelism: VOTE IN THIS THREAD

2011-04-19 Thread Caligo
On Tue, Apr 19, 2011 at 5:49 AM, Jonathan M Davis wrote: >> Lars T. Kyllingstad: >> > Please vote in this thread, by replying with >> > >> >   - "YES" if you think std.parallelism should be included in Phobos >> > >> >     in its present form, >> > >> >   - "NO" if you think it shouldn't. >> >> If

Re: too early for D2 and too late for D1

2011-04-17 Thread Caligo
On Sun, Apr 17, 2011 at 2:52 PM, jasonw wrote: > Gour-Gadadhara Dasa Wrote: > >> Well, http://d-programming-language.org/ page says: "D is a multi- >> paradigm programming language that combines a principled approach >> with a focus on *practicality*." and in my case I've *practical* need to >> wr

Re: too early for D2 and too late for D1

2011-04-17 Thread Caligo
D2 is ready. There are some compiler bugs that might cause problems, but they will go away hopefully soon. And I don't think GUI programming is the first reason people come to D.

Re: Stroustrup on C++0x + JSF++ coding standard

2011-04-17 Thread Caligo
pfff... I really don't know what to say about C++0x. Everyday I fall more in love with D. To know that I'll have to spend time learning all the new things in C++ just depresses me. Sure, there are some nice features, but I rather spend that time on improving my D and Python. Life is too short,

Re: http://lang-index.sourceforge.net/

2011-04-12 Thread Caligo
Another good metric is stackoverflow.com There are currently 301 D questions.

Re: Is the world coming to an end?

2011-04-09 Thread Caligo
There is no such thing as base 1 number system. Stop wasting your time.

Re: UCFS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread Caligo
What's UCFS?

Re: Is the world coming to an end?

2011-04-03 Thread Caligo
I don't understand why so much time is spent on such a small issue as octal syntax while there has been no discussion on how to recruit more developers to work on GDC or LDC2. You could have the perfect language, but it wouldn't mean anything if you don't have a stable and reliable compiler for it

Re: Fawzi Mohamed has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-01 Thread Caligo
On Fri, Apr 1, 2011 at 1:13 PM, Walter Bright wrote: > On 4/1/2011 10:29 AM, Andrei Alexandrescu wrote: >> >> Fawzi Mohamed from Humboldt University has been accepted as a mentor for >> the >> Google Summer of Code 2011 program for Digital Mars. He is particularly >> interested in topics related t

Re: expression templates

2011-03-29 Thread Caligo
enuhtac, may I ask what you are going to use the expression templates for? linear algebra library? is it an open source project?

Re: GCC 4.6

2011-03-28 Thread Caligo
I've been doing a lot of coding in D in the past few weeks, and one thing I've noticed is that performance is not great. Surprisingly, DMD generated binaries perform worse than GDC's, but even GDC is lagging behind equivalent code written in C++ and compiled with G++. Are we to expect performance

Re: GCC 4.6

2011-03-26 Thread Caligo
GCC 4.7 Stage 1 has begun. Does anyone know if GDC is schedule for inclusion?

Re: Factually inaccurate review of TDPL on Amazon

2011-03-25 Thread Caligo
:) When is "Modern D Design" going to be released ?

Re: Quo vadis, D2? Thoughts on the D library ecosystem.

2011-03-20 Thread Caligo
On Sun, Mar 20, 2011 at 4:44 AM, Jonathan M Davis wrote: > > > Regardless, no one has taken the time to put together such an incubator > project, and exactly what it would be and how it would work would be highly > dependent on whoever put it together. It's been proposed before and > generally > f

Re: Quo vadis, D2? Thoughts on the D library ecosystem.

2011-03-20 Thread Caligo
On Sun, Mar 20, 2011 at 2:41 AM, Jonathan M Davis wrote: > > It's both. Without any developers, there obviously won't be any code. > However, > until someone takes the initiative and sets up a proper place and framework > for projects to be posted to with the idea that it's an incubator for > possi

Re: Quo vadis, D2? Thoughts on the D library ecosystem.

2011-03-19 Thread Caligo
On Sat, Mar 19, 2011 at 6:12 PM, Jonathan M Davis wrote: > > Really, the problem is that someone needs to take the initiative on this. > They > need to work on setting it up and supporting the ecosystem which would > result in > a group of such projects. Good ideas tend to be presented around here

Re: std.parallelism: Final review

2011-03-19 Thread Caligo
On Fri, Mar 4, 2011 at 3:05 PM, Lars T. Kyllingstad wrote: > David Simcha has made a proposal for an std.parallelism module to be > included in Phobos. We now begin the formal review process. > > The code repository and documentation can be found here: > > https://github.com/dsimcha/std.paralle

Re: Library Development: What to finish/flesh out?

2011-03-18 Thread Caligo
On Fri, Mar 18, 2011 at 2:19 PM, filgood wrote: > Hi Lars, > > I agree on your orderbut would like to see Matrix ops in Phobos over > time (my understanding was that it can work without BLAS (just slower), > people can always in BLAS when they need to extra performance, no?). > > David, thank

Re: [TDPL] Russian translation of the book

2011-03-18 Thread Caligo
2011/3/16 Alexander Malakhov > Russian publisher "Символ-Плюс" (Symobl-Plus) now is translating TDPL and > they are asking for volunteers to >* help translating guy with technical details >* read final version > > If you wish to help, add your contacts on forum: > http://www.symbo

Re: Status report, milestones, quality improvements?

2011-03-16 Thread Caligo
On Wed, Mar 16, 2011 at 7:28 PM, Andrej Mitrovic wrote: > On 3/17/11, Jonathan M Davis wrote: > > Why? It's not like that's going to send all of the people who could > answer > > such > > questions to stackoverflow. And it certainly won't send the people asking > > questions there either. They'l

Re: Status report, milestones, quality improvements?

2011-03-16 Thread Caligo
close down digitalmars.D.learn so that people start populating sites like stackoverflow. How does that sound? I'm actually going to start using stackoverflow for my D questions.

Re: Status report, milestones, quality improvements?

2011-03-16 Thread Caligo
IMO the idea of having something like dsource as the place for D projects is silly and is doomed to failure. I think dsource's current state says it all. The internet should be the place for D projects, not just one website. Besides, there are sites that have been designed to do what dsource is

Re: Status report, milestones, quality improvements?

2011-03-15 Thread Caligo
On Tue, Mar 15, 2011 at 11:18 PM, Nick Sabalausky wrote: > "jasonw" wrote in message > news:ilp2rt$1fs5$1...@digitalmars.com... > > > > Newsgroup threads often discuss useless things (CRT displays and whether > > black-on-white is better than white-on-black in a feature proposal > > threads). Ni

Re: Why can't structs be derived from?

2011-03-15 Thread Caligo
On Tue, Mar 15, 2011 at 5:41 PM, Andrej Mitrovic wrote: > > Speaking of language names.. I never understood why people whine about > "D not being searchable because of its name". Then how is `C` > searchable? Heck, half of the results when searching for C will land > you C++ results. And searchin

Re: Why can't structs be derived from?

2011-03-15 Thread Caligo
On Tue, Mar 15, 2011 at 4:03 PM, Jens wrote: > > If I found D adequate, I wouldn't be developing another language, now > would I? > > > Have you come up with a name for this language that you are developing? May I suggest D++?

Re: Why can't structs be derived from?

2011-03-15 Thread Caligo
On Tue, Mar 15, 2011 at 10:00 AM, Jonathan M Davis wrote: > On Tuesday 15 March 2011 06:25:13 Jens wrote: > > It seems rather fundamental to be able to compose a new struct from a > > given struct using inheritance. Why is this not allowed? > > > > struct slist_node > > { > > slist_node* next;

Re: LLVM 3.0 type system changes

2011-03-09 Thread Caligo
On Tue, Mar 8, 2011 at 9:48 AM, Iain Buclaw wrote: > == Quote from Caligo (iteronve...@gmail.com)'s article > > --bcaec51a83ee693a30049df97ef8 > > Content-Type: text/plain; charset=ISO-8859-1 > > On Tue, Mar 8, 2011 at 12:29 AM, Bernard Helyer > wrote: > > &

Re: LLVM 3.0 type system changes

2011-03-09 Thread Caligo
On Tue, Mar 8, 2011 at 9:54 AM, spir wrote: > On 03/08/2011 03:33 PM, Caligo wrote: > >> On Tue, Mar 8, 2011 at 12:29 AM, Bernard Helyer >> wrote: >> >> On Tue, 08 Mar 2011 00:15:54 -0600, Caligo wrote: >>> >>> On Mon, Mar 7, 2011 at 11:34 PM,

Re: LLVM 3.0 type system changes

2011-03-08 Thread Caligo
On Tue, Mar 8, 2011 at 8:50 AM, Steven Schveighoffer wrote: > On Tue, 08 Mar 2011 09:33:19 -0500, Caligo wrote: > > On Tue, Mar 8, 2011 at 12:29 AM, Bernard Helyer >> wrote: >> >> On Tue, 08 Mar 2011 00:15:54 -0600, Caligo wrote: >>> >>> >

Re: LLVM 3.0 type system changes

2011-03-08 Thread Caligo
On Tue, Mar 8, 2011 at 12:29 AM, Bernard Helyer wrote: > On Tue, 08 Mar 2011 00:15:54 -0600, Caligo wrote: > > > On Mon, Mar 7, 2011 at 11:34 PM, Bernard Helyer > > wrote: > > > >> On Mon, 07 Mar 2011 20:41:39 -0600, Caligo wrote: > >> > Do we rea

Re: LLVM 3.0 type system changes

2011-03-07 Thread Caligo
On Mon, Mar 7, 2011 at 11:34 PM, Bernard Helyer wrote: > On Mon, 07 Mar 2011 20:41:39 -0600, Caligo wrote: > > Do we really need another D compiler that doesn't work? > > Name me a working D2 compiler that doesn't have a front-end based based > on DMD. Further

Re: LLVM 3.0 type system changes

2011-03-07 Thread Caligo
On Mon, Mar 7, 2011 at 7:54 PM, Bernard Helyer wrote: > On Mon, 07 Mar 2011 20:03:36 +, filgood wrote: > > > as described here: > > > > http://nondot.org/sabre/LLVMNotes/TypeSystemRewrite.txt > > > > Btw, what is the status of the D2 LLVM compiler? > > You're probably wondering about LDC2, bu

Re: where clause

2011-03-07 Thread Caligo
I don't understand why so many here are obsessed with constantly trying to "improve" D and/or find things that are wrong with the language just so they can come up with a solution. We've had feature freeze, have we not? For someone who is relatively new to D, seeing all these discussions on topic

Re: Haskell infix syntax

2011-03-06 Thread Caligo
On Sun, Mar 6, 2011 at 12:24 PM, Peter Alexander wrote: > On 6/03/11 4:22 PM, bearophile wrote: > >> So I think it's not worth adding to D. >>> >> >> But if you don't agree... talk. >> >> Bye, >> bearophile >> > > I agree. > > It would be nice in some situations (like cross and dot products for >

Re: dmd, x64 and Windows

2011-03-05 Thread Caligo
Kind of off-topic, but does anyone know if GDC is still scheduled to be included in GCC 4.7?

Re: LAPACK/BLAS/SciD Windows

2011-02-14 Thread Caligo
On Mon, Feb 14, 2011 at 7:30 AM, Lars T. Kyllingstad wrote: > On Sat, 12 Feb 2011 21:05:37 +, %fil wrote: > > > Lars, David, > > > > Did you managed to get in touch with Bill for this? If so, would you be > > able to provide a package with SciD including the BLAS/LAPACK in a DMD > > compatibl

Re: Qt C++ GUI library is now set to die, as a result of the MS takeover

2011-02-13 Thread Caligo
On Sun, Feb 13, 2011 at 6:03 PM, Nick_B wrote: > Here is a comment by Jeff_S, near the bottom of the comments re Microsoft > taking over Nokia. > > I now worry that the wonderful Qt C++ GUI library, that Nokia now owns with > it's acquisition of Trolltech a few years ago, will now founder in > sta

Re: Is D not-for-profit or not?!

2011-01-30 Thread Caligo
On Sun, Jan 30, 2011 at 10:55 AM, Andrei Alexandrescu < seewebsiteforem...@erdani.org> wrote: > On 01/30/2011 08:27 AM, retard wrote: > >> I also doubt you can make >> the dmc/dmd backend FOSS with any sum of money. If you wanted some >> changes badly, I'd recommend donating the money to some demo

Re: first git commit

2011-01-23 Thread Caligo
On Sun, Jan 23, 2011 at 10:14 PM, Andrei Alexandrescu < seewebsiteforem...@erdani.org> wrote: > We've moved the entire camp to github: dmd compiler, phobos, druntime, > website, installer. > > I'm happy to report that we have our first git commit: > > > https://github.com/D-Programming-Language/ph

Re: repeat

2011-01-17 Thread Caligo
How is this: repeat("abc", 3) -> ["abc", "abc", "abc"] repeated("abc", 3) -> "abcabcabc"

Re: DVCS (was Re: Moving to D)

2011-01-13 Thread Caligo
On Wed, Jan 12, 2011 at 11:33 PM, Walter Bright wrote: > Vladimir Panteleev wrote: > >> On Thu, 13 Jan 2011 05:43:27 +0200, Walter Bright < >> newshou...@digitalmars.com> wrote: >> >> The keyboards fail so often I keep a couple spares around. >>> >> >> Let me guess, all cheap rubber-domes? Maybe

Re: Moving to D

2011-01-06 Thread Caligo
On Thu, Jan 6, 2011 at 8:47 PM, Daniel Gibson wrote: > > Yeah, see also: http://schacon.github.com/bitbucket.html by the same > author > > When this rant was new I read a page that listed where Github stole their > ideas and designs (Sourceforce for example), but I can't find it anymore. > This r

Re: Moving to D

2011-01-06 Thread Caligo
On Thu, Jan 6, 2011 at 5:50 AM, Russel Winder wrote: > Whilst I concur (massively) that Subversion is no longer the correct > tool for collaborative working, especially on FOSS projects, but also > for proprietary ones, I am not sure Git is the best choice of tool. > Whilst Git appears to have th

Re: Moving to D

2011-01-06 Thread Caligo
On Thu, Jan 6, 2011 at 12:28 AM, Walter Bright wrote: > > That's pretty much what I'm afraid of, losing my grip on how the whole > thing works if there are multiple dmd committers. > > Perhaps using a modern SCM like Git might help? Everyone could have (and should have) commit rights, and they wo

Re: Advocacy (Was: Who here actually uses D?)

2011-01-02 Thread Caligo
2011/1/2 so > I agree with you on this. For example, Linus Torvald hates C++ and >> probably >> for good reasons. >> > > If someone using the word "love" for C and at the same time "hate" C++... > He might be a god to some people but at the same time this makes him a > dumbass language lawyer. >

Re: Advocacy (Was: Who here actually uses D?)

2011-01-02 Thread Caligo
On Sun, Jan 2, 2011 at 2:24 AM, Walter Bright wrote: > Nick Sabalausky wrote: > >> Hmm, from that I get the impression that Linus is basically just like the >> old Java-evangelists except instead of OO being his silver bullet, it's >> zero-abstraction. I'm almost suprised he allows things like fun

Re: Advocacy (Was: Who here actually uses D?)

2011-01-02 Thread Caligo
On Sun, Jan 2, 2011 at 1:42 AM, Nick Sabalausky wrote: > > I don't have a link, but I read a post he made somewhere that explained the > reason Linux kernal is plain-C-only is because, IIRC, they frequently need > a > very, very tight mapping between the source and the generated instructions. > P

Re: Advocacy (Was: Who here actually uses D?)

2011-01-01 Thread Caligo
On Sat, Jan 1, 2011 at 11:27 PM, Ulrik Mikaelsson < ulrik.mikaels...@gmail.com> wrote: > On a side-note (and I'm clearly biased here so I hardly even take > myself very seriously), I think the non-windows os:es, especially > Linux, should also be an intentional focus-area. It is VERY difficult > t

Re: Who here actually uses D?

2011-01-01 Thread Caligo
On Sat, Jan 1, 2011 at 8:01 PM, Walter Bright wrote: > Caligo wrote: > >> I don't understand why so much time and effort as been spent, perhaps >> wasted, on multiple compilers and standard libraries. I also don't >> understand why Walter insists on having h

Re: Who here actually uses D?

2011-01-01 Thread Caligo
On Sat, Jan 1, 2011 at 6:14 PM, Robert Clipsham wrote: > On 01/01/11 22:48, Andrei Alexandrescu wrote: > >> I've done my doctoral work in D, which was a pretty large project for >> one person (I guess a few tens of KLOC). >> >> I've also hit unpleasant bugs on occasion as those you mention - it's

Re: Less commas

2010-12-31 Thread Caligo
On Fri, Dec 31, 2010 at 4:17 AM, bearophile wrote: > Caligo: > > > > What font are you using? > > Inconsolata-g, a very good non-proportional font designed to be used with > anti-aliasing. Its main fault is that it doesn't have bold yet. > > One of its f

Re: Less commas

2010-12-31 Thread Caligo
On Fri, Dec 31, 2010 at 2:09 AM, bearophile wrote: > I'd like to restrict a bit the usage of the comma operator in D2, > disallowing at compile-time some currently usages that some C style guides > already suggest to avoid. > > If I see production code like the two examples below in production cod

Re: Please comment on http://d-programming-language.org/

2010-12-31 Thread Caligo
The main page has a quote from Michael. Who the hell is Michael? The Michael? The archangel? On Fri, Dec 31, 2010 at 3:45 AM, Thomas Mader wrote: > Am 2010-09-02 14:46, schrieb retard: > >> Thu, 02 Sep 2010 13:31:03 +0100, Gareth Charnock wrote: >> >> PS: Google Chrome on a 1680x1050 resolution

Re: D Language Custom Google Search

2010-12-28 Thread Caligo
On Tue, Dec 28, 2010 at 9:16 AM, Chris Dahl wrote: > Hi. I am new here (and new to D) and just wanted to share the URL for a > page that I put together for myself to use as I am learning the language. > > http://d.nuverde.com/ > > This page is just a custom Google search of some of the more comm

Re: D vs C++

2010-12-28 Thread Caligo
On Mon, Dec 27, 2010 at 6:41 AM, spir wrote: > On Sun, 26 Dec 2010 12:06:04 -0800 > Walter Bright wrote: > > > 11. generative programming > > Does someone have a pointer to any kind of doc about this? (in D) > > Denis > -- -- -- -- -- -- -- > vit esse estrany ☣ > > spir.wikidot.com > > I just re

Re: "The D Programming Language" : Still valid?

2010-12-27 Thread Caligo
On Mon, Dec 27, 2010 at 9:12 AM, Klaim wrote: > Hi! > > I'm a C++ and game developpement enthousiast and I'm insterested in D as a > potential language to use for my game developpements. > > I bought the book "The D Programming Language" on Amazon as pre-command and > got one of the early no-auth

Re: D vs C++

2010-12-27 Thread Caligo
On Mon, Dec 27, 2010 at 7:20 AM, Jonathan M Davis wrote: > On Monday 27 December 2010 04:41:37 spir wrote: > > On Sun, 26 Dec 2010 12:06:04 -0800 > > > > Walter Bright wrote: > > > 11. generative programming > > > > Does someone have a pointer to any kind of doc about this? (in D) > > Anything on

Re: D vs C++

2010-12-24 Thread Caligo
On Sat, Dec 25, 2010 at 12:21 AM, bearophile wrote: > Caligo: > > > > Here are the measurements (average of 3 runs): > > Your timings lack information about the CPU, compilation switches used, and > C++ compiler version used. > Are those really averages? > > >

Re: D vs C++

2010-12-24 Thread Caligo
be too difficult to generate it. 1MB of text file should work. On Fri, Dec 24, 2010 at 6:49 PM, Iain Buclaw wrote: > == Quote from Caligo (iteronve...@gmail.com)'s article > > --000e0cd215b8b968a004982e3775 > > Content-Type: text/plain; charset=ISO-8859-1 > > This is the

D vs C++

2010-12-24 Thread Caligo
This is the page that would require your attention: http://unthought.net/c++/c_vs_c++.html I'm going to ignore the C version because it's ugly and uses a hash. I'm also going to ignore the fastest C++ version because it uses a digital trie (it's very fast but extremely memory hungry; the complexi

Re: TDPL dictionary example - ERROR with dmd and gdc

2010-12-24 Thread Caligo
ok, thanks. And just a reminder that there is nothing about this on the errata. On Fri, Dec 24, 2010 at 11:51 AM, Andrei Alexandrescu < seewebsiteforem...@erdani.org> wrote: > On 12/24/2010 11:35 AM, Caligo wrote: > >> I've been following the examples in the book and

TDPL dictionary example - ERROR with dmd and gdc

2010-12-24 Thread Caligo
I've been following the examples in the book and on page 8 we have this: import std.stdio; import std.string; void main(){ size_t[string] dictionary; foreach(line; stdin.byLine()){ foreach(word; splitter(strip(line))){ if(word in dictionary) conti

Re: How is the D programming language financed?

2010-12-23 Thread Caligo
I don't get it. How is it able to get the name of the module like that? On Thu, Dec 23, 2010 at 9:35 PM, Andrej Mitrovic wrote: > On 12/24/10, Andrei Alexandrescu wrote: > > Don't forget to call your program stats.d or put a module stats > > declaration at its top. > > > > Andrei > > > > Hardc

Re: How is the D programming language financed?

2010-12-23 Thread Caligo
Thanks, Andrei. You're the best. On Thu, Dec 23, 2010 at 9:14 PM, Andrei Alexandrescu < seewebsiteforem...@erdani.org> wrote: > On 12/23/10 6:11 PM, Caligo wrote: > >> I hope I didn't miss anything; I copied it from the book. >> > [snip] > > http://www

Re: How is the D programming language financed?

2010-12-23 Thread Caligo
s.postprocess(); writeln(s.result()); } } On Thu, Dec 23, 2010 at 6:04 PM, Andrei Alexandrescu < seewebsiteforem...@erdani.org> wrote: > On 12/23/10 5:50 PM, Caligo wrote: > >> >> >> On Thu, Dec 23, 2010 at 5:38 PM, Andrej Mitrovic >> mailto:andrej.m

Re: How is the D programming language financed?

2010-12-23 Thread Caligo
On Thu, Dec 23, 2010 at 5:38 PM, Andrej Mitrovic wrote: > On 12/24/10, Caligo wrote: > > You got me excited, so I decided to give GDC another try. I cloned the > > repo, and using GCC 4.4.5, it compiled without errors. > > I started following the examples in TDPL, but the

Re: How is the D programming language financed?

2010-12-23 Thread Caligo
You got me excited, so I decided to give GDC another try. I cloned the repo, and using GCC 4.4.5, it compiled without errors. I started following the examples in TDPL, but the Stat program on page 22 gives the following errors: t1.d:33: Error: void has no value t1.d:33: Error: incompatible types

<    1   2   3   >