Re: D Breaks on to the TIOBE Top 20 List.

2014-04-26 Thread Bienlein via Digitalmars-d-announce

On Friday, 25 April 2014 at 19:51:22 UTC, Adam Wilson wrote:
I know we don't place much value in TIOBE and it's brethren. 
However, I thought that this was a milestone worthy of a note 
anyways.


http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html


I don't want to take your joy, but tiobe has its mood swings: 
Groovy was within the top 20 last year, see 
http://glaforge.appspot.com/article/groovy-enters-top-20-of-the-tiobe-language-index 
Now it is somewhere below the top 40. I think it was below the 
top 50 at the beginning of the year.


Nevertheless, it is certainly good news :-).



Re: D Breaks on to the TIOBE Top 20 List.

2014-04-26 Thread Dicebot via Digitalmars-d-announce
On Sunday, 27 April 2014 at 05:21:29 UTC, Ola Fosheim Grøstad 
wrote:

On Saturday, 26 April 2014 at 23:13:49 UTC, Dicebot wrote:
Don't forget that it does not only consider new code but 
overall picture. And amount of legacy code in weird languages 
is still huge.


It does not consider code, it uses the hitcounters from search 
engines for this query:


+" programming"


Huh, wasn't it also scanning available public repos i.e. on 
GitHub? Or am I conflating with some other index?




Re: D Breaks on to the TIOBE Top 20 List.

2014-04-26 Thread via Digitalmars-d-announce

On Saturday, 26 April 2014 at 23:13:49 UTC, Dicebot wrote:
Don't forget that it does not only consider new code but 
overall picture. And amount of legacy code in weird languages 
is still huge.


It does not consider code, it uses the hitcounters from search 
engines for this query:


+" programming"


Re: D Breaks on to the TIOBE Top 20 List.

2014-04-26 Thread via Digitalmars-d-announce
On Saturday, 26 April 2014 at 23:10:22 UTC, Ben Boeckel via 
Digitalmars-d-announce wrote:


Wow, TIOBE looks even more useless than the last time looked at 
it
(years ago). Is TSQL really "more popular" than Perl? I wonder 
how much

"oh dear, I need help with this" is conflating these ratings.


Yep, but that is also what they measure.


Re: D Breaks on to the TIOBE Top 20 List.

2014-04-26 Thread Dicebot via Digitalmars-d-announce
On Saturday, 26 April 2014 at 23:10:22 UTC, Ben Boeckel via 
Digitalmars-d-announce wrote:
Wow, TIOBE looks even more useless than the last time looked at 
it
(years ago). Is TSQL really "more popular" than Perl? I wonder 
how much
"oh dear, I need help with this" is conflating these ratings. I 
mean,
PostScript is #25 and while it *is* Turing complete, I don't 
think too

many (well-intentioned) projects are targeting printers as their
platform (at least via the paper tray). Almost certainly not 
more than

all of Scala, Go, and Haskell.

--Ben


Don't forget that it does not only consider new code but overall 
picture. And amount of legacy code in weird languages is still 
huge.


Re: D Breaks on to the TIOBE Top 20 List.

2014-04-26 Thread Ben Boeckel via Digitalmars-d-announce
On Sat, Apr 26, 2014 at 06:54:55 +, Joakim via Digitalmars-d-announce wrote:
> On Friday, 25 April 2014 at 19:51:22 UTC, Adam Wilson wrote:
> >http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
> 
> It's interesting that C++ has been declining for the last decade and
> especially the last year, with C and Objective-C taking its place at
> the top for compiled languages.  Mobile has driven Objective-C use
> and will drive the next big language, a good opportunity for D given
> its efficiency and relative ease of use.

Wow, TIOBE looks even more useless than the last time looked at it
(years ago). Is TSQL really "more popular" than Perl? I wonder how much
"oh dear, I need help with this" is conflating these ratings. I mean,
PostScript is #25 and while it *is* Turing complete, I don't think too
many (well-intentioned) projects are targeting printers as their
platform (at least via the paper tray). Almost certainly not more than
all of Scala, Go, and Haskell.

--Ben


Re: Bounty for -minimal compiler flag

2014-04-26 Thread Kagamin via Digitalmars-d-announce
On Tuesday, 18 February 2014 at 02:24:32 UTC, Steven 
Schveighoffer wrote:
Yes, and one can do it with a global flag too. The lack of this 
ability is really a terrible omission for D2.


We have the flag - GCX.running, it's just not exposed.


Re: DScanner is ready for use

2014-04-26 Thread via Digitalmars-d-announce

On Saturday, 27 July 2013 at 22:27:35 UTC, Brian Schott wrote:

* Prints out a complete AST of a source file in XML format.


Neat feature! I met two bugs that need some love:

https://github.com/Hackerpilot/Dscanner/issues/168
https://github.com/Hackerpilot/Dscanner/issues/169

Aside: the D grammar that I reverse-engineered can be located 
here: 
https://rawgithub.com/Hackerpilot/DGrammar/master/grammar.html


Thanks for making this available! Very useful.



Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-26 Thread Jacob Carlborg via Digitalmars-d-announce

On 2014-04-25 10:32, Atila Neves wrote:


Yeah, I know Aruba. Well, for all of about two weeks :) Why would you
want Aruba in D, though? You can just use the Ruby version.


Sure I can, I already does this. I would be quite nice with mostly pure 
D tools. People have been almost hostile in my attempts to use D 
together with Ruby. I was building a package manager that use Ruby for 
writing the package description files. That was far from popular.


Oh, then why are you adding support for D to Cucumber ;)

--
/Jacob Carlborg


Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-26 Thread Jacob Carlborg via Digitalmars-d-announce

On 2014-04-25 10:31, Atila Neves wrote:


Or I could carry on implementing all the Cucumber features and end up
with an executable that does everything the Ruby version does. I'm happy
with what I've got now though, but the embedding thing is interesting. I
just decided that embedding was too much work.


I see.

A pure D implementation would be even better.

--
/Jacob Carlborg


Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-26 Thread Jacob Carlborg via Digitalmars-d-announce

On Friday, 25 April 2014 at 08:45:20 UTC, Atila Neves wrote:

Ehm... because until now I didn't know that @Given("foo") was 
possible. In my head I was doing compile-time stuff so 
everything had to be compile-time, if that makes any sense.


After I read the above I wasn't even sure how @Given("foo") 
would work so I wrote some code and now know that all I need is 
a struct with a regular string field. I think the documenation 
on http://dlang.org/attribute.html is severely lacking.


BTW, I think it's possible to use a plain function as well, which 
returns a struct. In this case, "Given" would be the function.


--
/Jacob Carlborg


Re: Unencumbered V0.1.2: Write Cucumber step definitions in D

2014-04-26 Thread Jacob Carlborg via Digitalmars-d-announce

On Friday, 25 April 2014 at 08:45:20 UTC, Atila Neves wrote:

After I read the above I wasn't even sure how @Given("foo") 
would work so I wrote some code and now know that all I need is 
a struct with a regular string field. I think the documenation 
on http://dlang.org/attribute.html is severely lacking.


What do you mean, it's right there, at the bottom of the first 
example [1]:


@Bar(3) int d;

[1] http://dlang.org/attribute.html#UserDefinedAttribute

--
/Jacob Carlborg