Puas yog mus nrawm li C?
Puas yog mus nrawm li C?

Video: Puas yog mus nrawm li C?

Video: Puas yog mus nrawm li C?
Video: Me koj txiv kav tsij luag~by Maiv Yaj [ Official MV 2023] New Song 2024, Kaum ib hlis
Anonim

Mus code yog ntau compact. Thaum sau-lub sij hawm yog nyob ntawm seb koj nyob nraum coding tiag tiag, Mus yog qhov tseem ceeb sai dua los ua kom tiav C ++. Txij li thaum koj tus lej yuav tsum tau muab tso ua ke ua ntej nws khiav thiab muab tso ua ke dua tom qab txhua qhov kev hloov pauv koj ua, suav nrog lub sijhawm tseem ceeb rau coding ceev.

Ntxiv rau qhov no, kev sib dhos sai npaum li cas tshaj C?

Hauv kev xav, zoo tag nrho kev sib dhos lus tsis tuaj yeem ua qeeb dua dua li C / C ++, vim li cas code tus C lossis C ++ compiler generated koj tuaj yeem sau rau hauv Kev sib dhos lus. Thiab koj tsuas yog yuav tsum nrhiav ib qho chaw los ua qee yam me ntsis sai dua thiab koj tus lej yuav yog ceev tshaj C los yog C ++. Hauv kev xyaum, tsis muaj.

Tsis tas li ntawd, yog xeb sai dua mus? Muaj tiag tsis muaj kev sib cav: xeb yog nrawm dua Go . Hauv cov qauv ntsuas saum toj no, xeb yog sai dua , thiab qee zaum, qhov kev txiav txim ntawm qhov loj sai dua . Tam sim no, yog tias koj tab tom tsim dab tsi yuav tsum tau wring tawm txhua qhov kawg ntawm kev ua tau zoo, tom qab ntawd los ntawm txhua txoj kev, xaiv xeb.

Ib tug kuj nug, puas zoo ib yam li C?

Mus , tseem hu ua Golang, yog ib hom lus sau tseg, sau cov lus programming tsim los ntawm Google los ntawm Robert Griesemer, Rob Pike, thiab Ken Thompson. Mus yog syntactically zoo ib yam li C , tab sis nrog lub cim xeeb kev nyab xeeb, kev khaws cov khib nyiab, cov qauv ntaus ntawv, thiab CSP-style concurrency.

Vim li cas thiaj mus zoo dua C ++?

Yuav ua li cas Mus nrawm dua a C++ program yog tias nws yog concurrency yooj yim dua rau vim li cas. Qhov no txhais tau tias yog yooj yim dua los sau cov lej uas ua tau zoo hla cov chav sib txawv ntawm CPU nrog cov lej sib txawv tshaj nws yog nrog C ++.

Pom zoo: