OT: Leaving Rust gamedev after 3 years

jmh530 john.michael.hall at gmail.com
Mon Apr 29 17:52:55 UTC 2024


On Monday, 29 April 2024 at 17:40:54 UTC, monkyyy wrote:
> On Monday, 29 April 2024 at 14:17:41 UTC, Bruce Carneal wrote:
>> My understanding of the pros and cons of NaN initialization 
>> has not changed.
>
> despite being in a thread of 4 people saying "yes nan init is a 
> huge annoyance [specif use case and terrible work arounds]"?

If this is so annoying...

```d
double x = 0;
```

why not

```d
struct MyDouble
{
     double x = 0;
     alias this = x;
}
```


More information about the Digitalmars-d mailing list