The absurd cost of finalizers in Go

The absurd cost of finalizers in Go.
The Go programming language makes it easy to call C code. Suppose you have the following C functions: char* allocate() { return (char*)malloc(100); } void free_allocated(char *c) { free(c); } Then you can call them from Go as follows: c := C.allocate() C.free_allocated(c) It works well. You might argue that my functions are useless, but … Continue reading The absurd cost of finalizers in Go

Read in full here:

This thread was posted by one of our members via one of our news source trackers.