3 ms·
Or you could just use Nim rather than Go or Rust, and get high performance, clean code, and extremely easy C FFI.
by ilaksh 12y ago
Or you could just use Nim rather than Go or Rust, and get high performance, clean code, and extremely easy C FFI.
- samatman 12y agoI wish this crowd could recognize a constructive comment. Nim is a legitimate alternative to trying to shim Go and Rust together. I still think it's cool that the OP tool exists, that's not my point.
- comex 12y agoThe comment as written is perfunctory and has a dismissive tone - it would be more constructive if it went into more detail and avoided that tone. I'd also say it's off topic to some extent, since nobody has actually claimed that architecting an app from scratch in a combination of Go and Rust (as opposed to using existing {Go, Rust} code from the other) is a good design - although I can imagine someone might think it is.
- masklinn 12y agoDid you even browse the link? TFA is not a tool, it's 10 LOC showing how to build a shared library in Rust, and how to use it from Go via the cgo FFI.