Stream: general

Topic: RustPython


view this post on Zulip Tom Schuster (Oct 11 2020 at 17:47):

I am using cranelift for the first time and it's really nice. I trying to improve the JIT in RustPython. Two questions: How are you supposed to use B8? I can't even figure out how to NOT a boolean. I just switched to using I8 instead. Is there some way to arbitrary pointer reads/writes?

view this post on Zulip bjorn3 (Oct 11 2020 at 18:54):

I just switched to using I8 instead.

That is ok. The bool types are rather limited. In cg_clif I also use i8 as bool type.

Is there some way to arbitrary pointer reads/writes?

The load and store instructions accept arbitrary pointers.

view this post on Zulip Tom Schuster (Oct 11 2020 at 19:32):

Great! Thank you.


Last updated: Nov 22 2024 at 16:03 UTC