| ▲ | HAL3000 8 hours ago |
| > Go is bad so "I reach for Rust, Zig..." I hope my every competitor will take your advice to heart, as one of our competitors did when they read that "Go is not a memory safe language", so they wrote a blog about how they are porting to Rust. While our team was moving fast and using those "primitives that should almost never be used" around our long running production code base with success. Some time has passed and now their company does not exist anymore and we have a lot of their clients. Thank you! |
|
| ▲ | xvedejas 2 hours ago | parent | next [-] |
| Where would one ever read that Go is not memory safe? That's just a false claim, and anyone believing it would have probably gone out of business regardless of choice of programming language. |
| |
| ▲ | ReactiveJelly an hour ago | parent | next [-] | | It looks like Go is memory safe for single threads and channels, but not for shared memory between threads: https://en.wikipedia.org/wiki/Go_(programming_language)#Lack... > Go's internal data structures like interface values, slice headers, hash tables, and string headers are not immune to data races, so type and memory safety can be violated in multithreaded programs that modify shared instances of those types without synchronization.[113][114] | |
| ▲ | gpm an hour ago | parent | prev | next [-] | | By a strict definition of memory safety it isn't - you can tear two-pointer-wide values using data races and cause arbitrary memory issues if you try to using only normal code. It's close enough for most purposes... but it isn't. | |
| ▲ | pstuart 2 hours ago | parent | prev [-] | | My ex-boss was a JS guy and then moved over to Rust. He loathed Go because it has pointers and it's possible to use a nil pointer if you are not competent. JS is fine for what and where it is, Rust is fine too. I just appreciate the stupid simple nature of Go and it does the job just fine. |
|
|
| ▲ | sunrunner 3 hours ago | parent | prev | next [-] |
| Perhaps that company failed because it chose to port things to Rust and not because of Rust itself? Or any other number of reasons that survivorship bias might be mistaking. |
|
| ▲ | za3faran 4 hours ago | parent | prev [-] |
| What domain is your company in? |