Name of a 2D point using 32-bit floats coordinates? (The geometric semantics are meaningful, so no "F32x2" or the like. Also, can't use generics due to no specialization.)
-
-
in Jai there is a feature that allows you to apply a renaming rule at the point where you import a module; so e.g. if someone mistakenly released a library that defines "Vec" as a stretchy array, you can do something like: # import std # rename("Vec", "stretchy_array");
-
or: # import std # prepend("Vec", "silly_"); // introduces "silly_Vec" in the current scope The beauty of this is that no one ever needs to "reserve" an identifier, because any client can always apply an arbitrary renaming procedure.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.