Hacker News new | ask | show | jobs
by vvanders 3901 days ago
Given that there's a GC and from what I understand(I'm no go expert) limited ways to specify memory layout I'd say no.
1 comments

I am curious about the limitations around memory layout. Go provides a fair amount of control to the programmer. Fields appear in the order declared in a struct (although potentially padded), structs declared as values, not pointers, are located in memory with the declaring struct and we can have arrays and slices of non-pointer structs they will all be arranged contiguously in memory.

I am not a C/C++ programmer are there more powerful facilities provided in these languages?

Real question, not trying to start a flame war :)