<p>Ie like could I do smth like x64.emit('MOV') or asm.emit(instr.mov).</p>
<hr/>**评论:**<br/><br/>kokster_: <pre><p>You can directly run assembly in Golang. It requires some type magic, but it can be achieved. I'll be writing about type magic in Golang in my blog tomorrow - <a href="https://medium.com/kokster/tagged/golang" rel="nofollow">https://medium.com/kokster/tagged/golang</a></p>
<p>Following that I'll be writing about JIT in Golang - which runs assembly directly. If you just hang out on this subreddit and you'll see it in a few days.</p></pre>vopi181: <pre><p>Oh dang I was gonna write a JIT in golang also! my plan was gonna be to wrap various os calls(virtualalloc/vmprotect(?)) and then use that abstraction layer in go. </p></pre>kokster_: <pre><p>That's really interesting! I'd love to learn more about your design for the JIT, and share mine with you. I'll DM you</p></pre>kd7nyq: <pre><p>Please don't forget to post to reddit! This is a really exciting topic. </p></pre>kokster_: <pre><p>Of course!</p></pre>
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
0 回复
- 请尽量让自己的回复能够对别人有帮助
- 支持 Markdown 格式, **粗体**、~~删除线~~、
`单行代码`
- 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
- 图片支持拖拽、截图粘贴等方式上传