render mentions on a separate line from the reply content.
This commit is contained in:
1 parent
f8380db665
commit
880640d935
422 files changed
+2864
-920
No files matched your search
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1990462184170926463"
|
||||
|
||||
**1/** @Cheezaight
|
||||
|
||||
@valigo @NOTimothyLottes If this is not Timothy Lottes then who is it?
|
||||
@valigo @NOTimothyLottes
|
||||
|
||||
If this is not Timothy Lottes then who is it?
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+6
-2
@@ -28,11 +28,15 @@ parent_post_id: "1990462184170926463"
|
||||
|
||||
**1/** @mrsteyk1
|
||||
|
||||
@valigo His style goes a bit beyond that, judging by the defines used it’s similar to some form of literate programming but with C preprocessor. And the whole RAM thing iirc was for when he was hot reloading C, he said he later switched to GPU and it’s not exactly required anymore?
|
||||
@valigo
|
||||
|
||||
His style goes a bit beyond that, judging by the defines used it’s similar to some form of literate programming but with C preprocessor. And the whole RAM thing iirc was for when he was hot reloading C, he said he later switched to GPU and it’s not exactly required anymore?
|
||||
|
||||
**2/** @NOTimothyLottes
|
||||
|
||||
@mrsteyk1 @valigo Oh I still use the RAM global struct and pointer even without using CPU side hot reload.
|
||||
@mrsteyk1 @valigo
|
||||
|
||||
Oh I still use the RAM global struct and pointer even without using CPU side hot reload.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+9
-3
@@ -28,15 +28,21 @@ parent_post_id: "1990506460531601538"
|
||||
|
||||
**1/** @Ron172892111531
|
||||
|
||||
@valigo Wouldn't this make working with arrays more difficult? Array[1] would have to be Array[sizeof(data)] etc
|
||||
@valigo
|
||||
|
||||
Wouldn't this make working with arrays more difficult? Array[1] would have to be Array[sizeof(data)] etc
|
||||
|
||||
**2/** @valigo
|
||||
|
||||
@Ron172892111531 As I said somewhere else, it makes sense sizeof pointer math to be the default. I was just saying that it's confusing because "+1" is not actually "plus one"
|
||||
@Ron172892111531
|
||||
|
||||
As I said somewhere else, it makes sense sizeof pointer math to be the default. I was just saying that it's confusing because "+1" is not actually "plus one"
|
||||
|
||||
**3/** @Ron172892111531
|
||||
|
||||
@valigo Ptr+1. It's not plus one byte (or int addition), it's plus one object. I think it's only confusing when people assume pointers are just fancy integers. They're meant to work with arrays, and they do flawlessly as long as one remembers that they are an extension of the array
|
||||
@valigo
|
||||
|
||||
Ptr+1. It's not plus one byte (or int addition), it's plus one object. I think it's only confusing when people assume pointers are just fancy integers. They're meant to work with arrays, and they do flawlessly as long as one remembers that they are an extension of the array
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+6
-2
@@ -28,13 +28,17 @@ parent_post_id: "1990506460531601538"
|
||||
|
||||
**1/** @attamayte1
|
||||
|
||||
@valigo Pointer arithmetic based on type sizes makes sense when considering aligned load/store memory operations.
|
||||
@valigo
|
||||
|
||||
Pointer arithmetic based on type sizes makes sense when considering aligned load/store memory operations.
|
||||
|
||||
I’d argue that even today, with relaxed rules, we commonly use typed arrays and calculate offsets in bytes only when working with generic buffers, like binary data blobs.
|
||||
|
||||
**2/** @valigo
|
||||
|
||||
@attamayte1 Yeah it makes sense for it to be the default. It's still confusing :)
|
||||
@attamayte1
|
||||
|
||||
Yeah it makes sense for it to be the default. It's still confusing :)
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1990506460531601538"
|
||||
|
||||
**1/** @furiouswhopper
|
||||
|
||||
@valigo For real I'm parsing through a binary array and trying to say "the next byte is a uint8_t, the next two bytes are a uint16_t" and the most elegant way to do it is mind-numbingly ugly pointer bullshit.
|
||||
@valigo
|
||||
|
||||
For real I'm parsing through a binary array and trying to say "the next byte is a uint8_t, the next two bytes are a uint16_t" and the most elegant way to do it is mind-numbingly ugly pointer bullshit.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1990506460531601538"
|
||||
|
||||
**1/** @mrsteyk1
|
||||
|
||||
@valigo I had the displeasure of being exposed to Hex-Ray’s decompiler for years so I have gotten used to it, but it is annoying ye…
|
||||
@valigo
|
||||
|
||||
I had the displeasure of being exposed to Hex-Ray’s decompiler for years so I have gotten used to it, but it is annoying ye…
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+3
-1
@@ -28,7 +28,9 @@ parent_post_id: "1990506460531601538"
|
||||
|
||||
**1/** @levs57
|
||||
|
||||
@valigo Interestingly, if you try to write Rust in this way, pointer provenance will cause misoptimizations that break everything.
|
||||
@valigo
|
||||
|
||||
Interestingly, if you try to write Rust in this way, pointer provenance will cause misoptimizations that break everything.
|
||||
|
||||
## Related
|
||||
|
||||
|
||||
+9
-3
@@ -33,14 +33,20 @@ Branches: [[archive/threads/valigo/2025-11-17-when-it-comes-to-pointers-just-use
|
||||
|
||||
**2/** @onelivesleft
|
||||
|
||||
@valigo Distinct syntax for pointer arithmetic would be good. i.e.
|
||||
@valigo
|
||||
|
||||
Distinct syntax for pointer arithmetic would be good. i.e.
|
||||
ptr += 1; // ptr = ptr + 1;
|
||||
ptr ++= 1; // ptr = ptr + 1 * size_of(type_of(ptr));
|
||||
|
||||
**3/** @valigo
|
||||
|
||||
@onelivesleft Not sure I agree with specific sign choice but I kinda dig the concept
|
||||
@onelivesleft
|
||||
|
||||
Not sure I agree with specific sign choice but I kinda dig the concept
|
||||
|
||||
**4/** @onelivesleft
|
||||
|
||||
@valigo Well, you know, only applicable for languages that don't have a ++ :P
|
||||
@valigo
|
||||
|
||||
Well, you know, only applicable for languages that don't have a ++ :P
|
||||
Reference in new issue
Block a user