Re: CTFE Status 2

2017-04-27 Thread Dmitry Olshansky via Digitalmars-d
On 4/27/17 4:15 AM, Stefan Koch wrote: On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] Hi Guys, As you already probably know some work has been done in the past week to get an x86 jit rolling. It is designed to produce very simple code with _any_ optimization at all.

Re: CTFE Status 2

2017-04-27 Thread Stefan Koch via Digitalmars-d
On Thursday, 27 April 2017 at 08:51:17 UTC, Dmitry Olshansky wrote: On 4/27/17 4:15 AM, Stefan Koch wrote: On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote: [ ... ] Hi Guys, As you already probably know some work has been done in the past week to get an x86 jit rolling. It

Re: Move construction from !is(T == typeof(this))

2017-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/26/17 8:17 PM, Stanislav Blinov wrote: On Wednesday, 26 April 2017 at 13:38:59 UTC, Steven Schveighoffer wrote: If you want to duplicate const data, but just shallow-copy mutable data, you are correct in that you need two separate constructors, and inout doesn't come into play. That's t

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

2017-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/24/17 1:43 AM, Nick Sabalausky (Abscissa) wrote: "Dashing, awesome, ultra-attractive programmer with an impeccably fine taste in languages." It's a bit long and doesn't include the letter D FIFY -Steve

Re: DIP 1006 - Preliminary Review Round 1

2017-04-27 Thread Mike Parker via Digitalmars-d
On Wednesday, 12 April 2017 at 11:25:09 UTC, Mike Parker wrote: All review-related feedback on and discussion of the DIP should occur in this thread. The review period will end at 11:59 PM ET on April 26 (3:59 AM GMT), or when I make a post declaring it complete. The review period has ended

std.dlang?

2017-04-27 Thread Jonathan Marler via Digitalmars-d
I was reading the ddmd code and 2 thoughts came to mind: 1. ddmd is much simpler than I imagined. 2. how has the front end not been integrated into the standard library? Is someone working on this? I had some ideas on how this could be done.

Re: std.dlang?

2017-04-27 Thread rikki cattermole via Digitalmars-d
On 27/04/2017 3:29 PM, Jonathan Marler wrote: snip 2. how has the front end not been integrated into the standard library? - It can't be compiled alone on some targets - You can't reuse it in the same process Ignoring the obvious that it isn't structured right for as a library. It has a lon

DConf Hackathon Ideas

2017-04-27 Thread Mike Parker via Digitalmars-d
This year, DConf has an extra day tacked on for problem solving in the form of a hackathon. The intent is to work on issues people find frustrating in the D ecosystem. While there will be time given at the event for proposals, and those involving third-party projects are welcome, it will help s

Re: std.dlang?

2017-04-27 Thread Jacob Carlborg via Digitalmars-d
On 2017-04-27 16:29, Jonathan Marler wrote: Is someone working on this? I had some ideas on how this could be done. Yes [1] [2]. I think that there are more pull requests by the same author. The lexer is already available as a Dub package [3], although it's not regularly updated (or at all)

Re: std.dlang?

2017-04-27 Thread Jack Stouffer via Digitalmars-d
On Thursday, 27 April 2017 at 14:29:06 UTC, Jonathan Marler wrote: I was reading the ddmd code and 2 thoughts came to mind: 1. ddmd is much simpler than I imagined. 2. how has the front end not been integrated into the standard library? Is someone working on this? I had some ideas on how thi

Re: DConf Hackathon Ideas

2017-04-27 Thread Jack Stouffer via Digitalmars-d
On Thursday, 27 April 2017 at 14:53:02 UTC, Mike Parker wrote: To help in compiling the list, what are some major issues from the ecosystem that you'd like to see fixed? * multi-threaded parsing in DMD * https://github.com/dlang/dub/issues/838 * finishing std.experimental.xml https://github.co

Garbage Collector?

2017-04-27 Thread Ben via Digitalmars-d
A few days ago i was reading this topic: https://news.ycombinator.com/item?id=14165198 And the whole GC keeps coming up as a negative ( compared to Rust ). From my understanding there has been a proposal DIP1000 to address this issue. Is there any update on this topic? Is it possible to ru

Re: DConf Hackathon Ideas

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 14:53:02 UTC, Mike Parker wrote: This year, DConf has an extra day tacked on for problem solving in the form of a hackathon. The intent is to work on issues people find frustrating in the D ecosystem. While there will be time given at the event for proposals, and t

Re: DConf Hackathon Ideas

2017-04-27 Thread singingbush via Digitalmars-d
- More than one official package description language (json and sdlang). I honestly don't care which it ends up being, but please pick *one* (I am aware of the previous discussions on the topic, but the current state of supporting both is just one more point of friction for newcomers) SDL sho

Re: Garbage Collector?

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 15:50:56 UTC, Ben wrote: A few days ago i was reading this topic: https://news.ycombinator.com/item?id=14165198 And the whole GC keeps coming up as a negative ( compared to Rust ). That's subjective, at best. I see most of Rust's ownership mechanics in a negativ

Re: DConf Hackathon Ideas

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 16:33:02 UTC, singingbush wrote: As far as I can tell the only reason dub defaults to sdl now It did in the past, but hasn't done so for several minor versions (it defaults to json).

Re: DConf Hackathon Ideas

2017-04-27 Thread Andre Pany via Digitalmars-d
On Thursday, 27 April 2017 at 14:53:02 UTC, Mike Parker wrote: This year, DConf has an extra day tacked on for problem solving in the form of a hackathon. The intent is to work on issues people find frustrating in the D ecosystem. While there will be time given at the event for proposals, and t

Re: Garbage Collector?

2017-04-27 Thread bachmeier via Digitalmars-d
On Thursday, 27 April 2017 at 15:50:56 UTC, Ben wrote: A few days ago i was reading this topic: https://news.ycombinator.com/item?id=14165198 And the whole GC keeps coming up as a negative ( compared to Rust ). From my understanding there has been a proposal DIP1000 to address this issue. I

Re: DConf Hackathon Ideas

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 17:06:39 UTC, Andre Pany wrote: Another big issue for me is using dub in a company. Big companies do not want to use the official dub repository due to security issues. They want to run their own dub repository with dub packages they have done code checks. That m

Re: DConf Hackathon Ideas

2017-04-27 Thread Brad Roberts via Digitalmars-d
The pending pull requests. In person is a great high-bandwidth way to work through the massive backlog. On 4/27/2017 7:53 AM, Mike Parker via Digitalmars-d wrote: This year, DConf has an extra day tacked on for problem solving in the form of a hackathon. The intent is to work on issues people

Re: DConf Hackathon Ideas

2017-04-27 Thread ag0aep6g via Digitalmars-d
On 04/27/2017 04:53 PM, Mike Parker wrote: This year, DConf has an extra day tacked on for problem solving in the form of a hackathon. The intent is to work on issues people find frustrating in the D ecosystem. While there will be time given at the event for proposals, and those involving third-p

Re: DConf Hackathon Ideas

2017-04-27 Thread H. S. Teoh via Digitalmars-d
On Thu, Apr 27, 2017 at 11:22:06AM -0700, Brad Roberts via Digitalmars-d wrote: > The pending pull requests. In person is a great high-bandwidth way to > work through the massive backlog. +1. Phobos at one time was down to about 30-40 PRs, but now it has clogged back up to around 100. We need to

Re: DIP 1006 - Preliminary Review Round 1

2017-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/12/17 12:34 PM, Mathias Lang wrote: On Wednesday, 12 April 2017 at 16:22:00 UTC, Lewis wrote: I have to ask the newbie question, just to make sure we're not missing anything obvious. Why can't we fix invariants so that they're pay-for-what-you-use? In other words, is there a way we can mak

Re: Garbage Collector?

2017-04-27 Thread Ben via Digitalmars-d
On Thursday, 27 April 2017 at 16:35:57 UTC, Moritz Maxeiner wrote: You'll have to be more specific about what issue you're referring to. People not liking garbage collection? In any case, AFAIU DIP1000 was about more mechanically verifiable memory safety features when not using the GC. Is i

Re: DConf Hackathon Ideas

2017-04-27 Thread Iain Buclaw via Digitalmars-d
On 27 April 2017 at 17:15, Jack Stouffer via Digitalmars-d wrote: > * Docs which allow people to go back and see docs for previous versions. > Huge headache when using GDC or LDC > Maybe you could submit a patch to add build hook to generate the documentation for GDC. It would be a welcome contr

Re: DConf Hackathon Ideas

2017-04-27 Thread Andre Pany via Digitalmars-d
On Thursday, 27 April 2017 at 17:47:19 UTC, Moritz Maxeiner wrote: On Thursday, 27 April 2017 at 17:06:39 UTC, Andre Pany wrote: Another big issue for me is using dub in a company. Big companies do not want to use the official dub repository due to security issues. They want to run their own

Interesting PRs: bringing type system legitimacy to shared allocators

2017-04-27 Thread Andrei Alexandrescu via Digitalmars-d
https://github.com/dlang/phobos/pull/5355 Andrei

Re: Interesting PRs: bringing type system legitimacy to shared allocators

2017-04-27 Thread Stanislav Blinov via Digitalmars-d
On Thursday, 27 April 2017 at 19:57:52 UTC, Andrei Alexandrescu wrote: https://github.com/dlang/phobos/pull/5355 Andrei And then we'd probably need INoGCAllocator and ISharedNOGCAllocator...

Re: Garbage Collector?

2017-04-27 Thread ag0aep6g via Digitalmars-d
On Thursday, 27 April 2017 at 19:36:44 UTC, Ben wrote: Frankly seeing in this example that the GC was in theory able to kick in 6 times in a simple 100 item loop, that is not efficient. I if did my own memory management, the variable cleanup will have been done in one go, right after the loop.

Re: Garbage Collector?

2017-04-27 Thread Patric Dexheimer via Digitalmars-d
GC it´s not only about some performance issues that some people may encounter on D, but it its a marketing problem as well. "D is a systems programming language with..." GC(!?). Most people that are interest in D came from c/c++ or other backgrounds without GC or hearing their entire life that

Re: Garbage Collector?

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 19:36:44 UTC, Ben wrote: On Thursday, 27 April 2017 at 16:35:57 UTC, Moritz Maxeiner wrote: You'll have to be more specific about what issue you're referring to. People not liking garbage collection? In any case, AFAIU DIP1000 was about more mechanically verifiable

Re: DConf Hackathon Ideas

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 19:55:44 UTC, Andre Pany wrote: On Thursday, 27 April 2017 at 17:47:19 UTC, Moritz Maxeiner wrote: On Thursday, 27 April 2017 at 17:06:39 UTC, Andre Pany wrote: Another big issue for me is using dub in a company. Big companies do not want to use the official dub

Re: Interesting PRs: bringing type system legitimacy to shared allocators

2017-04-27 Thread Moritz Maxeiner via Digitalmars-d
On Thursday, 27 April 2017 at 20:04:32 UTC, Stanislav Blinov wrote: On Thursday, 27 April 2017 at 19:57:52 UTC, Andrei Alexandrescu wrote: https://github.com/dlang/phobos/pull/5355 Andrei And then we'd probably need INoGCAllocator and ISharedNOGCAllocator... Wasn't one major selling point

Re: Interesting PRs: bringing type system legitimacy to shared allocators

2017-04-27 Thread Stanislav Blinov via Digitalmars-d
On Thursday, 27 April 2017 at 23:12:48 UTC, Moritz Maxeiner wrote: On Thursday, 27 April 2017 at 20:04:32 UTC, Stanislav Blinov wrote: On Thursday, 27 April 2017 at 19:57:52 UTC, Andrei Alexandrescu wrote: https://github.com/dlang/phobos/pull/5355 Andrei And then we'd probably need INoGCAllo

Re: Interesting PRs: bringing type system legitimacy to shared allocators

2017-04-27 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/27/2017 07:12 PM, Moritz Maxeiner wrote: Wasn't one major selling point of compile time introspection / duck typing that we could stop using interfaces such... naming schemes? Not that I speak for everyone, but the way I see it, no, the duck typing aspect is just something that's to be

Re: Garbage Collector?

2017-04-27 Thread Mike Parker via Digitalmars-d
On Thursday, 27 April 2017 at 19:36:44 UTC, Ben wrote: Frankly seeing in this example that the GC was in theory able to kick in 6 times in a simple 100 item loop, that is not efficient. I if did my own memory management, the variable cleanup will have been done in one go, right after the loop

Re: DConf Hackathon Ideas

2017-04-27 Thread Luís Marques via Digitalmars-d
On Thursday, 27 April 2017 at 14:53:02 UTC, Mike Parker wrote: To help in compiling the list, what are some major issues from the ecosystem that you'd like to see fixed? Backtraces with line information on macOS?

Re: Garbage Collector?

2017-04-27 Thread Ola Fosheim Grostad via Digitalmars-d
On Thursday, 27 April 2017 at 22:43:56 UTC, Moritz Maxeiner wrote: Working on the memory chunk layer is memory management. Working on the object layer is object lifetime management. D offers you both automatic memory management and automatic lifetime management via its GC. D offers sound autom

Re: Garbage Collector?

2017-04-27 Thread Era Scarecrow via Digitalmars-d
On Thursday, 27 April 2017 at 19:36:44 UTC, Ben wrote: Frankly seeing in this example that the GC was in theory able to kick in 6 times in a simple 100 item loop, that is not efficient. I if did my own memory management, the variable cleanup will have been done in one go, right after the loop.

Re: multiple `alias this` suggestion

2017-04-27 Thread Carl Sturtivant via Digitalmars-d
On Thursday, 27 April 2017 at 05:41:43 UTC, Daniel N wrote: On Wednesday, 26 April 2017 at 18:34:48 UTC, Carl Sturtivant wrote: On Wednesday, 26 April 2017 at 15:00:30 UTC, Steven Schveighoffer wrote: I think you can appreciate that this doesn't scale. Imagine a case which has 2 or 3 optional a

Re: Garbage Collector?

2017-04-27 Thread Jerry via Digitalmars-d
On Thursday, 27 April 2017 at 17:31:42 UTC, bachmeier wrote: On Thursday, 27 April 2017 at 15:50:56 UTC, Ben wrote: A few days ago i was reading this topic: https://news.ycombinator.com/item?id=14165198 And the whole GC keeps coming up as a negative ( compared to Rust ). From my understandi

Re: multiple `alias this` suggestion

2017-04-27 Thread Carl Sturtivant via Digitalmars-d
On Friday, 28 April 2017 at 04:44:44 UTC, Carl Sturtivant wrote: On Thursday, 27 April 2017 at 05:41:43 UTC, Daniel N wrote: On Wednesday, 26 April 2017 at 18:34:48 UTC, Carl Sturtivant wrote: On Wednesday, 26 April 2017 at 15:00:30 UTC, Steven Schveighoffer wrote: I think you can appreciate th