Is it possible to include inline assembly in Go code?

后端 未结 5 1983
眼角桃花
眼角桃花 2021-01-30 10:52

Is it possible to include inline assembly in Go code?

5条回答
  •  礼貌的吻别
    2021-01-30 11:22

    There is no facility in the Go programming language to support in-line assembler language code, and there are no plans to do so. Go does support linking to routines written in assembler and C. There is an experimental feature which adds SWIG support to Go.

提交回复
热议问题