Jump to page: 1 210  
Page
Thread overview
Tsoding streamed about D
3 days ago
Walter Bright
Mar 19
Meta
Mar 20
Dukc
Mar 20
ryuukk_
3 days ago
Walter Bright
Mar 24
Martyn
6 days ago
Manu
6 days ago
Derek Fawcus
6 days ago
Paulo Pinto
6 days ago
Mike Shah
6 days ago
Ogion
5 days ago
Mengu
5 days ago
Sergey
5 days ago
Mike Shah
2 days ago
Walter Bright
2 days ago
Mike Shah
Mar 19
Manu
3 days ago
Walter Bright
Re: Martin Nowak is officially MIA
Mar 19
Manu
Re: Tsoding streamed about D
Mar 19
Meta
Mar 19
Manu
Mar 19
Meta
Mar 19
jmh530
Mar 19
Manu
Mar 19
Manu
3 days ago
Walter Bright
Mar 19
Meta
6 days ago
Derek Fawcus
3 days ago
Walter Bright
3 days ago
Walter Bright
3 days ago
Walter Bright
3 days ago
Walter Bright
3 days ago
Walter Bright
Mar 19
monkyyy
Re: Tsoding streamed about D
Mar 19
Ogion
3 days ago
Walter Bright
3 days ago
Walter Bright
3 days ago
sfp
3 days ago
Walter Bright
2 days ago
sfp
2 days ago
user1234
2 days ago
Timon Gehr
2 days ago
user1234
2 days ago
user1234
2 days ago
Dennis
1 day ago
Timon Gehr
2 days ago
Timon Gehr
Mar 19
Sergey
Mar 19
Kapendev
Mar 19
Ogion
Mar 19
bauss
Re: Martin Nowak is officially MIA
Mar 20
matheus
Mar 20
Sergey
2 days ago
Walter Bright
5 days ago
bomat
4 days ago
Dave P.
4 days ago
Sergey
4 days ago
Kapendev
4 days ago
Meta
4 days ago
Sergey
4 days ago
Mike Shah
4 days ago
jmh530
4 days ago
Derek Fawcus
4 days ago
Derek Fawcus
2 days ago
Walter Bright
2 days ago
Derek Fawcus
4 days ago
Meta
4 days ago
cc
4 days ago
Derek Fawcus
4 days ago
Meta
4 days ago
Send Help
March 18

Hello guys,

Not sure if you are aware a pretty big Streamer made a video about D!

Not that it’s important for me but he is really impressed with the language and was blown away a couple of times.

https://youtu.be/Gj5310KnUTQ?si=rSP50Uf9oeb4vLm1

Best regards,
Max

March 18

On Tuesday, 18 March 2025 at 20:00:01 UTC, Maximilian Naderer wrote:

>

Hello guys,

Not sure if you are aware a pretty big Streamer made a video about D!

Not that it’s important for me but he is really impressed with the language and was blown away a couple of times.

https://youtu.be/Gj5310KnUTQ?si=rSP50Uf9oeb4vLm1

Best regards,
Max

It's a refreshingly honest take. We aren't perfect and I doubt he'll become a D-promoter, but the fact that we were able to consistently surprise him, both in language and in library is a statement on how far we've come. I also want to note that the depth of the standard library was a consistent theme, and while I am clearly biased, I think this demonstrates again something that I've been saying about Phobos. People want deep standard libraries, they don't want to hunt through package managers for things that are considered basic/standard. The fact that we provided much more than he expected worked in D's favor.

March 18

On Tuesday, 18 March 2025 at 23:12:58 UTC, Adam Wilson wrote:

snip

>

I think this demonstrates again something that I've been saying about Phobos. People want deep standard libraries, they don't want to hunt through package managers for things that are considered basic/standard. The fact that we provided much more than he expected worked in D's favor.

Well said Adam, +1!

March 19

On Tuesday, 18 March 2025 at 20:00:01 UTC, Maximilian Naderer wrote:

>

Hello guys,

Not sure if you are aware a pretty big Streamer made a video about D!

Not that it’s important for me but he is really impressed with the language and was blown away a couple of times.

https://youtu.be/Gj5310KnUTQ?si=rSP50Uf9oeb4vLm1

Best regards,
Max

"This language is garbage collected, and they're fucking ashamed of that!"

This guy is surprisingly perceptive and 100% accurate with his cutting observations hahaha.

March 18
On Tuesday, March 18, 2025 8:18:13 PM MDT Meta via Digitalmars-d wrote:
> "This language is garbage collected, and they're fucking ashamed of that!"
>
> This guy is surprisingly perceptive and 100% accurate with his cutting observations hahaha.

Plenty of us aren't (in fact, personally, I'd never have gotten into D if it didn't have a GC), but it certainly comes across that way a lot of the time because of attempts to make the folks happy who don't want the GC. IMHO, while being able to do stuff without using the GC is great, we've harmed ourselves by continually trying to make C/C++ people who hate the GC happy with D. And we keep getting into arguments about how to do stuff because there's a divide between those folks who are happy that D has a GC and those who don't want anything to do with the GC. The result is kind of schizophrenic.

- Jonathan M Davis



March 19

On Tuesday, 18 March 2025 at 23:12:58 UTC, Adam Wilson wrote:

>

It's a refreshingly honest take. We aren't perfect and I doubt he'll become a D-promoter, but the fact that we were able to consistently surprise him, both in language and in library is a statement on how far we've come.

There is too much negativity among D users for the most part. There are lots of problems, but that applies to every language.

>

I also want to note that the depth of the standard library was a consistent theme, and while I am clearly biased, I think this demonstrates again something that I've been saying about Phobos. People want deep standard libraries, they don't want to hunt through package managers for things that are considered basic/standard. The fact that we provided much more than he expected worked in D's favor.

I've been hearing for a long time we should have a small standard library. I've never understood the argument.

March 19
On Wed, 19 Mar 2025 at 11:36, Meta via Digitalmars-d < digitalmars-d@puremagic.com> wrote:

> On Tuesday, 18 March 2025 at 20:00:01 UTC, Maximilian Naderer wrote:
> > Hello guys,
> >
> > Not sure if you are aware a pretty big Streamer made a video about D!
> >
> > Not that it’s important for me but he is really impressed with the language and was blown away a couple of times.
> >
> > https://youtu.be/Gj5310KnUTQ?si=rSP50Uf9oeb4vLm1
> >
> > Best regards,
> > Max
>
> "This language is garbage collected, and they're _fucking ashamed_ of that!"
>
> This guy is surprisingly perceptive and 100% accurate with his cutting observations hahaha.
>

Why didn't his operator overloading experiment work?

struct S {
    int x;
}

// non-member opBinary
S opBinary(string s : "+")(S lh, S rh) {
    return S(lh.x + rh.x);
}

void main()
{
    S a, b;
    S s1 = a.opBinary!"+"(b); // <- UFCS works, as expected
    S s2 = a + b; // ERROR: doesn't work! why not? the rewrite should work
via UFCS as above...
}

I can't imagine any good reason his experiment should have failed. I would want this too when extern to a C lib; it hasn't come up for me before, but if it did, I would log a bug instantly.


March 19
On Wednesday, 19 March 2025 at 06:05:24 UTC, Manu wrote:
> On Wed, 19 Mar 2025 at 11:36, Meta via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
>>
>> "This language is garbage collected, and they're _fucking ashamed_ of that!"
>>
>> This guy is surprisingly perceptive and 100% accurate with his cutting observations hahaha.
>>
>
> Why didn't his operator overloading experiment work?
>
> struct S {
>     int x;
> }
>
> // non-member opBinary
> S opBinary(string s : "+")(S lh, S rh) {
>     return S(lh.x + rh.x);
> }
>
> void main()
> {
>     S a, b;
>     S s1 = a.opBinary!"+"(b); // <- UFCS works, as expected
>     S s2 = a + b; // ERROR: doesn't work! why not? the rewrite should work
> via UFCS as above...
> }

I don't know the specific compiler details, but you make a good point that this _should_ work via UFCS. Probably the compiler first checks that it's a member function or something.

> I can't imagine any good reason his experiment should have failed. I would want this too when extern to a C lib; it hasn't come up for me before, but if it did, I would log a bug instantly.

Yeah, I've always wanted free-standing operator overload functions in D, and I think the case for them has only gotten stronger with better C and C++ integration, and _especially_ with ImportC.

His other main gripe was that the compiler rejects .h files, even though when he changed the extension to .c, it compiled and ran just fine. In the footnote section he actually downloads the source code and modifies it to compile .h files, and it's a surprisingly simple change. I wonder if there's a specific reason Walter didn't allow it.
March 19
On Wed, 19 Mar 2025 at 16:41, Meta via Digitalmars-d < digitalmars-d@puremagic.com> wrote:

> On Wednesday, 19 March 2025 at 06:05:24 UTC, Manu wrote:
> > On Wed, 19 Mar 2025 at 11:36, Meta via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
> >>
> >> "This language is garbage collected, and they're _fucking ashamed_ of that!"
> >>
> >> This guy is surprisingly perceptive and 100% accurate with his cutting observations hahaha.
> >>
> >
> > Why didn't his operator overloading experiment work?
> >
> > struct S {
> >     int x;
> > }
> >
> > // non-member opBinary
> > S opBinary(string s : "+")(S lh, S rh) {
> >     return S(lh.x + rh.x);
> > }
> >
> > void main()
> > {
> >     S a, b;
> >     S s1 = a.opBinary!"+"(b); // <- UFCS works, as expected
> >     S s2 = a + b; // ERROR: doesn't work! why not? the rewrite
> > should work
> > via UFCS as above...
> > }
>
> I don't know the specific compiler details, but you make a good point that this _should_ work via UFCS. Probably the compiler first checks that it's a member function or something.
>
> > I can't imagine any good reason his experiment should have failed. I would want this too when extern to a C lib; it hasn't come up for me before, but if it did, I would log a bug instantly.
>
> Yeah, I've always wanted free-standing operator overload functions in D, and I think the case for them has only gotten stronger with better C and C++ integration, and _especially_ with ImportC.
>
> His other main gripe was that the compiler rejects .h files, even though when he changed the extension to .c, it compiled and ran just fine. In the footnote section he actually downloads the source code and modifies it to compile .h files, and it's a surprisingly simple change. I wonder if there's a specific reason Walter didn't allow it.
>

Literally every single person that has ever tried to use ImportC instantly
complained that it doesn't import .h files. There's no reason not to merge
his patch.
There's been lots of discussion about this, and it seems that Walter just
has some arbitrary opinion that it shouldn't work.
What Walter wants you to do is write a one-line .c file somewhere in your
source tree, with `#include "the_header.h"`; completely pointless exercise,
and as this guy points out, it breaks the cool tech-demo and instantly
converts every person that touches this from "WOW!" to "WTF?!"... def
should fix this.


March 19
On Wednesday, 19 March 2025 at 06:05:24 UTC, Manu wrote:
> On Wed, 19 Mar 2025 at 11:36, Meta via Digitalmars-d < digitalmars-d@puremagic.com> wrote:
>
>> On Tuesday, 18 March 2025 at 20:00:01 UTC, Maximilian Naderer wrote:
>> > Hello guys,
>> >
>> > Not sure if you are aware a pretty big Streamer made a video about D!
>> >
>> > Not that it’s important for me but he is really impressed with the language and was blown away a couple of times.
>> >
>> > https://youtu.be/Gj5310KnUTQ?si=rSP50Uf9oeb4vLm1
>> >
>> > Best regards,
>> > Max
>>
>> "This language is garbage collected, and they're _fucking ashamed_ of that!"
>>
>> This guy is surprisingly perceptive and 100% accurate with his cutting observations hahaha.
>>
>
> Why didn't his operator overloading experiment work?
>
> struct S {
>     int x;
> }
>
> // non-member opBinary
> S opBinary(string s : "+")(S lh, S rh) {
>     return S(lh.x + rh.x);
> }
>
> void main()
> {
>     S a, b;
>     S s1 = a.opBinary!"+"(b); // <- UFCS works, as expected
>     S s2 = a + b; // ERROR: doesn't work! why not? the rewrite should work
> via UFCS as above...
> }
>
> I can't imagine any good reason his experiment should have failed. I would want this too when extern to a C lib; it hasn't come up for me before, but if it did, I would log a bug instantly.

https://forum.dlang.org/thread/iyqxqqvnmhegigxlpjcx@forum.dlang.org
« First   ‹ Prev
1 2 3 4 5 6 7 8 9 10