Re: H1 2015 Priorities and Bare-Metal Programming

2015-01-31 Thread weaselcat via Digitalmars-d
On Sunday, 1 February 2015 at 05:21:15 UTC, Mike wrote: ... [2] - Why D is not a Systems Programming Language - https://github.com/klamonte/cycle/blob/master/docs/no_more_d.md I don't have much to add but this is one of the better critiques of D I've seen.

Re: 2015 H1 Vision

2015-01-31 Thread Tofu Ninja via Digitalmars-d-announce
On Sunday, 1 February 2015 at 03:46:25 UTC, data man wrote: Vision/2015H1 wrote: We believe safety is an important aspect of language design, and we plan to continue building on the @safe/@trusted/@system troika. I like the troika :-) I had to look up what it means :/

Re: 2015 H1 Vision

2015-01-31 Thread Daniel Murphy via Digitalmars-d-announce
Joakim wrote in message news:nphrawlkmiwksghfy...@forum.dlang.org... Nice work, D needed some direction like this. I thought one oversight was no mention of ddmd, which seems to have gone into limbo over the last year. According to Daniel, it's pretty much done but is just waiting on Brad

[Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s))

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13969 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 14097] root/async.c: free after use

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14097 --- Comment #3 from Ketmar Dark ket...@ketmar.no-ip.org --- as i have no github account, i'll answer here: WalterBright added a note Feb 1, 2015 Why this change? 'cause `AsyncRead::dispose` can `free()` aw before loop in `startthread` completes,

Re: Google Summer of Code - Again

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 30 January 2015 at 22:30:18 UTC, Rikki Cattermole wrote: On 31/01/2015 3:24 a.m., CraigDillabaugh wrote: Window creation isn't conception. Its a very nice reality :) I was just throwing it out there however about an image library. In case somebody wanted to mentor for it. I

H1 2015 Priorities and Bare-Metal Programming

2015-01-31 Thread Mike via Digitalmars-d
This is related to the recent publication of D's H1 2015 Priorities [1], but I suspect this post could create a few tangents, so I decided to post it under its own thread. IMO D has high potential for kernel programming, embedded systems, and other bare-metal varieties where high-level

Re: painlessjson released, looking for improvement advice

2015-01-31 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 29 January 2015 at 20:04:51 UTC, Pierre Krafft wrote: It's fun to see that there are so many different solutions to working with JSON in D. jsvar seems to be for keeping your variables in JavaScript-land, something I think is a bad idea in most cases. The idea of painlessjson is

[Issue 13952] change in struct ctor lowering triggers codegen bug

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13952 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

Vision

2015-01-31 Thread Andrei Alexandrescu via Digitalmars-d
I know some of you don't follow the announce forum (you should) so there's this: http://forum.dlang.org/post/majurl$2457$1...@digitalmars.com Andrei

Re: use after free crashbug in DMD (and fix)

2015-01-31 Thread ZombineDev via Digitalmars-d
I have made a pull request[1] with your fix, if you don't mind. [1]: https://github.com/D-Programming-Language/dmd/pull/4363 On Sunday, 1 February 2015 at 01:30:40 UTC, ketmar wrote: https://issues.dlang.org/show_bug.cgi?id=14097 i know that bugzilla patches can be slow to review, but this

[Issue 14098] std.typecons.wrap should allow wrapping a struct

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14098 Jesse Phillips jesse.k.phillip...@gmail.com changed: What|Removed |Added Keywords||pull

Re: 2015 H1 Vision

2015-01-31 Thread data man via Digitalmars-d-announce
Vision/2015H1 wrote: We believe safety is an important aspect of language design, and we plan to continue building on the @safe/@trusted/@system troika. I like the troika :-)

[Issue 14074] non-separate compilation fails, but separate compilation works

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14074 sinkuup...@gmail.com changed: What|Removed |Added Keywords||link-failure CC|

Re: 2015 H1 Vision

2015-01-31 Thread Joakim via Digitalmars-d-announce
On Sunday, 1 February 2015 at 01:17:41 UTC, Andrei Alexandrescu wrote: Hello, Walter and I have been mulling for a while on a vision for the first six months of 2015. http://wiki.dlang.org/Vision/2015H1 This is stuff we consider important for D going forward and plan to work actively on.

[Issue 14095] explicitly exclude symbol from resolution consideration

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14095 Vlad Levenfeld vlevenf...@gmail.com changed: What|Removed |Added CC||vlevenf...@gmail.com

[Issue 14095] New: explicitly exclude symbol from resolution consideration

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14095 Issue ID: 14095 Summary: explicitly exclude symbol from resolution consideration Product: D Version: D1 D2 Hardware: x86_64 OS: Linux Status: NEW

Re: Problem with coupling shared object symbol visibility with protection

2015-01-31 Thread deadalnix via Digitalmars-d
On Wednesday, 28 January 2015 at 13:48:45 UTC, Dicebot wrote: Isn't that what your first proposed solution is about? That was my understanding and I liked that understanding :) To be 100% clear : export void foo(T : int)(T x) { bar(x); } private void bar(int x) { } I'd expect `bar` to

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Saturday, 31 January 2015 at 20:48:01 UTC, Walter Bright wrote: On 1/31/2015 7:10 AM, Piotrek wrote: I know that, but the naming is the least important aspect of the proposal. I agree. Let's not have endless posts bikeshedding the name, no matter how tempting. Yeah, lets just call it

[Issue 14097] root/async.c: free after use

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14097 Ketmar Dark ket...@ketmar.no-ip.org changed: What|Removed |Added CC||ket...@ketmar.no-ip.org

use after free crashbug in DMD (and fix)

2015-01-31 Thread ketmar via Digitalmars-d
https://issues.dlang.org/show_bug.cgi?id=14097 i know that bugzilla patches can be slow to review, but this is a critical heisenbug which must be fixed ASAP, i believe. so i'm pinging here. signature.asc Description: PGP signature

Re: Window creation, for phobos?

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Sunday, 1 February 2015 at 05:10:52 UTC, Craig Dillabaugh wrote: On Saturday, 31 January 2015 at 11:34:42 UTC, Paulo Pinto wrote: On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: Regarding C++ that might change.

Re: Google Summer of Code - Again

2015-01-31 Thread Rikki Cattermole via Digitalmars-d
On 1/02/2015 5:59 p.m., Craig Dillabaugh wrote: On Friday, 30 January 2015 at 22:30:18 UTC, Rikki Cattermole wrote: On 31/01/2015 3:24 a.m., CraigDillabaugh wrote: Window creation isn't conception. Its a very nice reality :) I was just throwing it out there however about an image library.

[Issue 14089] [REG2.064] Assigning to AA has no value when overriding opAssign

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14089 --- Comment #1 from sinkuup...@gmail.com --- The behavior of AA assign before 2.064 was just returning rhs. But I noticed this is confusing as I unintentionally showed in #0(result of opAssign vs rhs). Please close this issue if the new behavior is

Re: 2015 H1 Vision

2015-01-31 Thread Rikki Cattermole via Digitalmars-d-announce
On 1/02/2015 2:17 p.m., Andrei Alexandrescu wrote: Hello, Walter and I have been mulling for a while on a vision for the first six months of 2015. http://wiki.dlang.org/Vision/2015H1 This is stuff we consider important for D going forward and plan to work actively on. We encourage the D

[Issue 14098] New: std.typecons.wrap should allow wrapping a struct

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14098 Issue ID: 14098 Summary: std.typecons.wrap should allow wrapping a struct Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: Window creation, for phobos?

2015-01-31 Thread Rikki Cattermole via Digitalmars-d
On 1/02/2015 6:13 p.m., Craig Dillabaugh wrote: On Sunday, 1 February 2015 at 05:10:52 UTC, Craig Dillabaugh wrote: On Saturday, 31 January 2015 at 11:34:42 UTC, Paulo Pinto wrote: On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: Regarding C++ that might change.

Re: Window creation, for phobos?

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Saturday, 31 January 2015 at 11:34:42 UTC, Paulo Pinto wrote: On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: Regarding C++ that might change. https://msopentech.com/blog/2015/01/28/experimenting-with-a-proposed-standard-gui-for-the-c-language/

[Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s))

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13969 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/02f8cde5973b7cfc2e24e41e893068e4947edf06 fix Issue 13969 -

Re: std.sevenzip - Do you need it?

2015-01-31 Thread MrSmith via Digitalmars-d
On Saturday, 31 January 2015 at 04:30:06 UTC, Daniel Murphy wrote: Brad Anderson wrote in message news:vqkaztokcfgdbykbi...@forum.dlang.org... I'm mostly of the opinion that we should be relying less on Phobos and more on dub going forward. sevenzip would be a great addition to the dub

Re: Module for manual memory management

2015-01-31 Thread Foo via Digitalmars-d
On Saturday, 31 January 2015 at 01:07:21 UTC, Andrei Alexandrescu wrote: On 1/30/15 3:49 PM, Foo wrote: Is there interest in such a thing? I'm currently working on something for my own use and I'm curious if anyone else would be interested in something like that. I'm aware of Unique,

Re: DMD 2.066.1 is missing in the Digitalmars FTP

2015-01-31 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-30 21:45, Brad Roberts via Digitalmars-d wrote: I'd be much more inclined to keep a file called LATEST with the version number in it than having to maintain a ton of redirects each time. (not present yet, but for example) http://downloads.dlang.org/releases/LATEST containing one

Re: Window creation, for phobos?

2015-01-31 Thread ponce via Digitalmars-d
On Thursday, 29 January 2015 at 11:17:32 UTC, Mike wrote: On Tuesday, 27 January 2015 at 22:05:02 UTC, Rikki Cattermole wrote: I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Now enough gabble. I'm

Re: Window creation, for phobos?

2015-01-31 Thread Rikki Cattermole via Digitalmars-d
On 31/01/2015 11:49 p.m., ponce wrote: On Thursday, 29 January 2015 at 11:17:32 UTC, Mike wrote: snip 7. Perhaps some kind of an input package This belong to a windowing library and should be decoupled from the imaging library as far as possible. You can't have windowing library X require

Re: Module for manual memory management

2015-01-31 Thread Foo via Digitalmars-d
On Saturday, 31 January 2015 at 01:07:21 UTC, Andrei Alexandrescu wrote: On 1/30/15 3:49 PM, Foo wrote: Is there interest in such a thing? I'm currently working on something for my own use and I'm curious if anyone else would be interested in something like that. I'm aware of Unique,

Re: Should we remove int[$] before 2.067?

2015-01-31 Thread eles via Digitalmars-d
On Saturday, 31 January 2015 at 07:19:47 UTC, Andrei Alexandrescu wrote: On 1/30/15 11:00 PM, eles wrote: On Friday, 30 January 2015 at 18:08:15 UTC, Gary Willoughby wrote: On Friday, 30 January 2015 at 14:47:22 UT We don't want the situation of C++ where people only use 80% of it's

Re: Window creation, for phobos?

2015-01-31 Thread ponce via Digitalmars-d
On Thursday, 29 January 2015 at 09:13:17 UTC, Rikki Cattermole wrote: On 29/01/2015 9:45 p.m., Manu via Digitalmars-d wrote: I'm chipping away at a colour module, although I've been distracted with work the last little bit. I see, anything I can help with? I'm not convinced that D needs a

Re: Time for 2.067

2015-01-31 Thread zeljkog via Digitalmars-d
On 30.01.15 23:24, AndyC wrote: On Friday, 30 January 2015 at 22:06:34 UTC, Walter Bright wrote: Time to button this up and release it. Remaining regressions:

Re: Window creation, for phobos?

2015-01-31 Thread Paulo Pinto via Digitalmars-d
On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: On Thursday, 29 January 2015 at 09:13:17 UTC, Rikki Cattermole wrote: On 29/01/2015 9:45 p.m., Manu via Digitalmars-d wrote: I'm chipping away at a colour module, although I've been distracted with work the last little bit. I see,

Re: std.sevenzip - Do you need it?

2015-01-31 Thread data man via Digitalmars-d
On Friday, 30 January 2015 at 18:12:43 UTC, Max Klyga wrote: Is this a port or binding for some existing library? Statically linked.

Re: std.sevenzip - Do you need it?

2015-01-31 Thread data man via Digitalmars-d
Thanks for the feedback! And DUB supports the compilation of external ะก-code?

Re: [website redesign] PR for the one with the big red menu bar

2015-01-31 Thread Martin Nowak via Digitalmars-d
On Friday, 30 January 2015 at 20:21:01 UTC, Steven Schveighoffer wrote: Those aren't clouds, they are moons :) Phobos and Deimos to be precise.

Re: Problem with coupling shared object symbol visibility with protection

2015-01-31 Thread Martin Nowak via Digitalmars-d
On Saturday, 31 January 2015 at 09:25:10 UTC, Benjamin Thaut wrote: Well, export is going to remain transitive. So the first approach is still going to work. The only difference is going to be that you can force export private declarations. So for most modules it is hopefully going to be

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
How to get amount of digit after point in a double for to get integer from a double? assert(amountAfterPoint(1.456) == 3); assert(amountAfterPoint(0.6) == 5);

Re: [website redesign] PR for the one with the big red menu bar

2015-01-31 Thread Brian Schott via Digitalmars-d
On Friday, 30 January 2015 at 20:21:01 UTC, Steven Schveighoffer wrote: Those aren't clouds, they are moons :) That's no moon. That's a space station.

[Issue 14062] Not pure std.variant.Variant ctor

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14062 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com --- Comment #1

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
without to!string

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread Colin via Digitalmars-d-learn
On Saturday, 31 January 2015 at 12:07:23 UTC, RuZzz wrote: How to get amount of digit after point in a double for to get integer from a double? assert(amountAfterPoint(1.456) == 3); assert(amountAfterPoint(0.6) == 5); How about a loop like import std.stdio; void main(){

<    1   2