Re:Ask HN: Why is there not a memory-safe C?
by bigato on Thursday May 24, 2018 @08:18AM
(#17143219)
I don't know much about D to know whether this is true, but you definitely can switch easily from C to Go.
Re:Ask HN: Why is there not a memory-safe C?
by dvfjsdhgfv on Thursday May 24, 2018 @08:33AM
(#17143299)
Can you use existing C binary libraries directly from Go?
Re:Ask HN: Why is there not a memory-safe C?
by bigato on Thursday May 24, 2018 @11:06AM
(#17144696)
Yes, you can
https://golang.org/cmd/cgo/
Re:Ask HN: Why is there not a memory-safe C?
by dvfjsdhgfv on Thursday May 24, 2018 @01:34PM
(#17146310)
Seems a bit more convoluted than in D.
I'd argue it's called D. Go and C are two quite different languages. Whereas if you've been coding in C you can easily switch to D and benefit from safer constructs instantly, almost without feeling a difference.