Writing my own x64 backend may have been taking on too much to chew (#8, #4, #6, ...). The primary reason I went with a custom backend instead of something like a C-based one is because I eventually want to fiddle with a segmented stack-based approach to compiling effect handlers.
However, I think starting out with a C backend may be a wiser choice than trying to force one I don't have a great mental model of to work. Apart from the fact that compiling to C can be done (I suspect) much more easily than to x64, it would also give me easier FFI immediately.
Writing my own x64 backend may have been taking on too much to chew (#8, #4, #6, ...). The primary reason I went with a custom backend instead of something like a C-based one is because I eventually want to fiddle with a segmented stack-based approach to compiling effect handlers.
However, I think starting out with a C backend may be a wiser choice than trying to force one I don't have a great mental model of to work. Apart from the fact that compiling to C can be done (I suspect) much more easily than to x64, it would also give me easier FFI immediately.