News for hackers. Stuff that matters.
Re:Asm-declaration – Embed assembly language code within a C... by dvt on Friday July 26, 2019 @01:04PM (#20536300)
Years ago, I started work on a library that does this in Java: https://github.com/dvx/jssembly

The syntax looks like this:

    jsm.define("test", new Block(x64) {{
        __asm(
            "nop",  // no-op
            "ret"   // return
        );
    }}).invoke();

There are no comments on this comment yet.