Results 466 comments of juj

Just to note, this looks like a massive user-facing breaking ABI change. The previous sizeof(EM_BOOL) change from 4 bytes to 1 byte also was a breaking ABI change, and it...

Looking at stdbool.h, it has ```h #ifndef _STDBOOL_H #define _STDBOOL_H #ifndef __cplusplus #define true 1 #define false 0 #define bool _Bool #endif #define __bool_true_false_are_defined 1 #endif ``` What happens if...

> here are the 3 types of possible fallout that I can think of that might result I think these scenarios are probably accurate. In (1) I would note that...

> In fact, I've yet to hear of a single user effected in this way. I was a single user who was affected this way! That change totally broke my...

> On that matter there has been some progress towards allowing users to extend C_STRUCTS system. The first part of this already landed in: #22251. That's cool - it would...

To marshall WebGPU API calls, structs on C side need to be converted to JS side descriptor objects, e.g. [C header code](https://github.com/juj/wasm_webgpu/blob/25ed8532460f88219489818705dde2ed373f2e1a/lib/lib_webgpu.h#L2365-L2379): ![image](https://github.com/user-attachments/assets/c25c1618-6e0f-4076-b6cc-6aea43d75b58) and [JS code](https://github.com/juj/wasm_webgpu/blob/25ed8532460f88219489818705dde2ed373f2e1a/lib/lib_webgpu.js#L1868-L1878): ![image](https://github.com/user-attachments/assets/4870dfa5-ca6b-4f09-af64-bcb81db904da) and I had...