Easton Man's Channel
23:05 · May 19, 2023 · Fri
Daniel Lemire's blog
The absurd cost of finalizers in Go
Telegraph
|
source
Telegraph
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…
Home
Powered by
BroadcastChannel
&
Sepia