willox / auxtools

Rust library for low-level interfacing with BYOND's virtual machine. Includes a remote debugger for the BYOND DreamMaker language.
MIT License
28 stars 32 forks source link

BYOND 515.1633 compat (incl. breakpoints!) #84

Closed Absolucy closed 8 months ago

Absolucy commented 8 months ago

Credit to @Dimach for most of this; I just optimized the union stuff a bit and am going to push a release

Proof(?)

2024-03-10 (1710054488) ~ Code 2024-03-10 (1710054478) ~ Code 2024-03-10 (1710054464) ~ Code

Absolucy commented 8 months ago

go go gadget self-merge

Absolucy commented 8 months ago

ignore my brainfart, it works with 1633, not just 1632

willox commented 8 months ago

What's the #[inline(never)] for?

Absolucy commented 8 months ago

prolly not needed, but the idea was just like, it should just be a check and then an immediate jump to the correct version on the func. prolly me just overthinking things, tho.

willox commented 8 months ago

i feel like marking a single field access as non-inline is the most against-the-grain premature optimization i've ever seen but i'm not gonna change it