Re: Favorite GUI library?

2018-04-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/24/2018 02:43 PM, H. S. Teoh wrote: This reminds me of Nick Sabalausky's rant once that back in the 80's we used to run programs on 64KB RAM and 8kHz CPUs, and lived with the slow performance, and nowadays we have GB's of RAM and multicore GHz CPUs, and we are finally able to write web app

Re: Favorite GUI library?

2018-04-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/24/2018 10:30 AM, Thomas Brix Larsen wrote: I'd recommend dqml[1] or full Qt using Calypso[2] instead of QtE5. I'm currently using dqml in a project and it is working out great. Why not QtE5? I've been meaning to give it a try.

Re: Favorite GUI library?

2018-04-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/24/2018 08:29 AM, Adam D. Ruppe wrote: like I did a wysiwyg editor for work that is a redistributable server exe they run locally, but the ui is in a browser. You get better results on firefox than chrome due to a bunch of little things.) Yea, Chrome is kind of notorious for random break

Re: Favorite GUI library?

2018-04-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/23/2018 11:46 PM, Nerve wrote: The user DOES NOT CARE how easy it is for you to maintain your codebase. That needs to be painted on every wall, and etched into every computer, and tattooed onto every forehead, at every developer workspace in the world.

Re: Favorite GUI library?

2018-04-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/24/2018 08:44 AM, Uknown wrote: Even on linux, back in the day, GTK apps looked out of place on QT systems and vice versa. That's still true even now, albeit maybe not to the same extent (that is, until you try to save/open a file...). We REALLY need a lib that provides the GTK API/ABI

Re: Add pragma(stackStomp, [true|false]) to control -gx on per-function basis

2018-04-24 Thread Walter Bright via Digitalmars-d
https://issues.dlang.org/show_bug.cgi?id=18795

Add pragma(stackStomp, [true|false]) to control -gx on per-function basis

2018-04-24 Thread Walter Bright via Digitalmars-d
Stomping the stack is important for detecting certain kinds of dangling reference bugs (shouldn't be possible in @safe code), but also for cryptographic code that aims to prevent a function from leaking any information to its caller: http://www.cl.cam.ac.uk/~rja14/Papers/whatyouc.pdf This sh

Re: Frustrated with dmd codegen bug

2018-04-24 Thread Basile B. via Digitalmars-d
On Tuesday, 24 April 2018 at 20:44:12 UTC, H. S. Teoh wrote: On Tue, Apr 24, 2018 at 08:18:55PM +, Basile B. via Digitalmars-d wrote: On Tuesday, 24 April 2018 at 18:53:02 UTC, H. S. Teoh wrote: > Yesterday afternoon I ran into a performance issue in one of > my D projects, and thought, "we

Re: Frustrated with dmd codegen bug

2018-04-24 Thread jmh530 via Digitalmars-d
On Tuesday, 24 April 2018 at 20:18:55 UTC, Basile B. wrote: [snip] In the report you forgot to mention that the bug is only visible with -O -profile. With just -O the provided test case works fine. I ran the test case on run.dlang.org with -O and it happens.

Re: Favorite GUI library?

2018-04-24 Thread Arjan via Digitalmars-d
On Tuesday, 24 April 2018 at 18:43:54 UTC, H. S. Teoh wrote: This reminds me of Nick Sabalausky's rant once that back in the 80's we used to run programs on 64KB RAM and 8kHz CPUs, and lived with the slow performance, and nowadays we have GB's of RAM and multicore GHz CPUs, and we are finally

Re: Frustrated with dmd codegen bug

2018-04-24 Thread ag0aep6g via Digitalmars-d
On 04/24/2018 08:53 PM, H. S. Teoh wrote: Yesterday afternoon I ran into a performance issue in one of my D projects, and thought, "well, it's simple, just compile with -profile, identify the hotspot, optimize". Unfortunately, doing that triggered a latent codegen bug in -O that randomly causes

Re: Frustrated with dmd codegen bug

2018-04-24 Thread H. S. Teoh via Digitalmars-d
On Tue, Apr 24, 2018 at 08:18:55PM +, Basile B. via Digitalmars-d wrote: > On Tuesday, 24 April 2018 at 18:53:02 UTC, H. S. Teoh wrote: > > Yesterday afternoon I ran into a performance issue in one of my D > > projects, and thought, "well, it's simple, just compile with > > -profile, identify t

Re: Frustrated with dmd codegen bug

2018-04-24 Thread Basile B. via Digitalmars-d
On Tuesday, 24 April 2018 at 18:53:02 UTC, H. S. Teoh wrote: Yesterday afternoon I ran into a performance issue in one of my D projects, and thought, "well, it's simple, just compile with -profile, identify the hotspot, optimize". Unfortunately, doing that triggered a latent codegen bug in -O

Re: Frustrated with dmd codegen bug

2018-04-24 Thread jmh530 via Digitalmars-d
On Tuesday, 24 April 2018 at 18:53:02 UTC, H. S. Teoh wrote: [snip] That's definitely weird. Problem seems to go away with a static array. Seems somehow related to impl[0]. Re-writing that as *impl.ptr and breaking apart some of the logic might help narrow down the issue. bool method(int

Frustrated with dmd codegen bug

2018-04-24 Thread H. S. Teoh via Digitalmars-d
Yesterday afternoon I ran into a performance issue in one of my D projects, and thought, "well, it's simple, just compile with -profile, identify the hotspot, optimize". Unfortunately, doing that triggered a latent codegen bug in -O that randomly causes runtime segfaults, basically halting all pro

Re: Favorite GUI library?

2018-04-24 Thread H. S. Teoh via Digitalmars-d
On Tue, Apr 24, 2018 at 06:13:46PM +, TheGag96 via Digitalmars-d wrote: [...] > Uknown's point about Moore's Law, I think, is the one we should be > paying attention to. A while back, I saw a talk by Jonathan Blow > called "Making Game Programming Less Terrible"[1], and lately it's > been on my

Re: Favorite GUI library?

2018-04-24 Thread Jesse Phillips via Digitalmars-d
On Monday, 23 April 2018 at 06:12:33 UTC, TheGag96 wrote: Heya guys. For my projects that use a GUI library, I've tried both tkd and DlangUI. Both I feel have their drawbacks, and I'd like to know if any of you are using anything you find better. In my case, my ideal choice would be: - Nice b

Re: Favorite GUI library?

2018-04-24 Thread TheGag96 via Digitalmars-d
On Tuesday, 24 April 2018 at 14:30:07 UTC, Thomas Brix Larsen wrote: I'd recommend dqml[1] or full Qt using Calypso[2] instead of QtE5. I'm currently using dqml in a project and it is working out great. Awesome, thank you! I'll keep that in mind! On Tuesday, 24 April 2018 at 13:08:24 UTC, Chr

Re: DIP 1013: The Deprecation Process -- Community Review Round 1

2018-04-24 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, April 24, 2018 16:39:27 Martin Nowak via Digitalmars-d wrote: > On Wednesday, 18 April 2018 at 12:40:44 UTC, Jonathan M Davis > > wrote: > > 2. Somewhere, it should state that the goal is for the typical > > deprecation cycle for a symbol to last approximately two years > > and that the

Re: DIP 1013: The Deprecation Process -- Community Review Round 1

2018-04-24 Thread Martin Nowak via Digitalmars-d
On Monday, 2 April 2018 at 07:05:45 UTC, Mike Parker wrote: DIP 1013 is titled "The Deprecation Process". https://github.com/dlang/DIPs/blob/d8f6bfa1810c9774bd7d3b3dc6a7a6776ed5e17e/DIPs/DIP1013.md It's good to have this formalized as relying on authoritative review on a per-case basis doesn'

Re: DIP 1013: The Deprecation Process -- Community Review Round 1

2018-04-24 Thread Martin Nowak via Digitalmars-d
On Wednesday, 18 April 2018 at 12:40:44 UTC, Jonathan M Davis wrote: 2. Somewhere, it should state that the goal is for the typical deprecation cycle for a symbol to last approximately two years and that the number of releases was picked on the assumption that we would have approximately 5 - 6

Re: Favorite GUI library?

2018-04-24 Thread Thomas Brix Larsen via Digitalmars-d
On Monday, 23 April 2018 at 06:12:33 UTC, TheGag96 wrote: Heya guys. For my projects that use a GUI library, I've tried both tkd and DlangUI. Both I feel have their drawbacks, and I'd like to know if any of you are using anything you find better. In my case, my ideal choice would be: - Nice b

Re: Favorite GUI library?

2018-04-24 Thread Chris via Digitalmars-d
On Tuesday, 24 April 2018 at 12:29:04 UTC, Adam D. Ruppe wrote: On Tuesday, 24 April 2018 at 10:30:21 UTC, Chris wrote: - cross platform: no need to deploy libs (e.g. Gtk on Mac and Windows) Well... that depends. If you can just use the browser already installed, yeah, but then you have to de

Re: Favorite GUI library?

2018-04-24 Thread Chris via Digitalmars-d
On Tuesday, 24 April 2018 at 12:44:59 UTC, Uknown wrote: I forgot to mention consistency. This is the biggest reason I don't use non native apps. I'm not talking about your app being consistent across operating systems. I'm referring to being consistent with programs on the current system. E

Re: Favorite GUI library?

2018-04-24 Thread Uknown via Digitalmars-d
On Tuesday, 24 April 2018 at 11:15:43 UTC, Uknown wrote: On Tuesday, 24 April 2018 at 10:30:21 UTC, Chris wrote: On Monday, 23 April 2018 at 14:38:44 UTC, TheGag96 wrote: That's definitely what I'm trying to avoid... I feel those kinds of interfaces are 99% of the time mega bloated for what

Re: Favorite GUI library?

2018-04-24 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 24 April 2018 at 10:30:21 UTC, Chris wrote: - cross platform: no need to deploy libs (e.g. Gtk on Mac and Windows) Well... that depends. If you can just use the browser already installed, yeah, but then you have to deal with cross-browser (which is still a thing, like I did a wysi

Re: Trello group for build tools, IDEs, OS integration?

2018-04-24 Thread Marco Leise via Digitalmars-d
Am Mon, 23 Apr 2018 16:02:18 + schrieb Seb : > I agree that the current Bugzilla instance is suboptimal for > collaboration. > > FYI: there's already a DLang Trello board, but it wasn't actively > used: > > https://trello.com/b/XoFjxiqG/active > https://trello.com/b/jGdlx9vZ/backlog > > G

Re: Favorite GUI library?

2018-04-24 Thread Uknown via Digitalmars-d
On Tuesday, 24 April 2018 at 10:30:21 UTC, Chris wrote: On Monday, 23 April 2018 at 14:38:44 UTC, TheGag96 wrote: That's definitely what I'm trying to avoid... I feel those kinds of interfaces are 99% of the time mega bloated for what they are. Discord is the only one that seemed big enough

Re: Favorite GUI library?

2018-04-24 Thread Chris via Digitalmars-d
On Monday, 23 April 2018 at 14:38:44 UTC, TheGag96 wrote: That's definitely what I'm trying to avoid... I feel those kinds of interfaces are 99% of the time mega bloated for what they are. Discord is the only one that seemed big enough for the britches of an entire browser instance. Absolute

Re: Feature to get or add value to an associative array.

2018-04-24 Thread Andrea Fontana via Digitalmars-d
On Sunday, 15 April 2018 at 22:52:47 UTC, Giles Bathgate wrote: Hi, I wanted a way to lazily insert a value into an associative array, and I am proposing a new function called getOrAdd in https://github.com/dlang/druntime/pull/2162 Yes please :) Just one question: does this work for value-

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-04-24 Thread Uknown via Digitalmars-d
On Tuesday, 24 April 2018 at 07:15:38 UTC, Dave wrote: On Sunday, 28 January 2018 at 16:02:36 UTC, Jonathan M Davis wrote: > The problem is Teoh that learning a language in Vim or a > IDE are two totally different things. vim is a fantastic tool but it can be time consuming to configure. So I

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-04-24 Thread Dave via Digitalmars-d
On Sunday, 28 January 2018 at 16:02:36 UTC, Jonathan M Davis wrote: > The problem is Teoh that learning a language in Vim or a IDE > are two totally different things. vim is a fantastic tool but it can be time consuming to configure. So I am wondering if some vim-D users would kindly share th