Hands-On System Programming with C++
C++isageneral-purposeprogramminglanguagewithabiastowardsystemprogrammingasitprovidesreadyaccesstohardware-levelresources,efficientcompilation,andaversatileapproachtohigher-levelabstractions.ThisbookwillhelpyouunderstandthebenefitsofsystemprogrammingwithC++17.YouwillgainafirmunderstandingofvariousC,C++,andPOSIXstandards,aswellastheirrespectivesystemtypesforbothC++andPOSIX.AfterabriefrefresheronC++,ResourceAcquisitionIsInitialization(RAII),andthenewC++GuidelineSupportLibrary(GSL),youwilllearntoprogramLinuxandUnixsystemsalongwithprocessmanagement.Asyouprogressthroughthechapters,youwillbecomeacquaintedwithC++'ssupportforIO.Youwillthenstudyvariousmemorymanagementmethods,includingachapteronallocatorsandhowtheybenefitsystemprogramming.YouwillalsoexplorehowtoprogramfileinputandoutputandlearnaboutPOSIXsockets.ThisbookwillhelpyougettogripswithsafelysettingupaUDPandTCPserver/client.Finally,youwillbeguidedthroughUnixtimeinterfaces,multithreading,anderrorhandlingwithC++exceptions.Bytheendofthisbook,youwillbecomfortablewithusingC++toprogramhigh-qualitysystems.
·10.4萬字