Stream: wit-bindgen

Topic: `function` vs `func`


view this post on Zulip Robin Brown (Jun 07 2022 at 14:05):

In issue #163, it was proposed that the WIT syntax be updated so that the function keyword becomes func in order to match core WASM and interface-types. What do people think about that proposal?

WIT reuses the exact same names as Core Wasm & Interface Types for pretty much everything (variant, string, tuple, flags, bool, enum, option, union, expected, ...). Except one: function I sugge...

view this post on Zulip Bailey Hayes (Jun 07 2022 at 14:48):

We're looking for feedback from WIT stakeholders. I see this issue as a "do it now or never" type problem. I'm happy for it to be settled either way. @'ing some of the folks I know have worked with WIT. @Luke Wagner @Peter Huene @fitzgen (he/him)

Thank you!

view this post on Zulip Peter Huene (Jun 08 2022 at 19:13):

I commented on the PR to weigh in that I prefer func, but don't particular have a strong opinion on it other than the sooner the better for a decision (pretty much echoing many here, I think).

view this post on Zulip Peter Huene (Jun 08 2022 at 19:15):

And sorry for the delay in responding; I just realized I haven't had my Zulip client running for some time :grimacing:


Last updated: Oct 23 2024 at 20:03 UTC