good idea.
it is a big work.
i sugget use cgo as the start point: use Go implement some pure c function,
then export as the c function.
for example:
//export ButteraugliScoreForQuality
func ButteraugliScoreForQuality(quality C.double) C.double {
// go code
}
在 2017年3月18日星期六 UTC+8下午4:32:47,
Thanks Chai!
Do you think this is something we could translate to pure go, no requiring
cgo?
I understand this would be a fair amount of work. I did a similar job
recently (translated some PVRTC stuff from c++ to go by copy-paste, then
fix everything), it went pretty well. I may try the same for