logoalt Hacker News

Go Experiments Explained

25 pointsby ingvelast Monday at 8:39 AM8 commentsview on HN

Comments

nasretdinovtoday at 7:25 AM

I'm really looking forward to SIMD becoming standard in Go. It might sound very niche, however SIMD intrinsics (which is different from how they are available now, which is via non-inlinable assembly) allow to generate similar vector code to C intrinsics, with very little in terms of overhead due to bounds checking, etc. This allows to write programs that are highly optimised for modern CPU and get maybe 80% of performance compared to the same variant in C. This is much better than the current state where C typically outperforms Go by at least 2x/3x, and SIMD typically allows you to get 10x or more speedup already, which gives UNLIMITED POWER to Go when CPU performance is a bottleneck

jiehongtoday at 7:08 AM

Perhaps the Go community should take a look at JEP or PEP to better document features and their life cycles and statuses overall.

ktpsnstoday at 5:54 AM

I find the arena experiment very interesting. If done right, whole programs can be structured as as a set of arenas. I've read some things on arenas here such as https://news.ycombinator.com/item?id=37670740

show 2 replies
yjftsjthsd-htoday at 5:02 AM

So, these are feature flags by any name, right?

show 1 reply