3 ms·
Ahh, if we are comparing equivalent implementations, you are definitely correct. GC and goroutines are much more complex than anything in C. In fact, off the to
by duaneb 14y ago
Ahh, if we are comparing equivalent implementations, you are definitely correct. GC and goroutines are much more complex than anything in C. In fact, off the top of my head, the only features truly missing in Go from C are unions (unfortunately) and the preprocessor (effectively a part of C).
- kragen 14y agoHave you ever implemented GC or fibers? They can be pretty simple to implement, really.
- duaneb 14y agoThey are conceptually more high level than anything in C - that's what I meant.
- sausagefeet 14y agoThere is a big difference between implementing them for fun and implementing them for a production system. Regardless, even if they are simple to implement they are more than what C90 has so, by definition, more complex implementation.
- kragen 14y agoThey're a lot simpler than printf, strxfrm, or mktime, all of which are in C90!