Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is `component {}` valid wit syntax? I've never seen that before


It's proposed here: https://github.com/WebAssembly/component-model/issues/598

Basically, it's sugar for `package` and `world` in the case where you aren't actually defining a world for others to use, and just for your own use. In such a case, the package and world names are irrelevant anyway.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: