mojo compile is non-deterministic ? (video)

I only call mojo run main.mojo again and again, and - it breaks - it gives a result - it gives another result I can't see where the randomness is coming from, it is certainly not intended
2 Replies
Helehex
Helehex5d ago
must be getting some undefined behavior somewhere, probably accessing uninitialized memory
Ehsan M. Kermani (Modular)
Unfortunately, this is a sign of UB lurking somewhere in your code. Quick glance at your code and you're doing unsafe stuff. Suggest minimize unsafe pointer as much as possible.
Want results from more Discord servers?
Add your server