freenode/#lisp - IRC Chatlog
Search
12:24:53
beach
You can probably grab the assembler from any of the major Common Lisp implementations, like SBCL, or CCL, and probably also Mezzano.
12:27:21
heisig
I know of programmers that wrap handcrafted assembler snippets in SBCL VOPs for the very performance critical parts of their code.
12:31:29
flip214
francogrex: https://pvk.ca/Blog/2014/03/15/sbcl-the-ultimate-assembly-code-breadboard/
12:32:00
francogrex
heisig: hmm yes i know vops and i know how to use them, but not interested in that. I would like to output an .o object file. vop doesn't do that not made for it
12:39:33
francogrex
I have a feeling CFFI might be able to do that i mean if one has the opcodes how dfficult would it be to compile them to an object file?
12:43:37
heisig
Yes, one could do that, too. But in 90% of the cases you can get the very same assembler code just by compiling Lisp with the right declarations.
12:44:27
heisig
And I'm trying to boost that to 95% of the cases by writing a proper SIMD interface for SBCL.
12:55:45
beach
francogrex: The hard part, at least for x86 is to select a machine instruction, given a source instruction, and also generating the bytes for that selected machine instruction.
13:33:58
nwoob
If someone makes an api that gives dynami response in structure and to parse that structure can metaprogramming be helpful?
13:42:38
nwoob
what if there is a project that build websites from a documentation that user can edit? Given that we have templates of design... The documentation data will be parsed and will become response of API or APIs
14:17:49
splittist
Forget the x86, the new hotness to target is PowerPoint https://www.youtube.com/watch?v=LArkm4v5mWA
16:23:39
jcowan
edgar-rft: There were those crank-powered laptops: that's "power" to a physicist, but not the rest of us.
16:34:31
jcowan
apparently the hand crank on the XO laptop was basically vaporware: actually shipped XOs used ordinary power adapters.