June 06, 2020
On Saturday, 6 June 2020 at 05:16:59 UTC, Manu wrote:
> ... and, tragically, the reason for that is mostly because we wrote this
> thing in C++! I've been having a really un-fun time at work because I
> failed to make a pitch for D in the ~18 months window we had, and now I
> have to suffer that failure :(

I'm really curious, if you had those features (Shared for example) the way you liked... you could pitched the company (Blizzard) to develop games for videogames in D?

What about the GC? Wouldn't that be a bottleneck or it would be without GC?

Matheus.
June 06, 2020
On Sat, Jun 06, 2020 at 01:11:46PM +0000, matheus via Digitalmars-d wrote:
> On Saturday, 6 June 2020 at 05:16:59 UTC, Manu wrote:
> > ... and, tragically, the reason for that is mostly because we wrote this thing in C++! I've been having a really un-fun time at work because I failed to make a pitch for D in the ~18 months window we had, and now I have to suffer that failure :(
> 
> I'm really curious, if you had those features (Shared for example) the
> way you liked... you could pitched the company (Blizzard) to develop
> games for videogames in D?
> 
> What about the GC? Wouldn't that be a bottleneck or it would be without GC?

Wasn't Manu one of the people who pushed for @nogc and eventually got it in?


T

-- 
Let's not fight disease by killing the patient. -- Sean 'Shaleh' Perry
June 06, 2020
On Saturday, 6 June 2020 at 05:16:59 UTC, Manu wrote:
> I work 12-14 hours a day to try and make up for lost
> productivity

This isn't good for you... gonna burn yourself out and for nothing. :(
June 06, 2020
On 6/6/20 3:00 AM, Walter Bright wrote:
> On 6/5/2020 10:16 PM, Manu wrote:
>> Initialisation and `ref` emit errors?
>> They're absolutely show stoppers. Values must be initialised, and code has `ref` in it all the time.
>> You can't write code without those things.
> 
> You can declare them with =void; and set them with the atomics. That's inconvenient, but NOT a showstopper.
> 
> You can use pointers instead of ref, inconvenient, not a showstopper.

It depends on if you think the show is one you want to watch. Saying "it was ugly, but we still put on the show even though nobody paid to see it" isn't success.

I think the shared changes are welcome and a huge improvement. But they need to be correct before anyone will adopt them over even existing D codebase, much less migrating from a different language.

-Steve
June 06, 2020
On Thursday, 4 June 2020 at 19:29:22 UTC, Adam D. Ruppe wrote:
> On Thursday, 4 June 2020 at 19:23:35 UTC, Vinod K Chandran wrote:
>> On Thursday, 4 June 2020 at 04:54:53 UTC, bauss wrote:
>>
>>>
>>> I don't really care much about libraries, I'm the kind of guy to write most stuff myself.
>>>
>> I like that attitude. Well, I hope you have written your own GUI library ? At least for Windows ?
>
> i have!

No way! Where is it?
June 06, 2020
On Friday, 5 June 2020 at 21:34:52 UTC, Adam D. Ruppe wrote:
>
> https://code.dlang.org/packages/arsd-official%3Aminigui
>
> nothing great about it, just made for my own use.

Thanks for the link. Will check it sure.
June 06, 2020
On Saturday, 6 June 2020 at 18:04:27 UTC, Liu wrote:
> On Thursday, 4 June 2020 at 19:29:22 UTC, Adam D. Ruppe wrote:
>> On Thursday, 4 June 2020 at 19:23:35 UTC, Vinod K Chandran wrote:
>>> On Thursday, 4 June 2020 at 04:54:53 UTC, bauss wrote:
>>>
>>>>
>>>> I don't really care much about libraries, I'm the kind of guy to write most stuff myself.
>>>>
>>> I like that attitude. Well, I hope you have written your own GUI library ? At least for Windows ?
>>
>> i have!
>
> No way! Where is it?

Re responded: https://forum.dlang.org/post/mnfewrzjklmhkkzylosu@forum.dlang.org

Matheus.
June 06, 2020
On 6/6/2020 10:00 AM, Steven Schveighoffer wrote:
> It depends on if you think the show is one you want to watch. Saying "it was ugly, but we still put on the show even though nobody paid to see it" isn't success.

Every language has its uglies.

It's not the same thing as a showstopper.
June 06, 2020
On Saturday, 6 June 2020 at 08:50:51 UTC, Russel Winder wrote:
> Of course D is the "happy place" between C++, Vala, and Rust. (And Python?) It has inheritance of classes so beats Rust, It is less niche so beats Vala. (It is static and not dynamic so beats Python?) Whilst a big language D is simpler and easier than C++ so beats C++.

I like this assessment :-)

Now, if we can improve D compiler & libraries' stability, and with a killer app, D will surely take off!

June 06, 2020
On 6/6/20 4:55 PM, Walter Bright wrote:
> On 6/6/2020 10:00 AM, Steven Schveighoffer wrote:
>> It depends on if you think the show is one you want to watch. Saying "it was ugly, but we still put on the show even though nobody paid to see it" isn't success.
> 
> Every language has its uglies.
> 
> It's not the same thing as a showstopper.

Not all showstoppers are objective lines. On one side is pain you are willing to go through to make the horrible system you are using do what you want it to do (see for instance, web applications).

On the other side is too much pain to even consider it. And there are factors. If D was the only game in town for the target audience, it's very likely they would do as Manu is doing with C++, and suffer through the horror. But if another option is available, that has different horrors, then you make a decision based on which horror scares you the least.

To continue the "show" analogy, consider a theater show where all the show light bulbs burn out simultaneously. You could say "Well, they can do it by flashlight," and yes, it could happen. People wouldn't be able to see it, but the show would *happen*. So one could argue that not having significant lighting is not a showstopper in the way you are saying "just use void initialization".

-Steve