What responsibilities are to comply C\C++ standard? -


little bit stupid question. example i've read, in c11 added support of threads. then, example gcc compiler stm32f4 said, supports c11 standard. so, mean now, without os i'll achieve threading support??? how can be?

another example - g++ stm32 supports std::vectors, , works,even without os's memory management. mean memory manager inside compiler? or not?

so, mean now, without os i'll achieve threading support???

it means language specified multi-threaded programs can written correctly, well-defined synchronisation when accessing shared data; , full hosted implementation should provide thread library. doesn't mean implementations allow multiple threads: depend on support underlying system.

this mean memory manager inside compiler?

yes, typically language run-time includes heap manager. assigned memory (either obtained os, or allocated in other system-dependent manner, perhaps static block when program starts), splits smaller lumps support dynamic allocation within program.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -