Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 19:16:09 UTC, Saurabh Das wrote: On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks ending Sunday, November 15). That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. w00t! Go us!
Formal Review of std.range.ndslice
http://forum.dlang.org/post/uesnmkgniumswfclw...@forum.dlang.org
Re: Calypso progress report (+ updated MingW64 build)
On 11/15/2015 02:32 PM, Elie Morisse wrote: On Thursday, 22 October 2015 at 01:19:19 UTC, Andrei Alexandrescu wrote: Great news! What's the story on exceptions? Does Calypso allow D code to catch exceptions thrown from C++ code? -- Andrei Small update: the LDC 0.16.1 merge was done and it's now possible to catch about any C++ exception with catch (C++) (..) {..} statements. https://github.com/Syniurge/Calypso/blob/master/tests/calypso/eh/std_exception.d Output: Throwing an ooops exception Catching the ooops, e.what() == Ooops! Throwing another ooops exception Catching the std::exception, e.what() == Ooops! Now throwing a float Catching the float, f == 20.16! What's left to implement for full C++ EH support: - catching class/struct by value (it's already possible to catch thrown class values by reference though) - thrown object lifetime - rethrowing That's great progress. Do you have documentation for how things work? For example, what's the lifetime of the pointer people will get from std::exception::what(). IMHO: don't worry about catching exceptions by value; it's almost always either incorrect, uninteresting, or both. The prize is catching (references to) classes rooted in std::exception. Nice-to-have is catching (references to) classes rooted in other C++ classes. A blog post would be fantastic. Andrei
Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks ending Sunday, November 15). That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. Congratulations to everybody who contributed for making this happen. The hardest part is ahead of us - increased attention brings more scrutiny and demands. Professional execution, stronger participation, and rallying behind our fundamental goals are key to carrying the D language forward. Andrei There might be a November-bias, hard to say from 2 data points, but: I've been reading some very persuasive articles on popular programming forums about D in the last 2 weeks. In particular, Andrei's reply on Quora was very well written and highly quotable and the thread of Reddit was well received too. I'd say the current bump in downloads is probably a result of this good press. Cheers! SD
Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 17:49:34 UTC, ixid wrote: On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. Andrei That looks more like growth has plateaued which should be extremely concerning. Not at all. If you look at graph. You will see it is ok, from my point of view. I am not interested in a peek. What is more interesting are minimums. And those seems to rise :).
Re: Tonight: Introduction to D at Codeaholics (HK)
On 11/11/2015 9:37 AM, Adam D. Ruppe wrote: On Wednesday, 11 November 2015 at 17:30:07 UTC, Lionello Lunesu wrote: as being a semantic difference, with no difference in memory layout. One can be indexed meaningfully, the other can't.) Eh, indexing char[] is meaningful, you just need to know what that meaning is... In C/C++, it is common to use 'char' when one is actually looking for a small integral type. 'char' in D is meant to be a UTF-8 code unit, and has semantics distinct from that of a small integral type.
Re: Tonight: Introduction to D at Codeaholics (HK)
On 11/11/2015 9:30 AM, Lionello Lunesu wrote: Few of the questions I got were These were great questions!
Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. Andrei That looks more like growth has plateaued which should be extremely concerning.
Re: DConf 2016 Early Bird Registration Open
On 11/16/2015 12:31 PM, Daniel Kozak wrote: On Monday, 16 November 2015 at 17:18:04 UTC, Andrei Alexandrescu wrote: http://dconf.org/2016/registration.html The DConf 2016 registration is now open. Early bird registration is $250, regular registration (after we publish the schedule on Feb 29) is $400. Those of you who cannot attend are welcome to figure as individual sponsors for $50. We are in the process of defining corporate sponsorship packages. Please contact the Foundation at dconf2...@digitalmars.com for details. Thanks, Andrei http://dconf.org/2016/thankyou.html return Not found :) That was quick! Fixed. Thanks for your support and bug report! http://dconf.org/2016/thankyou.html Andrei
Re: DConf 2016 Early Bird Registration Open
On Monday, 16 November 2015 at 17:18:04 UTC, Andrei Alexandrescu wrote: http://dconf.org/2016/registration.html The DConf 2016 registration is now open. Early bird registration is $250, regular registration (after we publish the schedule on Feb 29) is $400. Those of you who cannot attend are welcome to figure as individual sponsors for $50. We are in the process of defining corporate sponsorship packages. Please contact the Foundation at dconf2...@digitalmars.com for details. Thanks, Andrei http://dconf.org/2016/thankyou.html return Not found :)
Re: DConf 2016 Early Bird Registration Open
In social media: https://twitter.com/D_Programming/status/666306169380536322 https://www.facebook.com/dlang.org/posts/1169994593014220 https://www.reddit.com/r/programming/comments/3t1iu9/dconf_2016_early_bird_registration_open/ Please spread the news. See you at DConf! Andrei
Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks ending Sunday, November 15). That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. Probably has to do with your recent quora response becoming one of the top 30 most upvoted reddit links from the last year, plus one of the most commented on: https://www.reddit.com/r/programming/top/?sort=top&t=year&count=25&after=t3_2sn74k
DConf 2016 Early Bird Registration Open
http://dconf.org/2016/registration.html The DConf 2016 registration is now open. Early bird registration is $250, regular registration (after we publish the schedule on Feb 29) is $400. Those of you who cannot attend are welcome to figure as individual sponsors for $50. We are in the process of defining corporate sponsorship packages. Please contact the Foundation at dconf2...@digitalmars.com for details. Thanks, Andrei
Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 16:04:09 UTC, David Gileadi wrote: On 11/16/15 8:57 AM, Andrea Fontana wrote: So November is the dmd month and nobody knows. It would make more sense for it to have been D-cember. Not in all languages :) czech november - Listopa-D D-ecember - prosinec So Listopad make sense here :P, Btw, it is my birthday this month
Re: D compiler daily downloads at an all-time high
On 11/16/15 8:57 AM, Andrea Fontana wrote: So November is the dmd month and nobody knows. It would make more sense for it to have been D-cember.
Re: D compiler daily downloads at an all-time high
On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks ending Sunday, November 15). That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. Congratulations to everybody who contributed for making this happen. The hardest part is ahead of us - increased attention brings more scrutiny and demands. Professional execution, stronger participation, and rallying behind our fundamental goals are key to carrying the D language forward. Andrei So November is the dmd month and nobody knows.
Re: D compiler daily downloads at an all-time high
I'm loving this momentum. Think I've been watching / using D since around 2001 and its never had this much momentum. Something I've noticed over the last year or two is that other developers are more accepting of the fact that I'm that guy that likes D, and they actually ask constructive questions. Ten years ago that never happened, they would always get that dazed look in their eye and be dismissive. P.S. I'm also finding the latest compiler _way_ faster compiling vibe's diet templates.
D compiler daily downloads at an all-time high
http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks ending Sunday, November 15). That's a new all-times high ever since we started measuring on January 02, 2013. The previous record, 1630 average daily downloads, was established in the four weeks ending November 17, 2014. Congratulations to everybody who contributed for making this happen. The hardest part is ahead of us - increased attention brings more scrutiny and demands. Professional execution, stronger participation, and rallying behind our fundamental goals are key to carrying the D language forward. Andrei
Re: Andrei's Quora comments on Reddit: "D has no vision. Go is out of its depth. Rust skipped leg day."
On Thursday, 12 November 2015 at 11:55:18 UTC, Namal wrote: On Wednesday, 11 November 2015 at 19:51:45 UTC, Ali Çehreli wrote: On 11/11/2015 06:42 AM, Namal wrote: someone was saying that it is possible to call c++ standard library from D. Is there an example how to do this? Here is the spec e.g. saying 'extern (C++, std)': http://dlang.org/attribute.html#linkage The following page is about interfacing with C++, which may not be up to date: http://dlang.org/cpp_interface.html Others: is it up to date? Ali Ok than this is not what I have been thinking off. I thought I just can import the standard library of C++ and compile it with D compiler...oh well... Refer to this thread - http://forum.dlang.org/thread/gjivyaolrxagueffs...@forum.dlang.org
Re: Tonight: Introduction to D at Codeaholics (HK)
Am Thu, 12 Nov 2015 01:30:06 +0800 schrieb Lionello Lunesu : > * Why doesn't D explicitly specify the exceptions that can be thrown? > (To which I answered that I never saw the point in Java and only found > it tedious. This did not convince the person.) Maybe that's your point of view or maybe you were just undecided. When you write a library it is sometimes better to be explicit about your interface and that includes any exceptions. This not only enables users of the library to selectively catch exceptions they can handle at layer X, but facilitates static checks: * Are any exceptions missing from DDoc/@throws that are thrown in the code? (Potential for auto-generating the DDoc.) * A function is nothrow, but the user only catches, e.g. UtfException explicitly. Is that the only exception type that could occur? There were some more nice points that I don't remember from when I failed at implementing this many months ago. The questioner has my sympathy in any case, but it's certainly not a priority. The way I wanted to implement it was by making attribute-less functions map to @throws(Exception), which implicitly makes the feature opt-in: It is always correct to state a super set of the actual thrown exceptions in an API to have room for extensions. Thrown exceptions would be collected much like nothrow is deduced right now, but as a list with respect to the hierarchical nature of Exceptions. -- Marco
Re: Fastest JSON parser in the world is a D project
What about data validation? Does it's fast complete full validation of data, and what about other parsers? Are they complete full validation?