March 24 General » Re: Bring back foreach int indexes | |||
|---|---|---|---|
| |||
When size_t is 64 bits, the reason:
foreach (int i; 0 .. array.length)
gives... | |||
March 24 General » Re: Bring back foreach int indexes | |||
|---|---|---|---|
| |||
...be ugly. I don't want this to...when the maximum array size is enough? For... | |||
March 23 Learn » Re: Implicit conversion of string to array of immutable ubytes | |||
|---|---|---|---|
| |||
...happen to have the same size, but that doesn't mean that they're used... | |||
March 22 Learn » Re: Optimization when using a 2-dimensional array of objects | |||
|---|---|---|---|
| |||
...field....} bool ispassable(tile t)=>... alias grid_=tile...array that are the size of your game... | |||
March 21 Learn » Re: Reworking the control flow for my tactical role-playing game | |||
|---|---|---|---|
| |||
...work, though I couldn't figure out how...running operations into frame-size bits. So for... | |||
March 21 General » This one simple trick allows D programmer use llama.cpp, rust programmers hate him! | |||
|---|---|---|---|
| |||
...0, 1);
// evaluate the initial prompt
for (size_t i = 0; i < embd_inp.length... | |||
March 20 General » Re: core.sys.windows.com.ComObject apparently has wrongly laid out Vtable | |||
|---|---|---|---|
| |||
...i, c);
}
void printVtable(immutable(void)* vtable, size_t members) {
writeln("vtable ", vtable);
void** ptr... | |||
March 16 Learn » Re: Challenge: Make a data type for holding one of 8 directions allowing increment and overflow | |||
|---|---|---|---|
| |||
...Since the machine doesn't have a 3...the next larger available size, either a ubyte... | |||
March 14 LDC » Re: Object size? | |||
|---|---|---|---|
| |||
...particularly encouraging that this executable growth doesn't scale with LOC--that would be a... | |||
March 13 LDC » Re: Object size? | |||
|---|---|---|---|
| |||
This isn't LDC-specific and regularly comes up as beginner's topic (in general... | |||
Copyright © 1999-2021 by the D Language Foundation