They’re actually terrific for porn in theory because they are the only (I think?) VR glasses that can record VR video.
Unfortunately (for everyone I guess?) that’s not what Apple has in mind.
They’re actually terrific for porn in theory because they are the only (I think?) VR glasses that can record VR video.
Unfortunately (for everyone I guess?) that’s not what Apple has in mind.
The only part of a JIT compiler I don’t understand how it works is the part that swaps in compiled routines during interpretation. That’s the point I’m unsure of how to write in Rust because it seems like it would require very custom control flow. It might be that you can handle this by storing your compiled instructions somewhere using the C calling convention and then having Rust call your compiled function like a C function.
In essence, what you have is a Rust program that has to produce machine code (easy!), store it somewhere in RAM (also easy, I think), and then somehow call it (how???). The final part seems like the difficult one since passing execution into arbitrary memory they just wrote is just the sort of thing programs aren’t normally supposed to do.
Cool! Thanks!
According to the readme, that’s Lua bindings and not the language itself, that’s probably why it’s not on the list since it wasn’t written in Rust.
Thanks, I think Rhai is what I’d try at this point. Pretty much ticks all my boxes!
Sure you could JIT Rust, the question is if you can write a JIT compiler in rust since it needs to do some quite scary stuff to swap in compiled routines when evaluating code. I’m not even sure if unsafe is enough for that, you may need goto or arbitrary function pointers (which is kind of the same thing)
Out of curiosity, what did you use for the UI for the todoist clone?
Wow that’s one heck of a how it started // how it’s going
I looked at getting a 5G router and I’m not surprised to see the whole thing not kicking off given how insanely expensive they are