Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's a neat assembler library. Thanks for pointing it out. I have been using maximecb's https://github.com/Shopify/ruby/blob/yjit/yjit_asm.h


Oh that's not intended as a library for things like jit. It's just a program that takes an asm file generated by chibicc and turns it into an ELF .o file. Building a library for x86 codegen would be such a rabbit hole. Intel Xed did that but it was just so huge that the only part I wanted to use was its instruction length decoder.


Here's another interesting one I just noticed:

https://github.com/attila-lendvai/maru/blob/maru.10/source/a...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: