Stream: jco

Topic: Flags as bigints


view this post on Zulip Guy Bedford (Nov 15 2023 at 19:49):

I've posted an issue for having flags as BigInts in https://github.com/bytecodealliance/jco/issues/260.

I'd like to try and get this in within the preview2 stabilization timeframe so we have stable API conventions. If there is any further feedback on the topic, please let me know!

This one comes out of discussion with @dbaeumer on the base-level type implementations. Currently we implement flags as an object of bools, the suggestion would be switch to implementing all flags ...

view this post on Zulip Yoshua Wuyts (Nov 15 2023 at 23:11):

@Guy Bedford are we sure this should be in the critical path? The window on that is closing soon; and my understanding is that the only requirement we have is that we can prove we can pass all conformance tests - not that we're ready to freeze the mapping of WIT -> JS?

view this post on Zulip Yoshua Wuyts (Nov 15 2023 at 23:11):

I'm not like, trying to disagree we shouldn't do this. But I'm questioning whether we should do this over, say, finalizing our wasi-http bindings?

view this post on Zulip Guy Bedford (Nov 15 2023 at 23:22):

@Yoshua Wuyts that's a good question, but I think having stable bindgen is important and should be completed while we are on this, especially since it does directly affect the user-facing API stability. It's also not a big thing - couple of hours at most. I appreciate your concern wrt timelines though.

view this post on Zulip Yoshua Wuyts (Nov 15 2023 at 23:22):

oki; I'll trust your judgement on this ^^


Last updated: Oct 23 2024 at 20:03 UTC