Where is the problem?
https://github.com/modularml/mojo/blob/main/examples/notebooks/RayTracing.ipynb
What can we do better?
Change
arr.__array_interface__["data"][0].unsafe_get_as_pointer[DType.int64]()
to
arr.ctypes.data.unsafe_get_as_pointer[DType.int64]()
as the latter is slightly idiomatic and looks cleaner.
Anything else?
Occurrence: