September 23 General » Re: Walter's talk on D backend | |||
|---|---|---|---|
| |||
...2 // x * x but as rvalue store ptr x, %3 ``` what an optimizer will see... | |||
September 23 General » Re: Walter's talk on D backend | |||
|---|---|---|---|
| |||
...return a constant value. ``` %1 = i32 load ptr @X ``` %1 is a constant value. But... | |||
September 23 DIP Development » Re: Safer D first draft | |||
|---|---|---|---|
| |||
`a.ptr` is an array overflow issue, not a pointer validation issue, as one can... | |||
September 23 General » Re: Walter's talk on D backend | |||
|---|---|---|---|
| |||
...times. Eg.. ``` %1 = i32 load ptr @X %2 = i32 load ptr @Y %2 = i32 add... | |||
September 23 General » Re: Walter's talk on D backend | |||
|---|---|---|---|
| |||
...i32 load ptr @X
%3 = i32 add i32 %1, i32 %1
i32 store ptr @X... | |||
September 23 DIP Development » Re: Safer D first draft | |||
|---|---|---|---|
| |||
Thanks for the reminder, ``a.ptr`` is a perfectly safe operation, it exists solely because... | |||
September 18 DIP Ideas » Framework for escape set | |||
|---|---|---|---|
| |||
...struct Owner {
private {
int* ptr;
}
int* borrow() @escape(return&) {
return this.ptr; // default strength for... | |||
September 14 LDC » Re: How can I use WebAssembly Reference Types with LDC? | |||
|---|---|---|---|
| |||
...as_pointer(T, uint addressSpace) { T* ptr; alias this = ptr; }
alias ExternRef(T) = __as_pointer... | |||
September 12 General » Re: Standard way to supply hints to branches | |||
|---|---|---|---|
| |||
...fptr(args); } // ... void function() fptr = get_function_ptr(); fptr.is_likely!likely_function(); ``` See https... | |||
September 11 Learn » Re: Is it possible to use templates to implement something like the `@show` macro from the Julia programming langauge in D? | |||
|---|---|---|---|
| |||
...ma $(ShortHex(123+foo*bar)) $(&m3) $(y.ptr) maybe"); ``` (with zero memory allocations or excessive... | |||
Copyright © 1999-2021 by the D Language Foundation