functional.cafe is one of the many independent Mastodon servers you can use to participate in the fediverse.
functional.cafe is an instance for people interested in functional programming and languages.

Server stats:

221
active users

Public

(I'll get really burned for that, won't I?)

Public

So, after a night of sleep, I just realized there is a very important point I didn't make in the post. I'll update it as soon as I managed to get out of bed. ;P

Public

Done. There is a new point about why Rust and not Go, which I do believe is the central point of this whole discussion.

Public

@juliobiason As an exercise, I wrote the same code in Rust and Go. It's a simple computation function but with the constraint that the code can be called from C/C++ (from dlopen).
The Go version looks like a dirty hack compared to the Rust version (Go uses comments for compiler directives, and it requires the declaration of a useless main function).