Re: Release D 2.074.1

2017-06-03 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 3 June 2017 at 18:42:57 UTC, Seb wrote: So, I guess your problem is the VERSION file on the dmd stable branch? No, it's the VERSION file present if one checks out the v2.074.1 tag. I suspect this doesn't show up in the official packages because IIRC the VERSION file is edited a

Re: Release D 2.074.1

2017-06-03 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 3 June 2017 at 19:02:36 UTC, Joseph Rushton Wakeling wrote: The point is here that this keeps happening. The relevant issue (filed over a year ago): https://issues.dlang.org/show_bug.cgi?id=15910

Re: Release D 2.074.1

2017-06-03 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 3 June 2017 at 19:31:51 UTC, Seb wrote: Tags are only made from the stable branch. The point is that the VERSION file is wrong in the officially tagged release source. Well, as mentioned minor point releases have never been changed in the git repo before: https://github.com/d

Re: Release D 2.074.1

2017-06-03 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 3 June 2017 at 21:17:18 UTC, Seb wrote: I understand the problem, but there's only so much Martin can do in his free time. I'm not asking anyone to do the work. I'm asking for a clear recognition that this is a problem that should be fixed. I'm also asking for a clear recogniti

Re: Release D 2.074.1

2017-06-03 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 2 June 2017 at 09:52:45 UTC, Joseph Rushton Wakeling wrote: Great news, thanks Martin. I'll update the snap packages over the weekend. :-) Done. sudo snap refresh --classic --edge dmd should upgrade things for anyone who already has the package install; otherwise,

Re: Release D 2.074.1

2017-06-05 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 5 June 2017 at 18:25:19 UTC, Martin Nowak wrote: IMO the problem here is the usage of a VERSION file in the first place, which exists only b/c it's somewhat tricky to invoke git on Windows. Yup, my instinct is that if a VERSION file needs to exist at all it should be created during

Re: Snap packages for DMD and DUB

2017-06-06 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Tuesday, 6 June 2017 at 08:20:54 UTC, Piotr Mitana wrote: Hi, I got yet another error - this time Ubuntu 16.04 and rdmd. Failed to flush stdout: Permission denied Failed: ["dmd", "-v", "-o-", "main.d", "-I."] It seems like (despite classic confinement) apps ran by rdmd cannot print things o

Re: Snap packages for DMD and DUB

2017-06-06 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Tuesday, 6 June 2017 at 14:27:40 UTC, Johan Engelen wrote: Have you thought about creating a `dtools` package with rdmd, dustmite, and ddemangle in it? They are useful for LDC and GDC too, perhaps people would like to be able to install them without needing to install DMD. (Perhaps the DMD/

Developer positions at Sociomantic Labs

2017-06-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
Hello all, I'm happy to announce that we have some new D developer positions on offer at Sociomantic: https://www.sociomantic.com/jobs/d-software-developer-adserving/ https://www.sociomantic.com/jobs/software-developer-d-language-bidding/ The first of these would particularly suit someone with

Re: LDC 1.3.0-beta2

2017-06-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 12 June 2017 at 17:49:46 UTC, kinke wrote: LDC 1.3.0-beta2, the LLVM-based D compiler, is available for download! This release is based on the 2.073.2 frontend and standard library and supports LLVM 3.5-4.0. A snap package for this, using the LLVM 4.0.0 backend, is available in the

Re: Developer positions at Sociomantic Labs

2017-06-13 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Tuesday, 13 June 2017 at 02:53:14 UTC, Dsby wrote: 唉、、My poor English、、、 English is important to us, but if you're keen, I would encourage you to apply anyway and let us make the decision on whether you're at the level we need.

Re: Developer positions at Sociomantic Labs

2017-06-13 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Tuesday, 13 June 2017 at 12:16:48 UTC, Vadim Lopatin wrote: Is German needed? No. The office is English-speaking (and very international).

Re: LDC 1.3.0

2017-07-10 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 9 July 2017 at 21:33:17 UTC, kinke wrote: LDC 1.3.0, the LLVM-based D compiler, is available for download! This release is based on the 2.073.2 frontend and standard library and supports LLVM 3.5-4.0. Congratulations all! :-) The ldc2 snap package has been updated to 1.3.0 as well.

Re: Release D 2.075.0

2017-07-19 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Wednesday, 19 July 2017 at 15:36:22 UTC, Martin Nowak wrote: Glad to announce D 2.075.0. This release comes with various phobos additions, a repackaged std.datetime, configurable Fiber stack guard pages (now also on Posix), and optional precise GC scanning for the DATA/TLS segment (static d

Important fix for DUB snap package

2019-02-14 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
Hello all, I've just released an important fix for the DUB snap package: it now bundles its own libcurl. This should prevent issues observed on Ubuntu 18.04 where the dub snap was unable to find a suitable libcurl to load, and therefore could not download package data. To upgrade to this n

Re: Berlin D Meetup Feb 2015

2015-02-27 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 12 February 2015 at 01:58:04 UTC, Walter Bright wrote: I see you're doing the presentation! I note that you haven't submitted a presentation proposal for Dconf 2015 yet. Please submit this one! Why not get the most mileage out of it? Submitted :-)

Re: dsq-1: open-source software synthesizer

2015-04-01 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 30 March 2015 at 05:23:18 UTC, Rikki Cattermole wrote: This is a primarily a french license. It took me a good while to understand that it was compatible with e.g. MIT. Compatible in what way? Isn't CeCILL a copyleft license? (It's not 100% obvious to me whether strong or weak copyl

Re: Martin Nowak's talk cancelled

2015-05-27 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Wednesday, 27 May 2015 at 20:04:04 UTC, Iain Buclaw wrote: I could do a John Cage inspired talk remotely that lasts 4 minutes and 33 seconds. How do you plan on indicating the start and end of the 3 movements?

DConf 2015 day 2 is livestreaming

2015-05-28 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
https://www.youtube.com/watch?v=AH35IxWkx8M :-)

Re: Laptop volunteer wanted for tomorrows live-stream

2015-05-29 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 29 May 2015 at 15:04:03 UTC, Dicebot wrote: https://www.youtube.com/watch?v=oA1exjdEIWw According to YouTube, it's still streaming ... :-)

Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-05-31 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 29 May 2015 at 23:42:00 UTC, Andrei Alexandrescu wrote: DConf 2015 has been awesome, I'm taking a minute to post this that's been announced a short while ago. We're pleased to announce that DConf 2016 will take place in Berlin, sponsored by Sociomantic. We'll be back with details.

Re: DConf 2015 has ended. See you in Berlin at DConf 2016!

2015-06-01 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 1 June 2015 at 16:23:14 UTC, Steven Schveighoffer wrote: I will note to those reading this thread, the absolute most phenomenal part of attending the d conference is the live discussion that happens between talks, and afterwards over drinks/dinner. The live streams and recorded talks

Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote: http://beta.forum.dlang.org/ Many major and minor improvements. Some major ones: - dlang.org theme, fully responsive and mobile-friendly - keyboard navigation in all views - automatically saved post drafts - get notified of ne

Re: Four new DConf 2015 videos

2015-07-08 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
Great! :-) You know, I think I'm slightly disappointed they cut the moment when the USB presentation controller cut out early in my talk. I kind of thought that was fun. :-P

Re: Berlin D Meetup July 2015

2015-07-20 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 13 July 2015 at 12:31:56 UTC, Iain Buclaw wrote: On 13 Jul 2015 11:30, "Ben Palmer via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: Just a note for anyone that is coming, we will be on the 5th floor from now on and not the 3rd floor. Is there an elevat

Re: Moving forward with work on the D language and foundation

2015-08-25 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 24 August 2015 at 18:43:01 UTC, Andrei Alexandrescu wrote: Hello everyone, Following an increasing desire to focus on working on the D language and foundation, I have recently made the difficult decision to part ways with Facebook, my employer of five years and nine months. Wow,

Re: The D Language Foundation is now incorporated

2015-10-16 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 16 October 2015 at 10:04:36 UTC, Andrei Alexandrescu wrote: We are pleased to announce that the D Language Foundation is now incorporated with the state of Washington, USA. The foundation's Board of Directors are Walter Bright, Ali Çehreli, and myself. ... We're very excited about

Dgraph v0.0.2

2015-10-27 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
I've released a new Dgraph version with some small but important changes; full story here: http://braingam.es/2015/10/read-the-terminology-kids-a-new-dgraph-release/ https://github.com/WebDrake/Dgraph/releases/tag/v0.0.2 Thanks to Peter Roman for pointing out the issues which were addressed.

Re: Release D 2.069.0

2015-11-04 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote: Glad to announce D 2.069.0. This is the first release with a self-hosted dmd compiler and comes with even more rangified phobos functions, std.experimental.allocator, and many other improvements. Thanks and congratulations to

D wrapper for TestU01 random-number-generator test batteries

2015-11-25 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
Hello all, Recently I realized that TestU01 had been packaged in the latest Ubuntu, so for fun, I thought I'd have a little play with it and see if I could set up something to trial Phobos' uniform random number generators. The (very, VERY) provisional results are here: https://github.com/We

Re: PowerNex - My 64bit kernel written in D

2015-11-25 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 21 November 2015 at 11:34:57 UTC, Piotrek wrote: Is it possible for you to pick the Boost license (especially for libs)? Honestly, if I were to urge anything (I don't really feel like doing so), I would urge the opposite. If the experience of Linux versus other free/open-source

Re: https everywhere!

2015-11-25 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 23 November 2015 at 20:55:32 UTC, Walter Bright wrote: I'm pleased to announce that Jan Knepper has gotten us some proper certificates now, and dlang.org and digitalmars.com are now fully https! Trying to access https://forum.dlang.org/ I get a "This Connection Is Untrusted" page f

Re: D wrapper for TestU01 random-number-generator test batteries

2015-11-25 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Wednesday, 25 November 2015 at 23:48:48 UTC, Joseph Rushton Wakeling wrote: Hello all, Recently I realized that TestU01 had been packaged in the latest Ubuntu, so for fun, I thought I'd have a little play with it and see if I could set up something to trial Phobos' uniform ran

Re: Release D 2.070.0

2016-01-31 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 31 January 2016 at 00:13:46 UTC, Dicebot wrote: NB: tagged commit has 2.069 in VERSION file resulting in built compiler reporting wrong version. I have added a workaround in packaging script for now but would be nice to fix that in 2.070.1 It's already fixed in master, but no one h

Re: Release D 2.071.0

2016-04-10 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 7 April 2016 at 10:13:35 UTC, Dicebot wrote: On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: Glad to announce D 2.071.0. http://dlang.org/download.html This release fixes many long-standing issues with imports and the module system. See the changelog for more detai

Re: Release D 2.071.0

2016-04-10 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 10 April 2016 at 14:30:29 UTC, Joseph Rushton Wakeling wrote: On Thursday, 7 April 2016 at 10:13:35 UTC, Dicebot wrote: On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: Glad to announce D 2.071.0. http://dlang.org/download.html This release fixes many long-standing

Re: Official dub packages for Debian and Ubuntu

2016-04-11 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 11 April 2016 at 14:21:46 UTC, Matthias Klumpp wrote: As part of that work, the dub package an build management system is now available in Debian, and I will ensure it works well. Additionally, it was possible to make dub available late in the Ubuntu 16.04 (Xenial) development cycle,

Re: Official dub packages for Debian and Ubuntu

2016-04-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Tuesday, 12 April 2016 at 01:58:13 UTC, Matthias Klumpp wrote: On Monday, 11 April 2016 at 21:58:55 UTC, Joseph Rushton Wakeling wrote: Related note: I see the lcd version in xenial is 0.17.0~beta2 -- I don't suppose there's any chance of upgrading that to the stable 0.17

Re: Mir v0.13.0: mir.combinatorics & mir.ndslice allocators/constructors/converters

2016-04-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 11 April 2016 at 18:20:29 UTC, 9il wrote: Mir v0.13.0 was released. http://mir.dlang.io Interesting choice of project name there -- for a second I thought you were providing display server bindings ;-)

Re: Official dub packages for Debian and Ubuntu

2016-04-16 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 14 April 2016 at 16:29:31 UTC, Matthias Klumpp wrote: FTR, I filed https://bugs.launchpad.net/ubuntu/+source/ldc/+bug/1570006 - if we are lucky, this still has a chance to go in. That's great, thank you very much. As for further dub stuff, it is important that https://github.com

Re: Official dub packages for Debian and Ubuntu

2016-04-18 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 18 April 2016 at 16:57:27 UTC, Matthias Klumpp wrote: Freeze exception for LDC was approved last-minute, which means the final release will be in Xenial :-) That's fantastic, thank you very much for making this happen :-) Yeah, the description is really off-putting and should absol

Re: Official dub packages for Debian and Ubuntu

2016-04-21 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 18 April 2016 at 21:54:43 UTC, Matthias Klumpp wrote: Unfortunately it FTBFSes... Hopefully we can get the patch for that in as well: https://github.com/ldc-developers/ldc/commit/cb709bfc0a0a3ee8a730c0a99fa53198b6d75364.patch (I'm working on that) I see you succeeded -- many thanks

Re: Official dub packages for Debian and Ubuntu

2016-04-21 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 21 April 2016 at 20:13:07 UTC, Joseph Rushton Wakeling wrote: On Monday, 18 April 2016 at 21:54:43 UTC, Matthias Klumpp wrote: Unfortunately it FTBFSes... Hopefully we can get the patch for that in as well: https://github.com/ldc-developers/ldc/commit

Re: Google Summer of Code

2016-04-23 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 22 April 2016 at 22:43:43 UTC, CraigDillabaugh wrote: I am pleased to announce that the D Foundation has been awarded 4 slots for the 2016 Google Summer of Code. https://summerofcode.withgoogle.com/organizations/5078256051027968/ Congratulations to everyone involved -- this is real

Re: XDG-APP and D

2016-04-23 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 23 April 2016 at 11:29:29 UTC, NX wrote: I will just leave it here: http://www.zdnet.com/article/linux-expert-matthew-garrett-ubuntu-16-04s-new-snap-format-is-a-security-risk/ This is FUD. There are no security risks with snappy packages that there aren't with any other existing

Re: XDG-APP and D

2016-04-23 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 23 April 2016 at 15:13:15 UTC, Anonymouse wrote: But that's more or less what he's saying though, if you read his original blog post. His gripe isn't that it's defect security-wise, but rather that it's being marketed as capital-s Safe. Except that his original blogpost is just s

Re: XDG-APP and D

2016-04-23 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 23 April 2016 at 15:13:15 UTC, Anonymouse wrote: But that's more or less what he's saying though, if you read his original blog post. Just to add further: while I have a lot of doubts about the motives behind the original blogpost (which I feel misleads by omission on several cou

Re: Google Summer of Code

2016-04-27 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 25 April 2016 at 21:58:33 UTC, CRAIG DILLABAUGH wrote: Joseph. If you are interested in becoming a mentor (ideally each project has multiple mentors) I may still be able to add you to our GSoC mentors list. Ilya (Sebastian's mentor) is the lead mentor on the project, but having a se

xoroshiro128+ random number generator

2016-04-29 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
Spotted this reddit post the other day: https://www.reddit.com/r/programming/comments/4gtlfz/xoroshiro128_the_fastest_fullperiod_pseudorandom/ ... and it reminded me that I've been meaning for some time to follow up on the interesting RNG designs by Sebastiano Vigna and colleagues. Since I had

Re: xoroshiro128+ random number generator

2016-04-30 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 30 April 2016 at 08:54:39 UTC, Nordlöw wrote: On Friday, 29 April 2016 at 21:40:49 UTC, Joseph Rushton Wakeling wrote: Spotted this reddit post the other day: https://www.reddit.com/r/programming/comments/4gtlfz/xoroshiro128_the_fastest_fullperiod_pseudorandom/ @nogc :) Hah

Re: xoroshiro128+ random number generator

2016-04-30 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 30 April 2016 at 11:04:14 UTC, Joseph Rushton Wakeling wrote: On Saturday, 30 April 2016 at 08:54:39 UTC, Nordlöw wrote: On Friday, 29 April 2016 at 21:40:49 UTC, Joseph Rushton Wakeling wrote: Spotted this reddit post the other day: https://www.reddit.com/r/programming/comments

Re: It's alive! D building D building D, all on Android

2016-05-05 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 5 May 2016 at 08:17:07 UTC, Joakim wrote: After a sleepless night of trying to build the latest ldc master branch 2.070.2 on my Android tablet a couple nights ago, almost the full druntime/phobos standard library test suite passes (only one assert in std.conv) and the same for the

dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
http://code.dlang.org/packages/dxorshift https://github.com/WebDrake/dxorshift Following my earlier list posting , I'm pleased to announce an initial release of a dub package providing some of the RNGs from the extended family of

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 10:35:11 UTC, Basile B. wrote: The "@disable this" is really a concern, because pointers have to be used (for example if the seed comes from a program option and that the gen is a global var then global var must be a pointer to the stuff). I see that you are yourself

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 10:43:55 UTC, Joseph Rushton Wakeling wrote: Probably the best way to handle this is to handle the take-the-address side of things by a @trusted wrapper that uses `return ref` to guarantee the pointer remains valid for the lifetime of the wrapper itself. Note, I&#x

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 11:15:38 UTC, Joseph Rushton Wakeling wrote: On Sunday, 15 May 2016 at 10:43:55 UTC, Joseph Rushton Wakeling wrote: Probably the best way to handle this is to handle the take-the-address side of things by a @trusted wrapper that uses `return ref` to guarantee the

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 14:25:44 UTC, Basile B. wrote: The wrapper could be smaller with an alias this: [... snip ...] even if I'm not 100% sure if this is conform with previous version. At least the tests pass. I'm surprised that one passes the test, static assert(!isForwardRange!Safe

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 15:15:30 UTC, Basile B. wrote: I confirm that all of them are run. As in your original paste. All pass, 100% coverage. No problem. Anyway, NVM I should just take care of my own buisness... Ah, interesting. I think you may have discovered a bug in `isForwardRange`, b

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 15:33:24 UTC, Joseph Rushton Wakeling wrote: I think you may have discovered a bug in `isForwardRange` Less a bug than a subtlety, it seems. Because of this line: https://github.com/dlang/phobos/blob/778593d805a0c8bf39e318163e6d4004a7357904/std/range/primitives.d

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-15 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 15 May 2016 at 11:15:38 UTC, Joseph Rushton Wakeling wrote: On Sunday, 15 May 2016 at 10:43:55 UTC, Joseph Rushton Wakeling wrote: Probably the best way to handle this is to handle the take-the-address side of things by a @trusted wrapper that uses `return ref` to guarantee the

Re: dxorshift: random number generators from the extended Xorshift family

2016-05-18 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Wednesday, 18 May 2016 at 16:12:35 UTC, jmh530 wrote: On Sunday, 15 May 2016 at 23:34:46 UTC, Joseph Rushton Wakeling wrote: Wrapper implemented here, together with documentation and tests: https://github.com/WebDrake/dxorshift/pull/1 N.B. I'm sticking with the explicit wrapper, be

Re: DIP1000: Scoped Pointers

2016-08-11 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Wednesday, 10 August 2016 at 20:35:23 UTC, Dicebot wrote: - At this point the question I'd personally suggest to be evaluated is "does this proposal enable enough useful designs?". A good check would be to try taking some of your projects and see if having DIP1000 approved and implemented c

Re: DIP1000: Scoped Pointers

2016-08-11 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 11 August 2016 at 19:59:22 UTC, Joseph Rushton Wakeling wrote: Any chance the proposal authors could add some examples of how scope could affect class/struct fields which borrow data by reference (meaning the class/struct instance should not escape the scope of the input data

Re: DIP1000: Scoped Pointers

2016-08-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 11 August 2016 at 22:07:57 UTC, Walter Bright wrote: The scheme does not implement borrowing. References to internal data should be returned via 'return ref' or 'return scope', where their usage will be limited to the expression they appear in. I want to make sure we have the sam

Re: DIP1000: Scoped Pointers

2016-08-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 12 August 2016 at 12:01:41 UTC, Walter Bright wrote: On 8/12/2016 4:12 AM, Joseph Rushton Wakeling wrote: On Thursday, 11 August 2016 at 22:07:57 UTC, Walter Bright wrote: The scheme does not implement borrowing. References to internal data should be returned via 'return re

Re: DIP1000: Scoped Pointers

2016-08-12 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 12 August 2016 at 12:51:26 UTC, Joseph Rushton Wakeling wrote: I'm not sure I follow. I'm looking for the ability to guarantee that a pointer to a stack-allocated entity will not go out of scope ... more precisely, that the pointer will not become invalid because t

Re: DIP1000: Scoped Pointers

2016-08-13 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Friday, 12 August 2016 at 19:37:47 UTC, Walter Bright wrote: That's just what this DIP addresses. struct MyWrapperStruct (T) { private T* data; public this (ref T input) { this.data = &input; // error: not allowed to take address of ref variable

Re: DIP1000: Scoped Pointers

2016-08-13 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 13 August 2016 at 11:09:05 UTC, Walter Bright wrote: Taking the address of a ref variable has not been allowed in @safe code for a long time. Which is understandable given things as they are, but which could probably be relaxed given good scope/lifetime analysis by the compiler..

Re: DIP1000: Scoped Pointers

2016-08-13 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 13 August 2016 at 19:51:07 UTC, Walter Bright wrote: On 8/13/2016 5:02 AM, Joseph Rushton Wakeling wrote: On Saturday, 13 August 2016 at 11:09:05 UTC, Walter Bright wrote: Taking the address of a ref variable has not been allowed in @safe code for a long time. Which is

Re: DIP1000: Scoped Pointers

2016-08-14 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Sunday, 14 August 2016 at 10:11:25 UTC, Guillaume Chatelet wrote: Isn't it what a scoped class is supposed to provide? class Rnd {} void foo() { scope rnd = new Rnd; // reference semantic and stack allocated } Does that actually work in D2? I thought it was a D1-only thing.

Re: [GSoC] Mir.random.flex - Generic non-uniform random sampling

2016-08-23 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Tuesday, 23 August 2016 at 05:40:24 UTC, Ilya Yaroshenko wrote: This is an API problem, and will not be fixed. Making D scripting like language is bad for Science. For example, druntime (Fibers and Mutexes) is useless because it is too high level and poor featured in the same time. Yes, th

Re: Mir Random announce - Professional RNGs

2016-11-26 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Saturday, 26 November 2016 at 11:21:54 UTC, Adrian Matoga wrote: On Friday, 25 November 2016 at 23:14:06 UTC, Ilya Yaroshenko wrote: https://github.com/libmir/mir-random http://docs.random.dlang.io/latest/index.html Cool! I'd only suggest renaming "algorithm" to "range", to better reflect

<    1   2   3