News for hackers. Stuff that matters.
Re:A gentle intro to assembly with Rust by amelius on Tuesday August 04, 2020 @04:11AM (#24047774)
But there is a missing feature: how do you generate assembly at runtime?
Re:A gentle intro to assembly with Rust by ATsch on Tuesday August 04, 2020 @05:07AM (#24048100)
You need to use an external code generator library like llvm or cranelift, just like in any other language.
Re:A gentle intro to assembly with Rust by db48x on Tuesday August 04, 2020 @05:23AM (#24048196)
Not quite. Some languages bundle their compiler and code generated as part of the language runtime. Common Lisp is the one that comes to mind first.