Alan-Chen99

Results 43 comments of Alan-Chen99

I have two approach in mind: 1) allow the rawobj type to store an extra bit you get from .extra(), whose meaning is up to the containing object, thus fitting...

Of course a different strategy need to be used for 32 bit systems. Have you looked at how emacs / cl does this?

Doesn't this violate stacked borrows? (`&mut arena` invalidates `ptr`). I would think miri would complain. Is this still in the codebase?

async/ await is useless since we dont have two colors. Some sort of executors is still useful for small tasks like fortifying a buffer. One would ideally be able to...

> async/ await is useless since we dont have two colors actually I would like to take this statement back. Tramp says otherwise. Apart from that, a lot of processing...

This is *already* exposed to the end user: they must make sure to use https://github.com/jwiegley/emacs-async for compute heavy and `timer.el` (or something that wraps that) for IO heavy. I linked...

I am now using this code: ```elisp (defadvice! hotfuzz--filter-c-simple-string (orig-fun string candidates &optional ignore-case) :around #'hotfuzz--filter-c (with-demoted-errors "Error in hotfuzz--filter-c-simple-string: %S" (let* ( (table (make-hash-table :test #'eq :size (length candidates)))...

if this helps ``` (gdb) frame 13 #13 copy_emacs_string (env=0x7fffffffad60, bump=0x7fffffffabb0, value=) at /home/alan/.emacs.d/elpaca/repos/hotfuzz/hotfuzz-module.c:185 185 if (!(result = bump_alloc(bump, sizeof *result + len (gdb) print **bump $1 = {next =...

Hmm, whats enforcing this stack order here? afaik `pin_mut!` does not enforce objects being drooped by the order they are created

I see, ig there is a degree this is sound. The user might still mess up by writing a function that consumes a root by move, though. Have you considered...