GettogripswithmodernsoftwaredemandsbylearningtheeffectiveusesofRust'spowerfulmemorysafety.KeyFeaturesLearnandimprovethesequentialperformancecharacteristicsofyoursoftwareUnderstandtheuseofoperatingsystemprocessesinahigh-scaleconcurrentsystemLearnofthevariouscoordinationmethodsavailableintheStandardlibraryBookDescriptionMostprogramminglanguagescanreallycomplicatethings,especiallywithregardtounsafememoryaccess.Theburdenonyou,theprogrammer,liesacrosstwodomains:understandingthemodernmachineandyourlanguage'spain-points.Thisbookwillteachyoutohowtomanageprogramperformanceonmodernmachinesandbuildfast,memory-safe,andconcurrentsoftwareinRust.ItstartswiththefundamentalsofRustanddiscussesmachinearchitectureconcepts.YouwillbetakenthroughwaystomeasureandimprovetheperformanceofRustcodesystematicallyandhowtowritecollectionswithconfidence.YouwilllearnabouttheSyncandSendtraitsappliedtothreads,andcoordinatethreadexecutionwithlocks,atomicprimitives,data-parallelism,andmore.ThebookwillshowyouhowtoefficientlyembedRustinC++codeandexplorethefunctionalitiesofvariouscratesformultithreadedapplications.Itexploresimplementationsindepth.Youwillknowhowamutexworksandbuildseveralyourself.Youwillmasterradicallydifferentapproachesthatexistintheecosystemforstructuringandmanaginghigh-scalesystems.Bytheendofthebook,youwillfeelcomfortablewithdesigningsafe,consistent,parallel,andhigh-performanceapplicationsinRust.WhatyouwilllearnProbeyourprogramsforperformanceandaccuracyissuesCreateyourownthreadingandmulti-processingenvironmentinRustUsecoarselocksfromRust’sStandardlibrarySolvecommonsynchronizationproblemsoravoidsynchronizationusingatomicprogrammingBuildlock-free/wait-freestructuresinRustandunderstandtheirimplementat
1