Re: What are the worst parts of D?

2014-09-24 Thread user via Digitalmars-d
On Wednesday, 24 September 2014 at 06:28:21 UTC, Manu via Digitalmars-d wrote: On 20 September 2014 22:39, Tofu Ninja via Digitalmars-d wrote: There was a recent video[1] by Jonathan Blow about what he would want in a programming language designed specifically for game development. Go, Rust, a

Re: Dgui Will be continue?

2014-12-26 Thread user via Digitalmars-d
don't use crap - use http://forum.dlang.org/thread/ovgoajvboltrtciqf...@forum.dlang.org it is great. works for 64bit!! On Wednesday, 17 December 2014 at 12:26:48 UTC, Gary Willoughby wrote: On Wednesday, 17 December 2014 at 10:35:25 UTC, FrankLike wrote: Dgui is very good,but what stat

Re: Window creation, for phobos?

2015-01-29 Thread user via Digitalmars-d
On Wednesday, 28 January 2015 at 12:02:25 UTC, Dicebot wrote: GUI does not belong to Phobos. That's the only reason I use Java instead of D. If GUI is not in phobos, it has no guaranteed support. Of course this is because I only create GUI desktop application. Apparently this is only my iss

Re: Window creation, for phobos?

2015-01-31 Thread user via Digitalmars-d
I don't know, you sound like a perfectionist to me, like most of other community members. I can only give examples from my experience. I am a controls engineer in my current day job, and I do SW coding in my free time (like couple of hours per week). In the past, I changed my D GUI libs from

Re: Favorite GUI library?

2018-04-28 Thread User via Digitalmars-d
I write lot of small utilities on Windows and prefer to have a gui. Gtkd is nice. Glade is awsome. but the runtime dlls are about 20mb, too much for a 1mb tool. For some reason the theming on Windows didnt work well for me. Dwt is nice, but no glade like gui editor. when using dwt, I build

Re: Sign the installers

2018-06-27 Thread User via Digitalmars-d
It's all about removing resistance and raising the level of professionalism. D isn't a hobby project and shouldn't act like one. This is an obvious barrier that's worth removing. In this day and age of rampant actively dangerous software, it's an obvious improvement to sign it and make the st

Re: D IDE

2018-09-03 Thread User via Digitalmars-d
On Monday, 3 September 2018 at 19:31:58 UTC, Jonathan M Davis wrote: Because they can't hold a candle to vim. As far as text editing goes, there simply is no comparison. All these arguments, especially the above, makes me sad. May be this is the nature of open source that volunteers will

Re: So why double to float conversion is implicit ?

2017-10-22 Thread User via Digitalmars-d
Is there a list of such quirks or gotchas in dlang? The ones I know of are 1. Implicit conversion from double to float 2. Integer division results in integer result truncation the fractional part. 3. ??

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-02 Thread user via Digitalmars-d
When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i hear D, you hear ... ... ... ... I usually hear awesome meta-programming and ranges. I think D community had put lot of effort in making these things work becaus

Re: Three people out of four dislike SDL

2015-12-01 Thread user via Digitalmars-d
It all started here http://forum.dlang.org/post/evxhpxfkeorrrkhqz...@forum.dlang.org :-) ... or one of the posts in that thread, I mean.

Re: RFC: std.json sucessor

2014-08-25 Thread Entusiastic user via Digitalmars-d
Hi! Thanks for the effort you've put in this. I am having problems with building with LDC 0.14.0. DMD 2.066.0 seems to work fine (all unit tests pass). Do you have any ideas why? I am using Ubuntu 3.10 (Linux 3.11.0-15-generic x86_64). Master was at 6a9f8e62e456c3601fe8ff2e1fbb640f38793d08. $

Re: RFC: std.json sucessor

2014-08-25 Thread Entusiastic user via Digitalmars-d
... I am using Ubuntu 3.10 (Linux 3.11.0-15-generic x86_64). ... I meant Ubuntu 13.10 :D

Re: RFC: std.json sucessor

2014-08-26 Thread Entusiastic user via Digitalmars-d
I tried using "-disable-linker-strip-dead", but it had no effect. From the error messages it seems the problem is compile-time and not link-time... On Tuesday, 26 August 2014 at 07:01:09 UTC, Jacob Carlborg wrote: On 25/08/14 21:49, simendsjo wrote: So ldc can remove quite a substantial amo

Re: Breaking changes in Visual C++ 2015

2015-05-07 Thread d user via Digitalmars-d
On Wednesday, 6 May 2015 at 18:26:27 UTC, Brad Anderson wrote: https://msdn.microsoft.com/en-us/library/vstudio/bb531344(v=vs.140).aspx I'm sharing this specifically so we can have an unproductive flamewar about whether breaking changes in D are sometimes worth it or if they are holding D back

Re: Building is slow!

2018-04-18 Thread Dlang User via Digitalmars-d
On 4/16/2018 3:27 PM, Ivan Trombley wrote: I want to revisit this issue. Building 64 bit on Linux, release or debug, is fast. However, building 64 bit release on Windows 10 is super slow. I have a cross platform app that uses gtk-d. Today, I updated DMD to 2.079.1 and the gtk-d lib to 3.8.0.

Re: dub search

2018-05-08 Thread Dlang User via Digitalmars-d
On 5/8/2018 10:50 AM, Nicholas Wilson wrote: I was searching for zmq-d on code.dlang.org to find the git page for it ( to differentiate it from the other ama wrappers) and was greeted with 500 - Internal Server Error Internal Server Error Internal error information: vibe.db.mongo.connection.M

Re: Sealed classes - would you want them in D?

2018-05-15 Thread Dlang User via Digitalmars-d
On 5/15/2018 10:17 AM, aliak wrote: On Tuesday, 15 May 2018 at 13:16:55 UTC, 12345swordy wrote: The way you use the word "leak" make is sounds that this is unintentional, while in reality it is intentional by design. That why reading the specification is important! Alexander Ya I guess you

Re: Sealed classes - would you want them in D?

2018-05-15 Thread dlang user via Digitalmars-d
On 05/15/2018 04:05 PM, Jonathan M Davis wrote: On Tuesday, May 15, 2018 12:21:23 Dlang User via Digitalmars-d wrote: On 5/15/2018 10:17 AM, aliak wrote: On Tuesday, 15 May 2018 at 13:16:55 UTC, 12345swordy wrote: The way you use the word "leak" make is sounds that this is uni

Re: Why is 64-bit dmd not built as part of the Windows release?

2018-05-23 Thread Dlang User via Digitalmars-d
On 5/22/2018 10:03 AM, Atila Neves wrote: On Tuesday, 22 May 2018 at 13:30:02 UTC, Vladimir Panteleev wrote: On Tuesday, 22 May 2018 at 13:11:00 UTC, Atila Neves wrote: On Thursday, 17 May 2018 at 03:28:33 UTC, Vladimir Panteleev wrote: digger build --model=64 If you don't have Digger yet, yo

Re: Why is 64-bit dmd not built as part of the Windows release?

2018-05-23 Thread Dlang User via Digitalmars-d
On 5/23/2018 12:42 PM, Vladimir Panteleev wrote: On Wednesday, 23 May 2018 at 17:35:28 UTC, Dlang User wrote: I too am looking for 64-bit on Windows 10.  Not just DMD but ideally everything. When I try the command exactly as above, or a slightly modified version (on a second run show after th

Re: Why is 64-bit dmd not built as part of the Windows release?

2018-05-23 Thread Dlang User via Digitalmars-d
On 5/23/2018 3:20 PM, Vladimir Panteleev wrote: On Wednesday, 23 May 2018 at 20:17:04 UTC, Dlang User wrote: I tried adding bootstrap option for 64 bit: digger -c build.components.dmd.dmdModel=64 -c build.components.dmd.bootstrap.ver=v2.075.0 build --model=64 v2.080.0 Which didn't work (tota

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'

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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-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 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

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: 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

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: 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: 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 codegen improvements

2015-08-29 Thread Casual D user via Digitalmars-d
On Friday, 28 August 2015 at 21:59:57 UTC, Walter Bright wrote: On 8/28/2015 4:18 AM, Temtaime wrote: Are you sure that ONE Walter can achieve what they done ? People told me I couldn't write a C compiler, then told me I couldn't write a C++ compiler. I'm still the only person who has ever i

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: 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: 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-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: 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