Re: DMD v2.066.0-b2

2014-07-10 Thread Andrew Edwards via Digitalmars-d-announce
On 7/10/14, 2:35 AM, Bob wrote: On Wednesday, 9 July 2014 at 15:39:50 UTC, David Nadlinger wrote: On Wednesday, 9 July 2014 at 14:57:01 UTC, Andrew Edwards wrote: My concern is that this shouldn't compile in the first place. What is xyz?, Is it a free function? Is it a member variable or

Re: DUB Bash Completion

2014-07-10 Thread Nordlöw
On Wednesday, 9 July 2014 at 16:12:01 UTC, Sönke Ludwig wrote: Shall I just commit the file (with you as the author of course), or do you want to open a pull request? You can commit the file. That's ok with me :) I've tried it now and it worked flawlessly so far. I'm glad :) Thx

Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-10 Thread Puming via Digitalmars-d-announce
On Wednesday, 9 July 2014 at 16:23:46 UTC, Andrej Mitrovic via Digitalmars-d-announce wrote: On 7/9/14, Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: https://news.ycombinator.com/newest (please find and vote quickly) Just paste the URL with some

Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-10 Thread Dicebot via Digitalmars-d-announce
On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote: On 07/10/2014 01:22 AM, Nordlöw wrote: On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote: Would it make sense to add them to the dtools repository? It's already included there as a submodule :) Hidden in plain sight.

Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-10 Thread simendsjo via Digitalmars-d-announce
On 07/10/2014 11:34 AM, Dicebot wrote: On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote: On 07/10/2014 01:22 AM, Nordlöw wrote: On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote: Would it make sense to add them to the dtools repository? It's already included there as a

Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-10 Thread Dicebot via Digitalmars-d-announce
On Thursday, 10 July 2014 at 10:15:39 UTC, simendsjo wrote: On 07/10/2014 11:34 AM, Dicebot wrote: On Thursday, 10 July 2014 at 05:27:56 UTC, simendsjo wrote: On 07/10/2014 01:22 AM, Nordlöw wrote: On Wednesday, 9 July 2014 at 18:26:53 UTC, simendsjo wrote: Would it make sense to add them to

Re: DConf 2014 Day 2 Talk 3: Designing an Aurora: A Glimpse at the Graphical Future of D by Adam Wilson

2014-07-10 Thread via Digitalmars-d-announce
On Thursday, 10 July 2014 at 00:22:39 UTC, Tofu Ninja wrote: Actually is seems to be moving to fewer and fewer api calls where possible(see AZDO) with lightweight contexts. Yeah, AZDO appears to work within the OpenGL framework as is. However, I get a feeling that there will be more moves

Stilhaus Kitchens Reviews

2014-07-10 Thread zapatata via Digitalmars-d-announce
The fitters from Stilhaus Kitchens cleaned up after themselves and left the place like new.

Stilhaus Kitchens Reviews

2014-07-10 Thread zapatata via Digitalmars-d-announce
The fitters from Stilhaus Kitchens cleaned up after themselves and left the place like new. [URL=http://www.stilhauskitchensreviews.co.uk]Stilhaus Kitchens Reviews[/URL]

Re: DConf 2014 Day 2 Talk 3: Designing an Aurora: A Glimpse at the Graphical Future of D by Adam Wilson

2014-07-10 Thread Tofu Ninja via Digitalmars-d-announce
On Thursday, 10 July 2014 at 10:43:45 UTC, Ola Fosheim Grøstad wrote: Depends on what Aurora is meant to target. The video says it is meant to be more of a playful environment that allows pac-man mockups and possibly GUIs in the long run, but not sure who would want that? There are so many

Re: DConf 2014 Day 2 Talk 3: Designing an Aurora: A Glimpse at the Graphical Future of D by Adam Wilson

2014-07-10 Thread ponce via Digitalmars-d-announce
On Thursday, 10 July 2014 at 00:22:39 UTC, Tofu Ninja wrote: I think its a fine abstraction level, buffers and shaders are not hard concepts at all. All api's that Aurora is going to be based on offers them as well as all modern gpu's support them. If shaders were written in a DLS then in the

Re: DConf 2014 Day 2 Talk 3: Designing an Aurora: A Glimpse at the Graphical Future of D by Adam Wilson

2014-07-10 Thread via Digitalmars-d-announce
On Thursday, 10 July 2014 at 14:59:47 UTC, Tofu Ninja wrote: YES(I am so glad some one else sees this)! This is basically what I have been saying all along. I hoped the immediate mode could be (1) and the retained mode could be (2/3) so that we could have both and not be limited, but that does

Dconf 2014 Day 2 Talk 5: Tooling: Bringing Developers and Development Together by Brad Roberts

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d-announce
https://twitter.com/D_Programming/status/487301149645873152 https://www.facebook.com/dlang.org/posts/882371471776535 https://news.ycombinator.com/newest http://www.reddit.com/r/programming/comments/2acqfq/dconf_2014_day_2_talk_5_tooling_bringing/ Andrei

Re: DConf 2014 Day 2 Talk 4: Reducing D Bugs by Vladimir Panteleev

2014-07-10 Thread safety0ff via Digitalmars-d-announce
On Wednesday, 9 July 2014 at 16:00:47 UTC, Andrei Alexandrescu wrote: http://www.reddit.com/r/programming/comments/2a8xf4/dconf_2014_day_2_talk_4_reducing_d_bugs_by/ https://www.facebook.com/dlang.org/posts/881813965165619 https://news.ycombinator.com/newest (please find and vote quickly)

Re: DConf 2014 Day 2 Talk 3: Designing an Aurora: A Glimpse at the Graphical Future of D by Adam Wilson

2014-07-10 Thread Tofu Ninja via Digitalmars-d-announce
On Thursday, 10 July 2014 at 15:38:07 UTC, ponce wrote: You might want to look at what bgfx does: https://github.com/bkaradzic/bgfx It provides a shader compiler to various supported backends. I have seen it but I have never used it. I don't actually know if its any good or not but it is in

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 9 July 2014 at 19:21:21 UTC, Walter Bright wrote: Vladimir's talk on Dustmite is now up on Reddit. We ship Dustmite as part of the dmd distribution. But it's a secret. Just try to find out anything or any mention of Dustmite on dlang.org. The idea Build It, and They Will Come

Re: Opportunities for D

2014-07-10 Thread Timon Gehr via Digitalmars-d
On 07/10/2014 07:41 AM, H. S. Teoh via Digitalmars-d wrote: On Thu, Jul 10, 2014 at 05:12:23AM +0200, Timon Gehr via Digitalmars-d wrote: [...] - Lifetime parameters. (it's more future-proof if they are not introduced by simple identifiers.) Eg.: void foo[lifetime lt](int x){ ... } -

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/9/14, 8:59 PM, logicchains wrote: On Thursday, 10 July 2014 at 02:12:18 UTC, Atila Neves wrote: Rob Pike has said multiple times that the key/unique thing about Go is select and that goroutines are the easy part. I'm not entirely sure I grok what he means but we should if we're going to

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Iain Buclaw via Digitalmars-d
On 9 July 2014 23:48, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 7/9/2014 2:52 PM, Andrei Alexandrescu wrote: The dlang page doesn't list all downloads or distribution packages, but I don't want to duplicate information on two pages and keep them synchronized and

Re: Opportunities for D

2014-07-10 Thread logicchains via Digitalmars-d
On Thursday, 10 July 2014 at 05:58:56 UTC, Andrei Alexandrescu wrote: We already have actor-style via std.concurrency. We also have fork-join parallelism via std.parallel. What we need is a library for CSP. The actor-style via std.concurrency is only between 'heavyweight' threads though, no?

Re: @nogc required on C API callbacks?

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 21:54, Brian Schott wrote: The argument for requiring @nogc on C library callbacks makes sense to me, so I'd like to know if this was intentional. Why shouldn't you be able to allocate GC memory from C? -- /Jacob Carlborg

Re: Opportunities for D

2014-07-10 Thread Walter Bright via Digitalmars-d
On 7/9/2014 8:12 PM, Timon Gehr wrote: 3. have a design and a plan that gets there There's no law that says D refs must be exactly like Rust borrowed. We can come up with a design that works best for D. D != Rust. Do you have a design in mind? ... Roughly, but not with 'ref'. It is also an

Re: Opportunities for D

2014-07-10 Thread deadalnix via Digitalmars-d
On Wednesday, 9 July 2014 at 19:50:18 UTC, Walter Bright wrote: 8. NotNull!T type For those that want a non-nullable reference type. This should be doable as a library type. No. Rationale? Please, we've gone through this again and again and again and again.

Re: Opportunities for D

2014-07-10 Thread deadalnix via Digitalmars-d
On Wednesday, 9 July 2014 at 20:51:04 UTC, Walter Bright wrote: On 7/9/2014 1:35 PM, Andrei Alexandrescu wrote: Hmmm... how about using u after that? Using u after that would either cause an exception to be thrown, or they'd get T.init as a value. I tend to favor the latter, but of course

Re: Opportunities for D

2014-07-10 Thread Paolo Invernizzi via Digitalmars-d
On Thursday, 10 July 2014 at 06:32:32 UTC, logicchains wrote: On Thursday, 10 July 2014 at 05:58:56 UTC, Andrei Alexandrescu wrote: We already have actor-style via std.concurrency. We also have fork-join parallelism via std.parallel. What we need is a library for CSP. The actor-style via

Re: critique of vibe.d

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 20:34, Nick Sabalausky wrote: Can't it be used as a complete web framework? I mean, assuming you're happy with the built-in templating and DB options? Or is everyone using web framework here to really mean CMS? I don't know. But to me they're not the same. You can use a web

Re: Opportunities for D

2014-07-10 Thread Walter Bright via Digitalmars-d
On 7/9/2014 11:59 PM, deadalnix wrote: On Wednesday, 9 July 2014 at 19:50:18 UTC, Walter Bright wrote: 8. NotNull!T type For those that want a non-nullable reference type. This should be doable as a library type. No. Rationale? Please, we've gone through this again and again and again and

Re: Opportunities for D

2014-07-10 Thread Walter Bright via Digitalmars-d
On 7/10/2014 12:03 AM, deadalnix wrote: So runtime error or php style better anything than nothing for something that can be checked statically... I don't understand your comment.

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Alix Pexton via Digitalmars-d
On 09/07/2014 11:48 PM, Walter Bright wrote: Debugger leads to HTTP 404 Not Found (this is pretty embarrassing) There is a debugger.html in github, it just redirects to the wiki, but its not being served, can't tell you why said file is not finding its way to the server (maybe because its

Re: before D there was d

2014-07-10 Thread deadalnix via Digitalmars-d
On Wednesday, 9 July 2014 at 15:53:42 UTC, Sean Kelly wrote: Interesting story. Thanks for posting it. I remember Telerate! That was the reason we had a PC in our house in the 80s. If it weren't for that, I may not have ended up a programmer. I love these pieces of computer history. I

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread deadalnix via Digitalmars-d
On Thursday, 10 July 2014 at 05:58:18 UTC, Gary Willoughby wrote: Which is why we need a kick ass website designed to encourage developers to stay and learn more about D and what is available. BTW have you seen Haskell's new site: http://new-www.haskell.org/ Just mentioning that the #1

Re: Opportunities for D

2014-07-10 Thread bearophile via Digitalmars-d
Walter Bright: Exactly. I'm not seeing how this can work that well. Do you have an example where this works badly? You can require the @notnull annotations on the arguments at module/package boundaries. But I think this thread tries to face too many problems in parallel. Even just the

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Walter Bright via Digitalmars-d
On 7/10/2014 12:40 AM, deadalnix wrote: On Thursday, 10 July 2014 at 05:58:18 UTC, Gary Willoughby wrote: Which is why we need a kick ass website designed to encourage developers to stay and learn more about D and what is available. BTW have you seen Haskell's new site:

Re: Opportunities for D

2014-07-10 Thread Walter Bright via Digitalmars-d
On 7/10/2014 12:23 AM, Walter Bright wrote: On 7/9/2014 11:59 PM, deadalnix wrote: On Wednesday, 9 July 2014 at 19:50:18 UTC, Walter Bright wrote: 8. NotNull!T type For those that want a non-nullable reference type. This should be doable as a library type. No. Rationale? Please, we've

Re: DIP65: Fixing Exception Handling Syntax

2014-07-10 Thread bearophile via Digitalmars-d
Walter Bright: I suggest recognizing in the parser: ( Identifier ) as a special case, in addition to using Parser::isDeclaration(). Gradually we can turn that special case into a warning, then deprecation. It's better to do the opposite, accept the common safe syntax catch(Exception)

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 23:46, Johannes Pfau wrote: The dlang page doesn't list all downloads or distribution packages, but I don't want to duplicate information on two pages and keep them synchronized and up-to-date. Then do some screen scraping/iframe or similar. -- /Jacob Carlborg

Re: critique of vibe.d

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 21:37, Nick Sabalausky wrote: What I've started doing, and absolutely love so far, is to write my forms purely in the HTML template (with a little bit a custom tags/attributes), then use Adam's HTML DOM to read that HTML form and generate all the backend form-handing *from* the HTML

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 23:46, Johannes Pfau wrote: I think there's lots of valuable information on the wiki btw, which is often overlooked for some reason. For contributors, wiki.dlang.org is much nicer as you don't need ddoc, git, push rights/somebody to merge pull requests, etc. Is it only me that

Re: Opportunities for D

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 15:45, Meta wrote: As far as I know, there's no reason we can't add pattern matching to switch or final switch or both. There's no ambiguity because right now it's not possible to switch on structs or classes. See Kenji's DIP32 for syntax for tuples that could be leveraged.

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 09/07/14 21:21, Walter Bright wrote: Dustmite is just one example of this, but it's on top of my head because I went looking for a link to it to go with the Reddit pointer to the video. It fits in quite nicely with my previous antics at discovering there were no links to gdc or ldc

Re: Worrying attitudes to the branding of the D language

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 01/07/14 19:45, Gary Willoughby wrote: People need to have the perception that the brand is strong and that the product is stable. The logo reflects this. The logo is an icon of D as a product. Just casually tossing it aside is allowing further extension of user perceptions of

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 10/07/14 07:58, Gary Willoughby wrote: Which is why we need a kick ass website designed to encourage developers to stay and learn more about D and what is available. BTW have you seen Haskell's new site: http://new-www.haskell.org/ Scala has a pretty nice looking site as well:

Re: Opportunities for D

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 10/07/14 05:59, logicchains wrote: It's been implemented in Rust[1] via a macro, and can be implemented in Haskell[2] without compiler support, so I'd be surprised if it wasn't already possible to implement in D. It wouldn't however be as useful as Go's until D gets message passing between

Re: Cool Stuff for D that we keep Secret

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 10/07/14 09:52, Walter Bright wrote: Just mentioning that the #1 advertized feature is No More Null Errors. Putting that here for the record. The view examples link doesn't work. Oh well. (Looking at the source code to the page, it looks like the problem is due to a null error as the link

Fixed size array return

2014-07-10 Thread bearophile via Digitalmars-d
(This is a duplicated post of D.learn.) Is it possible and a good idea to change the D ABI to make code like this avoid an array copy in 100% of the cases (without inlining, and regardless the optimization levels, and in all D compilers)? ubyte[1000] foo() nothrow @safe {

Re: Thread-local GC?

2014-07-10 Thread Nordlöw
On Thursday, 10 July 2014 at 02:51:05 UTC, logicchains wrote: I was wondering if thread-local GC had been considered an option for making D's GC work better in threaded code? Erlang has this (well, process-local GC, which is closer to fibre-local in D terms) and it seems to work okay, although

Re: [OT] Re: Redesign of dlang.org

2014-07-10 Thread Chris via Digitalmars-d
On Wednesday, 9 July 2014 at 21:20:28 UTC, Alix Pexton wrote: On 09/07/2014 4:43 PM, Chris wrote: This sounds just like Imperial education. Very interesting how it equates Imperial practices with the right thing and the (continental) arch enemy with the wrong thing. By the way, there was a

Re: DIP65: Fixing Exception Handling Syntax

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 07:50:47 UTC, bearophile wrote: Walter Bright: I suggest recognizing in the parser: ( Identifier ) as a special case, in addition to using Parser::isDeclaration(). Gradually we can turn that special case into a warning, then deprecation. It's better to do

Re: critique of vibe.d

2014-07-10 Thread Dicebot via Digitalmars-d
On Wednesday, 9 July 2014 at 21:07:26 UTC, Johannes Pfau wrote: Am Wed, 09 Jul 2014 17:28:42 + schrieb Dicebot pub...@dicebot.lv: On Wednesday, 9 July 2014 at 17:05:21 UTC, Johannes Pfau wrote: Completely off-topic, but: Have you considered making vibe http-backend independent? So that

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Wednesday, 9 July 2014 at 19:47:02 UTC, Walter Bright wrote: Yes, I mean transitive, and understand what that implies. I am positively shocked :) I have started work on porting the CDGC to D2, have compilable version (that was easy thanks to earlier Sean work) but updating implementation

Re: critique of vibe.d

2014-07-10 Thread Chris via Digitalmars-d
On Thursday, 10 July 2014 at 10:24:23 UTC, Dicebot wrote: On Wednesday, 9 July 2014 at 21:07:26 UTC, Johannes Pfau wrote: Am Wed, 09 Jul 2014 17:28:42 + schrieb Dicebot pub...@dicebot.lv: On Wednesday, 9 July 2014 at 17:05:21 UTC, Johannes Pfau wrote: Completely off-topic, but: Have

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 03:59:15 UTC, logicchains wrote: Actually, an important question that should be considered: does D want actor-style concurrency, like Erlang and Akka, or CSP-style concurrency, like Rust, Go and Haskell? Or both? Deciding this would allow efforts to be more

Re: Opportunities for D

2014-07-10 Thread logicchains via Digitalmars-d
On Thursday, 10 July 2014 at 10:43:39 UTC, Dicebot wrote: On Thursday, 10 July 2014 at 03:59:15 UTC, logicchains wrote: Actually, an important question that should be considered: does D want actor-style concurrency, like Erlang and Akka, or CSP-style concurrency, like Rust, Go and Haskell? Or

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 11:03:20 UTC, logicchains wrote: Are there any tutorials or blog posts out there demonstrating how to use this? I think posts along the lines of This is a CSP/message passing program in Go/Erlang. This is the same program translated into D; look how concise and

Re: Worrying attitudes to the branding of the D language

2014-07-10 Thread Alix Pexton via Digitalmars-d
On 10/07/2014 9:18 AM, Jacob Carlborg wrote: BTW, have a look at this Scala website [1]. In the top left corner there is a Scala logo. It's flat and quite simple design with no colors. In the middle there's a big logo, more complex with shades, colors, shadows and so on. You can instantly see

Re: Supertypes, subtypes, and more

2014-07-10 Thread bearophile via Digitalmars-d
(Sorry for the very late answer, I have had to care for animals). Justin Whear: Does this do everything you're looking for? http://dpaste.dzfl.pl/50531f5b1356e. It seems OK. But there is a bit too much boilerplate. So is it possible to create something for Phobos usable like (note the ctor

Re: Opportunities for D

2014-07-10 Thread Jacob Carlborg via Digitalmars-d
On 10/07/14 01:57, H. S. Teoh via Digitalmars-d wrote: [...] I'm sure there are plenty of holes in this proposal, so destroy away. ;-) You should post this in a new thread. I'm wondering if a lot more data can be statically allocated. Then passed by reference to functions taking scope

Re: Software Assurance Reference Dataset

2014-07-10 Thread bearophile via Digitalmars-d
(Sorry for the very late answer.) Walter Bright: Stack overflows are not safety problems when a guard page is used past the end of the stack. It's not a safety problem in Erlang/Rust, because those languages are designed to manage such failures in a good way. Please explain. The idea

Re: Opportunities for D

2014-07-10 Thread bearophile via Digitalmars-d
Dicebot: I can't blame Sonke or anyone else for not wanting to waste his time on pushing more stuff upstream considering how miserable contribution experience is right now. This was one of the causes of the creation of Tango and its fiasco, so better to not repeat that. Bye, bearophile

Re: Opportunities for D

2014-07-10 Thread Puming via Digitalmars-d
On Thursday, 10 July 2014 at 11:19:26 UTC, Dicebot wrote: On Thursday, 10 July 2014 at 11:03:20 UTC, logicchains wrote: Are there any tutorials or blog posts out there demonstrating how to use this? I think posts along the lines of This is a CSP/message passing program in Go/Erlang. This is

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 12:13:03 UTC, bearophile wrote: Dicebot: I can't blame Sonke or anyone else for not wanting to waste his time on pushing more stuff upstream considering how miserable contribution experience is right now. This was one of the causes of the creation of Tango and

Re: Opportunities for D

2014-07-10 Thread bearophile via Digitalmars-d
Dicebot: No one but Walter / Andrei can do anything about it. Right now we are in weird situation when they call for lieutenants but are not ready to abandon decision power. It can't possibly work that way. No amount of volunteer effort will help when so many PR stall waiting for resolution

Re: Opportunities for D

2014-07-10 Thread Wyatt via Digitalmars-d
On Wednesday, 9 July 2014 at 23:58:39 UTC, H. S. Teoh via Digitalmars-d wrote: So here's a first stab at refining (and extending) what 'scope' should be: In general, I like it, but can scopedness be inferred? The impression I get from this is we're supposed to manually annotate every

Re: critique of vibe.d

2014-07-10 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 10 July 2014 at 07:56:43 UTC, Jacob Carlborg wrote: To me that sounds a bit backwards. I can go both ways, depending on the design of the form and how many helper tags we decide to use for the project. My dom library doesn't dictate how you do it, of course, it just provides

Re: For the adventurous: News from the LDC/Linux front

2014-07-10 Thread David Nadlinger via Digitalmars-d
On Wednesday, 9 July 2014 at 06:44:10 UTC, Jacob Carlborg wrote: On 08/07/14 19:54, David Nadlinger wrote: The first is that LDC now supports linker-level dead code elimination on Linux. […] Is this only for Linux or Posix in general? So far it is only enabled on Linux, as I made the

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/9/14, 11:59 PM, deadalnix wrote: On Wednesday, 9 July 2014 at 19:50:18 UTC, Walter Bright wrote: 8. NotNull!T type For those that want a non-nullable reference type. This should be doable as a library type. No. Rationale? Please, we've gone through this again and again and again and

Re: critique of vibe.d

2014-07-10 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 9 July 2014 at 19:05:54 UTC, w0rp wrote: * An ORM, which absolutely must have a way to build queries a piece at a time without writing any SQL, like Django. I'm skeptical of the benefit of full ORM, but my database.d goes to the point I believe is useful with two classes (and a

Re: critique of vibe.d

2014-07-10 Thread Chris via Digitalmars-d
On Thursday, 10 July 2014 at 13:42:30 UTC, Adam D. Ruppe wrote: On Thursday, 10 July 2014 at 07:56:43 UTC, Jacob Carlborg wrote: To me that sounds a bit backwards. I can go both ways, depending on the design of the form and how many helper tags we decide to use for the project. My dom

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 12:54 AM, Walter Bright wrote: On 7/10/2014 12:23 AM, Walter Bright wrote: On 7/9/2014 11:59 PM, deadalnix wrote: On Wednesday, 9 July 2014 at 19:50:18 UTC, Walter Bright wrote: 8. NotNull!T type For those that want a non-nullable reference type. This should be doable as a

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 12:21 AM, Walter Bright wrote: On 7/10/2014 12:03 AM, deadalnix wrote: So runtime error or php style better anything than nothing for something that can be checked statically... I don't understand your comment. It's very simple. The semantics you propose is move with the syntax

Re: Software Assurance Reference Dataset

2014-07-10 Thread bearophile via Digitalmars-d
(Sorry for the very delayed answers.) Walter Bright: Oh well, there goes about 90% of D programs and pretty much all use of the D runtime library! Right. On the other hand the need for such strict safety requirements that forbid stack overflows, is not present in desktop

Re: For the adventurous: News from the LDC/Linux front

2014-07-10 Thread David Nadlinger via Digitalmars-d
On Wednesday, 9 July 2014 at 10:01:15 UTC, Dicebot wrote: Those are probably best news from D world I have heard in last few months! Has anyone tried that on largish projects? Using GDC with --gc-sections has resulted in broken binaries sometimes but most likely it was the same ModuleInfo

Re: Opportunities for D

2014-07-10 Thread John Colvin via Digitalmars-d
On Thursday, 10 July 2014 at 13:09:42 UTC, bearophile wrote: Dicebot: No one but Walter / Andrei can do anything about it. Right now we are in weird situation when they call for lieutenants but are not ready to abandon decision power. It can't possibly work that way. No amount of volunteer

Re: For the adventurous: News from the LDC/Linux front

2014-07-10 Thread Iain Buclaw via Digitalmars-d
On 10 July 2014 15:00, David Nadlinger via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wednesday, 9 July 2014 at 10:01:15 UTC, Dicebot wrote: Those are probably best news from D world I have heard in last few months! Has anyone tried that on largish projects? Using GDC with

Re: Opportunities for D

2014-07-10 Thread John Colvin via Digitalmars-d
On Thursday, 10 July 2014 at 12:54:19 UTC, Dicebot wrote: On Thursday, 10 July 2014 at 12:13:03 UTC, bearophile wrote: Dicebot: I can't blame Sonke or anyone else for not wanting to waste his time on pushing more stuff upstream considering how miserable contribution experience is right now.

Re: For the adventurous: News from the LDC/Linux front

2014-07-10 Thread Dicebot via Digitalmars-d
LDC is officially my favorite D compiler from now 3 ..now I only need to finish D2 migration of our code base *caugh*

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 14:09:41 UTC, John Colvin wrote: To be fair to Walter/Andrei, you need to be clear who your lieutenant is before you can delegate to them. Who has stepped up to take charge of concurrency in D? I think it should be other way around - announcing slot with listed

Re: critique of vibe.d

2014-07-10 Thread Chris via Digitalmars-d
@Adam At the moment, I'm looking into web development frameworks (from Foundation to CMSes to sever side solutions etc.), because in the months / years to come we (as in the team I work in) will need a solid website. Ideally, it would be PHP-free and not need much Javascript development

Re: Opportunities for D

2014-07-10 Thread John Colvin via Digitalmars-d
On Thursday, 10 July 2014 at 14:14:20 UTC, Dicebot wrote: On Thursday, 10 July 2014 at 14:09:41 UTC, John Colvin wrote: To be fair to Walter/Andrei, you need to be clear who your lieutenant is before you can delegate to them. Who has stepped up to take charge of concurrency in D? I think it

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 5:54 AM, Dicebot wrote: On Thursday, 10 July 2014 at 12:13:03 UTC, bearophile wrote: Dicebot: I can't blame Sonke or anyone else for not wanting to waste his time on pushing more stuff upstream considering how miserable contribution experience is right now. This was one of the

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 7:24 AM, John Colvin wrote: On Thursday, 10 July 2014 at 14:14:20 UTC, Dicebot wrote: On Thursday, 10 July 2014 at 14:09:41 UTC, John Colvin wrote: To be fair to Walter/Andrei, you need to be clear who your lieutenant is before you can delegate to them. Who has stepped up to take

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 14:30:38 UTC, Andrei Alexandrescu wrote: Then there's stuff I have no expertise in such as https://github.com/D-Programming-Language/phobos/pull/2307. Not only I'm not on hook for that, I better not discuss and pull that and leave it to someone who knows curl

Re: critique of vibe.d

2014-07-10 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 10 July 2014 at 13:55:14 UTC, Chris wrote: Would you be interested in putting a web development framework (or parts of it) together we can tie in with vibe.d? Meh, not really. I've never used vibe.d so getting started is at least a psychological hurdle and I have a lot of other

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Wednesday, 9 July 2014 at 21:47:47 UTC, Andrei Alexandrescu wrote: On 7/9/14, 1:51 PM, Walter Bright wrote: On 7/9/2014 1:35 PM, Andrei Alexandrescu wrote: Hmmm... how about using u after that? Using u after that would either cause an exception to be thrown, or they'd get T.init as a

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
E.g. https://github.com/D-Programming-Language/phobos/pull/1527 is some apparently work that's just sitting there abandoned. Hm, slightly OT: is it considered widely acceptable to take over such pull requests by reopening rebased one with identical content? I presume Boost licensing implies

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 06:32:32 UTC, logicchains wrote: On Thursday, 10 July 2014 at 05:58:56 UTC, Andrei Alexandrescu wrote: We already have actor-style via std.concurrency. We also have fork-join parallelism via std.parallel. What we need is a library for CSP. The actor-style via

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 11:03:20 UTC, logicchains wrote: Reading the code in the pull request [1], for instance, makes me wonder how to tell if `spawn()` is spawning a thread or a fibre. Can a tid refer to a fibre? If so, why's it called a thread ID, and how do I tell if a particular

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 11:19:26 UTC, Dicebot wrote: Problem is that this is most simple PR to simply add message-passing support for fibers. Adding some advanced schedulers with worker thread pool can be expected to be done on top but.. This small PR has been rotting there for ages

Re: Opportunities for D

2014-07-10 Thread John Colvin via Digitalmars-d
On Thursday, 10 July 2014 at 14:54:51 UTC, Dicebot wrote: E.g. https://github.com/D-Programming-Language/phobos/pull/1527 is some apparently work that's just sitting there abandoned. Hm, slightly OT: is it considered widely acceptable to take over such pull requests by reopening rebased one

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 14:30:38 UTC, Andrei Alexandrescu wrote: Switching to newer pull requests, there are simple and obviously good pull requests that just sit there for anyone to pull. This. I think pull requests tend to sit because people don't feel they have the authority to

Re: critique of vibe.d

2014-07-10 Thread Chris via Digitalmars-d
On Thursday, 10 July 2014 at 14:50:50 UTC, Adam D. Ruppe wrote: On Thursday, 10 July 2014 at 13:55:14 UTC, Chris wrote: Would you be interested in putting a web development framework (or parts of it) together we can tie in with vibe.d? Meh, not really. I've never used vibe.d so getting

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 8:29 AM, Sean Kelly wrote: Robert's struggle with getting std.logger accepted is the stuff told to children around the campfire so they don't venture out into the dark. Actually we use his logger at Facebook quite extensively (and happily). -- Andrei

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 15:35:03 UTC, John Colvin wrote: On Thursday, 10 July 2014 at 14:54:51 UTC, Dicebot wrote: E.g. https://github.com/D-Programming-Language/phobos/pull/1527 is some apparently work that's just sitting there abandoned. Hm, slightly OT: is it considered widely

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 7:53 AM, Sean Kelly wrote: On Wednesday, 9 July 2014 at 21:47:47 UTC, Andrei Alexandrescu wrote: On 7/9/14, 1:51 PM, Walter Bright wrote: On 7/9/2014 1:35 PM, Andrei Alexandrescu wrote: Hmmm... how about using u after that? Using u after that would either cause an exception to

Re: Opportunities for D

2014-07-10 Thread Andrei Alexandrescu via Digitalmars-d
On 7/10/14, 7:54 AM, Dicebot wrote: E.g. https://github.com/D-Programming-Language/phobos/pull/1527 is some apparently work that's just sitting there abandoned. Hm, slightly OT: is it considered widely acceptable to take over such pull requests by reopening rebased one with identical content?

Re: Opportunities for D

2014-07-10 Thread via Digitalmars-d
On Thursday, 10 July 2014 at 14:30:38 UTC, Andrei Alexandrescu wrote: In the meantime, everybody's busy arguing the minutia of logo redesign. The length (not existence) of that thread is a piece of evidence of what's wrong with our community. Actually, that thread is a good sign and a good

Re: Opportunities for D

2014-07-10 Thread Dicebot via Digitalmars-d
On Thursday, 10 July 2014 at 15:52:45 UTC, Andrei Alexandrescu wrote: On 7/10/14, 8:29 AM, Sean Kelly wrote: Robert's struggle with getting std.logger accepted is the stuff told to children around the campfire so they don't venture out into the dark. Actually we use his logger at Facebook

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 15:51:25 UTC, Andrei Alexandrescu wrote: Nononono - unique_ptr never moves from lvalues. Also, the educational argument for auto_ptr doesn't stand; it was bad design, pure and simple. -- Andrei The documentation at:

Re: Opportunities for D

2014-07-10 Thread Nick Treleaven via Digitalmars-d
On 09/07/2014 20:55, Walter Bright wrote: here's the first one, to disable postblit: https://github.com/D-Programming-Language/phobos/pull/2308 BTW I updated that pull, should be less muddled now ;-) More things that need to happen with Unique: ... Unique!(int*) u = new int; // must

Re: Opportunities for D

2014-07-10 Thread Sean Kelly via Digitalmars-d
On Thursday, 10 July 2014 at 15:52:45 UTC, Andrei Alexandrescu wrote: On 7/10/14, 8:29 AM, Sean Kelly wrote: Robert's struggle with getting std.logger accepted is the stuff told to children around the campfire so they don't venture out into the dark. Actually we use his logger at Facebook

  1   2   3   4   >