3 ms·
Years ago, I started work on a library that does this in Java: https://github.com/dvx/jssembly https://github.com/dvx/jssembly The syntax looks like this:
by dvt 7y ago
Years ago, I started work on a library that does this in Java: https://github.com/dvx/jssembly https://github.com/dvx/jssembly
The syntax looks like this:
jsm.define("test", new Block(x64) {{
__asm(
"nop", // no-op
"ret" // return
);
}}).invoke();