comparing the c ffi (foreign function interface) overhead on various programming languages
Many languages manage to provide decent N:M threading and relatively cheap FFI though. Yes, there are tradeoffs, sure, but Go's FFI is way too expensive beyond reasonable limits, making calls to graphic api or any other such api too expensive.
Skynet 1M threads microbenchmark (by atemerev)
I dunno about internal implementation, but Haskell manages to provide both very cheap and efficient green threads and cheap ffi.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
This is mostly what I did with my kutil logging library (sorry, no good documentation on how to use it yet). So I can use the same API in all my code and then pick various backends per project in order to better unify the log. For example, in Kubernetes I can use klog as the backend. I also wrote my own "simple" backend that does everything that I personally want. I'm sure there are other similar libraries out there.
The Go programming language
Relevant issue: https://github.com/golang/go/issues/42469
Why I love Ruby: the secret algorithms
2 projects | dev.to | 1 Mar 2022
Simple software things that are actually very complicated
2 projects | news.ycombinator.com | 22 May 2022
Why are enums not a thing in Go?
4 projects | reddit.com/r/golang | 22 May 2022
Proposal: Go 2: Lightweight anonymous function syntax
2 projects | news.ycombinator.com | 20 May 2022
Robert Griesemer has created a prototype for rewriting anonymous functions to two of the lightweight forms proposed in #21498 and used it to experiment on the Go source.
1 project | reddit.com/r/RedSec | 20 May 2022