On Saturday, 23 March 2024 at 11:04:04 UTC, Dmitry Olshansky
wrote:
The first and second is unsound (infamously allowed in Java).
In the general case, yes. But, do you see any errors with the code
```d
class Base {}
class Derived : Base {}
@safe pure nothrow unittest {
Base b;
On Sunday, 24 March 2024 at 23:02:19 UTC, Sergey wrote:
On Sunday, 24 March 2024 at 22:16:06 UTC, rkompass wrote:
Are there some simple switches / settings to get a smaller
binary?
1) If possible you can use "betterC" - to disable runtime
2) otherwise
```bash
--release --O3 --flto=full -fvisib
On Thursday, 7 March 2024 at 22:18:40 UTC, Richard (Rikki) Andrew
Cattermole wrote:
There are two ways to do this.
1. Use templates.
https://tour.dlang.org/tour/en/basics/templates
Thank you for teaching me how to do this. This is where I first
learned to use templates in D, and I have been
Unfortunately there's no "edit" option here, but the library I
was referring to is actually "libdparse".
On Thursday, 14 March 2024 at 18:49:54 UTC, Dejan Lekic wrote:
On Tuesday, 12 March 2024 at 05:13:26 UTC, zoujiaqing wrote:
How to fix it? than you ;)
Try the following:
```
class Connection
{
StreamSocketFD client;
ubyte[1024] buf = void;
// Add these two lines befo
On Saturday, 23 March 2024 at 22:37:06 UTC, Liam McGillivray
wrote:
...a tick system would go hand-in-hand with making animations
happen in a separate thread, but it sounds like you're talking
about the same thread. Are you suggesting a fixed framerate?
I have done both ways. If you're new to pr