Re: How about implementing SPMD on SIMD for D?

2018-07-08 Thread Random D user via Digitalmars-d
On Saturday, 7 July 2018 at 13:26:10 UTC, Guillaume Piolat wrote: On Friday, 6 July 2018 at 23:08:27 UTC, Random D user wrote: Especially, since D doesn't even attempt any auto-vectorization (poor results and difficult to implement) and manual loops are quite tedious to write (even std.simd fa

How about implementing SPMD on SIMD for D?

2018-07-06 Thread Random D user via Digitalmars-d
TL;DR Would want to run your code 8x - 32x faster? SPMD (Single Program Multiple Data) on SIMD (Single Instruction Multiple Data) might be the answer you're looking for. It works by running multiple iterations/instances of your loop at once on SIMD and the compiler could do that automatically f

Re: Some Observations on the D Development Process

2018-01-07 Thread Random D user via Digitalmars-d
On Friday, 5 January 2018 at 03:28:10 UTC, Walter Bright wrote: On 1/4/2018 2:34 AM, Mike Franklin wrote: Walter seems to pop in daily, and occasionally reviews PRs, and his PRs of late are mostly just refactorings rather than fixing difficult bugs. There's a lot of technical debt I've been tr

Re: My two cents

2017-10-20 Thread Random D user via Digitalmars-d
On Friday, 20 October 2017 at 02:20:31 UTC, Adam D. Ruppe wrote: On Friday, 20 October 2017 at 00:26:19 UTC, bauss wrote: return foo ?? null; would be so much easier. return getOr(foo, null); I guess with UFCS you could get: return foo.PP(null); // vs. return foo ?? null; :D

Re: My first experience as a D Newbie

2017-10-16 Thread Random D user via Digitalmars-d
On Friday, 13 October 2017 at 13:14:39 UTC, Steven Schveighoffer wrote: I don't know what the expectations of a Windows user are. In my exprience 80% of mainly Windows devs (in professional environment) use Visual Studio + plugins (e.g. Visual Assist/Dpack etc.). Most of the remaining 20% use

Re: D on quora ...

2017-10-07 Thread Random D user via Digitalmars-d
On Friday, 6 October 2017 at 18:09:58 UTC, Ali wrote: On Friday, 6 October 2017 at 17:27:03 UTC, H. S. Teoh wrote: On Fri, Oct 06, 2017 at 05:14:51PM +, Rion via Digitalmars-d wrote: https://www.quora.com/What-is-your-review-of-D-programming-language It seems that D still has the GC being

Re: Problem with integral promotions

2017-07-24 Thread Random D user via Digitalmars-d
On Saturday, 22 July 2017 at 10:44:04 UTC, Walter Bright wrote: 1. Fix it so it matches C, as has been generally promised. Fixing it will break existing code such as: If D was my language I'd fix it, since it's a bug. D's fluidity and effortlessness comes from a lot of small compounding conve

Re: proposed @noreturn attribute

2017-07-11 Thread Random D user via Digitalmars-d
On Saturday, 8 July 2017 at 12:18:38 UTC, Andrei Alexandrescu wrote: On 7/8/17 7:07 AM, bachmeier wrote: On Saturday, 8 July 2017 at 10:15:39 UTC, Walter Bright wrote: Having an @noreturn attribute will take care of that: @noreturn void ThisFunctionExits(); Why should this be an attribut

Re: What are your hopes for the future D GC

2017-06-30 Thread Random D user via Digitalmars-d
On Friday, 30 June 2017 at 06:14:41 UTC, Dmitry Olshansky wrote: On 6/29/2017 10:19 PM, Random D user wrote: 2. Composable custom memory block GC. The ability to mallocate 128MB memory block and create a new GC instance to manage that block. It would only need to scan that 128MB block and not w

What are your hopes for the future D GC

2017-06-29 Thread Random D user via Digitalmars-d
I just got curious, after reading the GC analysis blog post. What kind of features people generally would want for the GC (in the distant murky future of 1999)? Here's some of my nice to haves: 1. Thread local GCs. D is by default thread local, so it kind of would make sense and goodbye stop

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Random D user via Digitalmars-d
On Tuesday, 27 June 2017 at 18:42:45 UTC, Vladimir Panteleev wrote: On Tuesday, 27 June 2017 at 18:41:00 UTC, Random D user wrote: What ever you do, please don't use extreme high intensity colors like red(255,0,0), green (0,255,0) or blue (0,0,255). That's up to the terminal (or your configura

Re: What are the unused but useful feature you know in D?

2017-06-27 Thread Random D user via Digitalmars-d
On Monday, 26 June 2017 at 22:17:00 UTC, Moritz Maxeiner wrote: On Monday, 26 June 2017 at 18:47:18 UTC, Random D user wrote: Anyway, I think we could just have a compile time switch for defaults. Imagine having n libraries with pairwise different required defaults used in your application. S

Re: Let's paint those bikesheds^Werror messages!

2017-06-27 Thread Random D user via Digitalmars-d
On Tuesday, 27 June 2017 at 14:32:28 UTC, Vladimir Panteleev wrote: With 2.075's release near, now would be a good time to decide on a nice color palette that looks fine on most terminals. So, please vote: What ever you do, please don't use extreme high intensity colors like red(255,0,0), gre

Re: What are the unused but useful feature you know in D?

2017-06-26 Thread Random D user via Digitalmars-d
On Monday, 26 June 2017 at 14:17:26 UTC, Adam D. Ruppe wrote: 1) Add the opposite attributes: `impure`, `throws`, `@gc`, etc. 2) Add the module version thing that changes defaults on request 3) imagine more potential going forward I dislike doubling the keywords by having a 'not' case for each.

Re: DIP 1003 Formal Review

2017-05-16 Thread Random D user via Digitalmars-d
On Sunday, 14 May 2017 at 15:39:12 UTC, Walter Bright wrote: On 5/12/2017 9:17 AM, Mike Parker wrote: The first stage of the formal review for DIP 1003 [1], "Remove body as a Keyword", is now underway. A combination of Options 1 and 2: 1. Introduce 'function' as an alternative to 'body'. H

Re: Python : Pythonista / Ruby: Rubyist : / D : ?

2017-04-22 Thread Random D user via Digitalmars-d
On Friday, 21 April 2017 at 22:11:19 UTC, Namespace wrote: nuDist - in D you can program as free as you want. ;) void main() body { asm { naked; } }

Re: memcpy() comparison: C, Rust, and D

2017-02-02 Thread Random D user via Digitalmars-d
On Wednesday, 1 February 2017 at 23:49:29 UTC, H. S. Teoh wrote: We would love to change the defaults, but unfortunately that boat has already sailed a long time ago. What if d had a -safe-defaults switch? It should be ok, since safe is stricter than unsafe right? This way old/existing code

Re: color lib

2016-10-06 Thread Random D user via Digitalmars-d
On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote: I've done another pass incorporating prior feedback, mostly focusing on documentation. Just a quick minor comment on: A8 RGB!("a",ubyte,false,0) 8 bit alpha-only color type. --> Reads like, "False what ???". Also "What is 0 ???". --> Ho

Re: colour lib needs reviewers

2016-09-13 Thread Random D user via Digitalmars-d
On Tuesday, 13 September 2016 at 02:00:44 UTC, Manu wrote: On 13 September 2016 at 07:00, Marco Leise via Digitalmars-d wrote: Am Tue, 13 Sep 2016 00:37:22 +1000 schrieb Manu via Digitalmars-d : Alright, but hybrid gamma is really not something that can be googled. Or rather I end up at Toyota

Re: colour lib needs reviewers

2016-09-13 Thread Random D user via Digitalmars-d
On Tuesday, 13 September 2016 at 01:05:56 UTC, Manu wrote: Can you describe what you perceive to be hard? Well, I just skimmed through the docs and I didn't look at the code, so that sense it was an "honest" view for phobos proposal. Also I was trying to convey that based on the docs it "l

Re: colour lib needs reviewers

2016-09-12 Thread Random D user via Digitalmars-d
On Monday, 12 September 2016 at 04:14:27 UTC, Manu wrote: I think I'm about as happy with my colour lib as I'm going to be. It really needs reviews. - Manu Hi. I'm just a random forum lurker, but here's my feedback. It needs more docs/examples for the basic usage cases (i.e. how to skip doc

Re: [dlang.org] new forum design - preview

2016-01-15 Thread Random D user via Digitalmars-d
On Friday, 15 January 2016 at 05:56:37 UTC, Vladimir Panteleev wrote: - A specific list of things that can be improved I too like the current soft dark theme of the forum (and website). Would it be possible to have optional dark theme in the forum settings? I wish the main website would hav

Re: What have you done with UDAs?

2015-06-23 Thread Random D-user via Digitalmars-d
On Monday, 22 June 2015 at 19:09:40 UTC, weaselcat wrote: I never seem to use them for anything, has anyone else done anything interesting with them? What a cool thread. This is very valuable info for new(ish) d users. It's often the case for language features that they are just branded cool.

Re: DMD compilation speed

2015-03-31 Thread Random D-user via Digitalmars-d
I've used D's GC with DDMD. It works*, but you're trading better memory usage for worse allocation speed. It's quite possible we could add a switch to ddmd to enable the GC. As a random d-user (who cares about perf/speed and just happened to read this) a switch sounds VERY good to me. I don'