Search

September 23
General »
...2 // x * x but as rvalue

store ptr x, %3
```

what an optimizer will see...
September 23
General »
...return a constant value.

```
%1 = i32  load  ptr @X
```

%1 is a constant value. But...
September 23
DIP Development »
`a.ptr` is an array overflow issue, not a pointer validation issue, as one can...
September 23
General »
...times. Eg..

```
%1 = i32  load  ptr @X
%2 = i32  load  ptr @Y
%2 = i32  add...
September 23
General »
...i32  load  ptr @X
%3 = i32  add   i32 %1, i32 %1
     i32  store ptr @X...
September 23
DIP Development »
Thanks for the reminder, ``a.ptr`` is a perfectly safe operation, it exists solely because...
September 18
DIP Ideas »
...struct Owner {
	private {
		int* ptr;
	}

	int* borrow() @escape(return&) {
		return this.ptr; // default strength for...
September 14
LDC »
...as_pointer(T, uint addressSpace) { T* ptr; alias this = ptr; }

alias ExternRef(T) = __as_pointer...
September 12
General »
...fptr(args);
}
// ...
void function() fptr = get_function_ptr();
fptr.is_likely!likely_function();
```
See https...
September 11
Learn »
...ma $(ShortHex(123+foo*bar)) $(&m3) $(y.ptr) maybe");
```

(with zero memory allocations or excessive...
1 2 3 4 5 6 7
Next ›   Last »