Introduction
Computerprogramminglanguagescanrealizecommunicationandcommunicationbetweenhumansandmachines,andcomputerprogramminglanguagesmainlyincludeassemblylanguage,machinelanguageandhigh-levellanguages.Thespecificcontentisasfollows:p>
Assemblylanguage
ThislanguageismainlywrittenwiththeabbreviationEnglishasthelabel,andthosewritteninassemblylanguagearegenerallyrelativelysimplesmallprograms.Itismoreconvenientinexecution,butassemblylanguageismoreverboseintermsofprogram,soithasahighererrorrate.
Machinelanguage
Thislanguagemainlyusesbinarycodetosendinstructions,whichcanbequicklyrecognizedbythecomputer,anditsflexibilityisrelativelyhigh.Andtheexecutionspeedisconsiderable,andthesimilaritybetweenmachinelanguageandassemblylanguageisrelativelyhigh,butduetoitslimitations,therearecertainconstraintsinuse.
High-levellanguage
Theso-calledhigh-levellanguageisactuallyageneraltermafterthecombinationofmultipleprogramminglanguages.ItcanintegratemultipleinstructionsandcombineItbecomesasingleinstructiontocompletethedelivery.Ithasbeenappropriatelysimplifiedintermsofoperationdetailsandintermediateprocedures.Therefore,theentireprogramissimplerandhasstrongoperability.ThesimplificationofthiscodingmethodmakesthecomputerProgrammingrequirementsfortheprofessionallevelofrelevantstaffarecontinuouslyrelaxed.
Developmenthistory
Thefirstcomputerwasinventedinthe1940s.Atthattime,thevariouscontrolsofthecomputerweremainlyrealizedbymanualoperation,butintermsofconvenienceThereareseriousshortcomingsinthisregard.Afteryearsofdevelopment,relevantpersonnelhaveputforwardtheideaofusingaprogramminglanguagetocontrolthecomputer.Althoughtheprogrammingmodelatthattimewasnotperfect,ithasproducedahugeboosttothedevelopmentofcomputerprogramminglanguages.Thecomputerprogramminglanguagewasgraduallyperfectedinthehalfcenturyafterthis.Withthedevelopmentofsociety,technicalrequirementsinvariousfieldscontinuetoincrease,whichmakesthedevelopmentofcomputerprogrammingmoreandmorecomplexanddiversified.Inthiscase,somevisualandintegratedlanguageenvironmentshavegraduallybeguntoemerge.Onlyasimplekeystrokeisrequiredtocompleteapieceofcode,whichgreatlyreducesthecapitalcostandtimecostofcomputerprogramming.Coupledwiththeemergenceofsomehigh-levellanguages,suchasPascal,Fortran,andClanguage,computermanipulationnolongerrequiresalotofcapitalandlabor.Untilthe1990s,thefieldofcomputerprogrammingdevelopedrapidly,andsomeobject-orientedlanguagesweregraduallyborn.High-levellanguagessuchasJava,etc.,makecomputerprogramsgraduallydevelopfromtheoriginalcommunicationandcalculationtothedirectionofvideoanalysis,imagetransmission,intelligentsimulation,andknowledgeprocessing.Inotherwords,datacollection,analysis,andmanagementarerealizedthroughcomputernetworktechnologyoperate.Withthecontinuousdevelopmentofmoderncivilization,computerprogramminglanguageshavebeenabletomeettheinformatizationneedsofvariousfields.
Experiencetheeraandrepresentativelanguages
Programminglanguagesaregenerallydividedinto:low-levellanguages,high-levellanguages,andobject-orientederas.
Theeraoflow-levellanguages
Theeraoflow-levellanguages(1946-1953)mainlyincludesthemachinelanguageandassemblylanguageknownasthe"BookofHeaven".
Computerworkisbasedonbinary.Fundamentally,thecomputercanonlyrecognizeandacceptinstructionscomposedof0and1.Thesetoftheseinstructionsisthemachinelanguageofthecomputer.Thedisadvantagesofmachinelanguageinclude:difficulttolearn,difficulttowrite,difficulttoremember,difficulttocheck,difficulttomodify,anddifficulttopromoteanduse.Therefore,onlyaverysmallnumberofcomputerprofessionalscanwritecomputerprogramsintheearlydays.
Assemblylanguageisdifficulttounderstandinmachinelanguage,Moqilaiandothersbegantothinkofusingmnemonicstoreplace0,1codes,soassemblylanguageappeared.
Theeraofhigh-levellanguages
Theeraofhigh-levellanguages(1954-present)-Withtheemergenceoftheworld'sfirsthigh-levellanguagefortran,newprogramminglanguagesbegantoemerge.Overthepastfewdecades,morethan2500high-levellanguageshaveemergedallovertheworld.Somehavebecomepopulartoday,whilesomehavegraduallydisappeared.
Thefirsthigh-levellanguage—Fortran
Inordertoovercometheshortcomingsoflow-levellanguages,itwascreatedbyJohnBackusinthe1950sThefirstcomputerhigh-levellanguage-FORTRANlanguagewasreleased.Itisveryclosetothenaturallanguageandmathematicallanguagethatpeopleareaccustomedtousing.Theoperatorsandoperationexpressionsusedintheprogramareeasytounderstandandeasytouse.AndFORTRANplaysanimportantroleinthefieldsofnumerical,scientificandengineeringcalculationswithitsuniquefunctions.
Thefirststructuredprogramminglanguage—ALGOL
Thisisthefirstbatchofclearlydefinedhigh-levellanguagesinthehistoryofcomputerdevelopment.Thejointconferenceformedbythejointforcewasdevelopedinthe1950swhentransistorcomputerswerestillpopular.TheInternationalComputerSociety(ACM)listedtheALGOLmodelasastandardforalgorithmdescription,andinspiredtheemergenceofALGOL-likemodernlanguagessuchasPascal,Ada,andClanguages.
Thesimplestlanguage-BASIC
In1964,theBASIClanguagewasofficiallyreleased.ItwasjointlydevelopedbythedeanofDartmouthCollege,theHungarianJohnG.Kemeny,andthemathematicsteacherThomasE.Kurtz.Thelanguagehasonly26variablenames,17statements,12functionsand3commands.Thislanguageiscalled"Beginner'sgeneralsymbolinstructioncode.
Animportantmilestoneintheprogramminglanguage-Pascal
ThisisbasedontheALGOLprogramminglanguage,NamedinmemoryofBlaisePascal,aFrenchmathematician,philosopher,andcomputerpioneer.ItwasdesignedandfoundedbyProfessorNiklausWirthofSwitzerlandinthelate1960s.Pascalisthefirststructurewithrigorousgrammarandclearhierarchy.Programminglanguageiscalled"animportantmilestoneinprogramminglanguage".
Thestartingpointofmodernprogramminglanguagerevolution-Clanguage
ClanguageTheancestoristheBCPL(BasicCombinedProgrammingLanguage)language.In1970,KenThompsonofBellLaboratoriesintheUnitedStatesdesignedtheBlanguageonthebasisoftheBCPLlanguage.Thenfrom1972to1973,DennisM.RitchiedesignedtheClanguageonthebasisofKenThompson.
Object-orientedera
Object-orientedera(early90s-present)-Object-Orientedprogramming(Object-OrientedProgramming,OOPforshort)isnowveryimportantintheentireprogramdesign,anditsmostprominentfeaturesareencapsulation,inheritanceandpolymorphism.
Java
Javaisahigh-levelprogramminglanguagelaunchedbySunMicrosystemin1995.Enteringthe21stcentury,Javaenterprise-levelapplicationshavedevelopedrapidly,andaremainlyusedintheconstructionofinformationplatformsintelecommunications,finance,transportationandotherindustries.JavaisauniversallyapplicableThesoftwareplatformhasmainfeaturessuchaseasytolearnanduse,platformindependence,portability,multithreading,robustness,dynamics,andsecurity.
Python
nearInthepastfewyears,thePythonlanguagehasbeenrisingrapidly,mainlyduetothedevelopmentofbigdataandartificialintelligence.WiththeadvancementoftheindustrialInternet,thefuturedevelopmentspaceofthePythonlanguagewillbefurtherexpanded.Pythonisahigh-levelscriptinglanguageItiscurrentlyusedinthefieldsofWebandInternetdevelopment,scientificcomputingandstatistics,education,softwaredevelopment,andback-enddevelopment,andhastheadvantagesofeasylearning,fastrunning,portability,scalability,andembedding.
Selectionprinciple
(1)Comprehensivelyconsiderthehardwareenvironmentinwhichthesoftwareisrunning.Ifitisinthehardwareenvironment.Theupdateefficiencyisrelativelyhigh.Oncethehardwareenvironmentchangestoacertainextent,thecomputerwillbeprogrammedThebudgetcannotquicklymeetthehardwareenvironment.Thismakestheprogramprogramminghaveacertainimpact.Therefore,programmersneedtoThesoftwareadjuststhecontenttoconsidercomprehensively.Andpayattentiontoappropriatelyreducingthedifficultyofsoftwareadjustment.
(2)Comprehensivelyconsiderthesupportabilityoftheplatform.Intheprocessofdevelopingprogramprogramming,weshouldconsidertheimpactoftheapplicationplatformontheprogramminglanguage,andimplementscientificadjustmentstotheapplicationplatformbasedonthecharacteristicsoftheprogramminglanguage,soastoimprovetheworklevelandgivefullplaytotheroleoftheprogramminglanguage.
(3)Thinkabouttheactualproblemsofprogramprogramming.Intheprocessofprogramprogramming,whenconsideringtheabovetwoquestionscomprehensively.Itisalsonecessarytocomprehensivelythinkabouttheactualsituationofprogramming.Therefore,intheprocessofselectingacomputerprogramminglanguage,programmersarerequiredtohaveanunderstandingofthecharacteristicsoftheprogramminglanguage.Programmersareintheprocessofdevelopingspecificsoftware.Amoreprofessionalcomputerprogramminglanguageshouldbeused.Professionalprogramminglanguagescaneffectivelyimprovethestandardizationofsoftwaredevelopment.
Selectionskills
Inthedevelopmentofcomputersoftware,themostimportantkeyistoensurethatthecomputerprogramisoperatingnormally.Thisrequirescomputerprogrammerstoinvestigatetheprogramindetail.Afterthesurveyiscompleted,randomsamplingandintegrationofcomputer-relateddataandinformation,andthenselectthemostappropriatetypeofcomputerprogramminglanguage,onthisbasis,inordertoreducetheerrorrateofcomputerprograms.Intheprocessofselectingcomputerlanguages,computerprogrammersmustfullyconsidertheadvantagesandcharacteristicsofcomputerprogramminglanguages,weightheprosandcons,andreasonablycontroltheactualcostofcomputerlanguagedevelopmentinordertomaximizetheeffectsofcomputerprogramminglanguages.
(1)Beforechoosingaprogramminglanguage,theoverallframeworkoftheprojectshouldbefullyconsideredtodeterminethedistributionofprogramminglanguages.Becauseallpartsoftheentireprojectarewritteninonelanguage.Inaddition,theconnectionanddecompositionofcomponentsiscloselyrelatedtothechoiceofprogramminglanguage.Insomeprojects,itisrelativelysimpletochoosethebestprogramminglanguage,buttheprogrammingprocessisflexible.Thebestlanguageselectionneedstobechangedaccordingtotheprogramrequirements.
(2)Undertheprincipleofscienceandrationality,weshouldchoosethemostfamiliarprogramminglanguage.Becausedevelopersarefamiliarwithacertainlanguage,theycangreatlyhelpthempredictthedevelopmenttime,processandothercontent,whichcanavoidmajorchangesandimproveprogrammingefficiency.
(3)Fullconsiderationshouldbegiventohigh-costoperations,suchasencryption,graphicsrendering,videoprocessing,andothercontentoperations.Forthesehigh-costoperatingmodules,developersshouldchooseastaticlanguagethatneedstobecompiled.JAVAandC#arethebestchoices.
(4)Atpresent,thedevelopmentenvironmentofprogramminglanguagesisnolongerlimitedtothecomputerhardwareenvironment.Thehardwareenvironmentissufficientforsoftwaredevelopment,butforsomespecialapplicationsoftwareorserioussituations,theprogrammingenvironmentismorethanjustahardwareenvironment.Therefore,scientificandreasonablechoicesshouldbemadesothattheprogramstheywritecanrunwellinthisenvironment.
(5)Thesupportplatformisanimportantbasisforchoosingaprogramminglanguage.Forexample,thecodeneedstoruninthecustomer'sbrowser,whichresultsinfewerprogramminglanguagestochoosefrom.
(6)Theuseofanyprogramminglanguageneedstoensurethatthewrittenprogramcanbeadjustedintimeaccordingtoactualneeds.Therefore,arapidprototypingenvironmentisveryimportant.Inthisenvironment,thecombinationofdynamiclanguagesandrelatedlibrariescangreatlyenhanceitsadvantages.
Application
Atthecurrentstage,inordertoobtainhigherapplicationqualityofcomputersoftwaretechnology,andtocontinuouslyimprovethelevelofinformatizationinallsectorsofsociety,scientificresearchersinrelatedfieldsareworkingoncomputerContinuousimprovementandinnovationoftheprogramminglanguagesintheChineselanguagetoimprovetheintuitivenessandeaseoflearningofcomputerprogramminglanguages,sothatprogrammerscanobtainmoreconvenientprogramminglanguages,andcurrentlywidelyusedprogramminglanguagesincludePython,PHP,Java,C++,VB,andClanguages.Differentprogramminglanguageshavedifferentadvantagesinapplication.Therefore,duringspecificapplications,youneedtochooseaprogramminglanguagewithhigheradaptabilityandpertinenceinaccordancewithyourownneeds.Inordertoensuretheadvantagesoftheselectedprogramminglanguage.
PHP
Inessence,thePHPcomputerprogramminglanguageisoneoftheHTMLembeddedlanguages,anditbelongstothemainstreamofdynamicwebsiteprogramminglanguages.Programminglanguage,butinspecificapplications,youneedtoeffectivelycooperatewithhtmlcss+p+jsandotherlanguagestobuildarelativelycompletewebsite.ThemainfunctionofthislanguageistoeffectivelyexecutetheHTMLdocumentinformation,andthroughandTheeffectiveintegrationofmultipleprogramminglanguagestomeettheuser'scomputeroperationandcontrolneeds,suchasPerd,Java,andClanguage,etc.,inaddition,theapplicationofPHPasaprogramminglanguagecanalsoachieveeffectiveconstructionofdynamicwebpages.
Java
Javaisanobject-basedprogramminglanguage.Itsfocusisonspecificalgorithmsfordataapplicationandmanipulation,asadistributionAtypeoflanguageisanimportantpartofthehigh-performanceInternetarchitecture.Ithasmanyadvantages,suchassimplesyntax,automaticmemorymanagement,cross-platformtransplantation,highreliabilityofexceptionhandling,andcompletebytecodeSecuritymechanismhasawiderangeofapplicationsintheinformationage,especiallyintheInternet,gamecontrol,personalPCandmultimedia,etc.Ithasavitalrole,anditisalsowidelyusedinsoftwareandwebsiteconstruction.ThemosttypicalistheapplicationintheAndroidAPP.Inaddition,someofficesoftwareonthecomputersideisalsowrittenintheJavalanguage,suchasExcelandWord,butcomparedwiththeClanguage,theJavaprogramminglanguageisrelativelylowintermsofmechanicalefficiency,butitseconomyandPortabilityisoneofitsbiggestadvantages,soitsapplicationsinthefieldofbigdataandsupercomputersarerelativelymore.TakingtheapplicationofJavatechnologyintheconstructionofgovernmentwebsitesasanexample,intheprocessofconstructinggovernmentwebsites,thegeneralbuildablewebsitestructureisdividedinto3layers,namelythebusinesslayer,thedatalayerandthepresentationlayer.Thedatalayerismainlyresponsibleforthemanagementofmassdataandprovidesconvenientconditionsforwebsiteservices.Thebusinesslayer,inwhichthebusinesslogicofeachsubsystemisintegrated,andthedataexchangebetweenthedatalayerandthebusinesslayerisrealizedthroughtheintermediatesupportlayer.Thebusinesslayercanensurethesmoothrealizationofwebsiteapplicationfunctionsandprovidestandardizeddevelopment.interface.Presentationlayer,thislayerismainlyresponsibleforinformationinteractionanddatadisplay,isresponsiblefortechnicallyrelatedtotheuser'srequest,combinedwiththespecifictypeofrequest,transmitsittotheapplicationserver,andfinallyfeedsbacktheprocessingresulttotheuser.Intheprocessofbuildingagovernmentwebsite,adistributeddesignisgenerallyadopted,andrelatedsoftwareisintegratedatthecorrespondinglevel.Atthesametime,thedevelopmentworkcanalsobecompletedwiththehelpoftheproductapplicationdevelopmentinterface.Javatechnologycanprovideapplicationdevelopmentprogramminginterfacesandstandardizedcomponents,andfinallycombinedifferentneedstoreusefunctions,andcanalsobecombinedatwill.
C++
Currently,mostoftheonlinegamesweareexposedtoaredevelopedonthebasisofC++,andarerelativelycommonoperationsincomputersThesystemkerneliswritteninClanguage,suchasWindows/Linux,etc.TheC++language,whichiscontinuouslyoptimizedonthebasisofClanguage,hasobviousadvantagesduringtheapplicationperiod.ItcanimprovetheprogramminglanguageTherunningstateiseffectivelyoptimized,andC++hasfurtherimprovedthecompletenessoftheClanguage.Inparticular,itsrobustnessandconcisenesshavebeenfavoredbyprogrammers,soitiswidelyusedinprogramming.Inaddition,C++hasstrongdrawingcapabilitiesanddataprocessingcapabilities,andtheflexibilityoftransplantationisrelativelystrong.Therefore,itiswidelyusedingraphicsprocessing,systemsoftware,games,andmobilephones.Thewell-knownTetrisisTypicalapplicationofC++language.
Developmenttrend
Withthedevelopmentandprogressofscienceandtechnology,thecontinuousinnovationofcomputersoftwareandhardwaretechnology,especiallythedevelopmentofthemulti-coreera,hasgraduallychangedthetraditionalformofcomputerarchitecture.Affectedbythisformofdevelopment,computersshouldalsomakecorrespondingchangesinprogramminglanguages.Onlyinthiswaycantheinformationdevelopmentneedsofallsectorsofsocietybebettermet,andwewanttoachieveoptimizationandinnovationinprogramminglanguages.,Wemuststartfromtheaspectsofprogrammeroperation,programminglanguageapplication,object-orientedspaceexpansionandplatformindependence.
(1)Itisnecessarytoensuretheconvenienceofvariousoperationsforusers.Asfarasthecurrentcomputerprogramisconcerned,itscoremainlineisdataabstractionandobject-orientedprogramming.Inordertomakethevariousoperationsoftheprogramminglanguagemoreconvenient,itisnecessarytoensurethattheprogramminglanguageissimpleandeasytolearn,anditsprofessionalismisconstantlyreduced.Witheaseofuseasthemaindevelopmentdirection,toensurethatusersonlyneedtomasterthebasicconceptsandoperationmethods,theycanwritesomerelativelysimpleprogramstoensureconvenientoperation.
(2)Theprogramminglanguageshouldbebasedonobjectstoachievedeepdevelopment,andprovideastrongdynamicinterfacemodelandsimpleclassmechanism.Byusingtheinheritancemechanism,subclassescanapplythemethodsgivenbytheparentclasstoachievecodereuse.Inaddition,thecomputernetworkitselfhasstrongopenness.Therefore,intheprocessoffuturedevelopmentofprogramminglanguages,securityshouldbefullyconsidered,sothatprogrammingcanobtainarelativelysafeenvironment.Therefore,securityprotectionshouldbeprovided.Themechanismistobebuilt,combinedwiththerelevantcharacteristicsofprogramwriting,toconstructasecuritysystemtoensuretheharmonyandsafetyofthewritingenvironment.Themainpurposeofimprovingplatformindependenceistowriteprogramsthatcanbeportedtodifferentplatformsormachinestoavoidbeingaffectedbytheplatform.Thisisalsoanimportantdirectionforthefuturedevelopmentofprogramminglanguages.Underthisdevelopmentmodel,applicationswillbemorewhenwritingprograms.Conveniencewillenableittoobtainawiderrangeofapplications.
DeclarativeprogrammingandDSL
Declarativeprogrammingtellsthecomputerwhattocalculateinsteadofhowtocalculate.
Functionalprogramming
Thecodeisconcise,andthedevelopmentisfast;itisclosetonaturallanguage,easytounderstand;moreconvenientcodemanagement;easyto"concurrentprogramming";hotcodeupgrade.
Dynamiclanguage
Dynamiclanguagereferstoaprogramthatcanchangeitsstructurewhileitisrunning.Itrepresentsthegeneraltrendoffasterandsimplertechnology,andwillinevitablybecomethefutureofbuildingsoftwareandITTheprotagonistoftechnology.
Concurrentprogramming
Theinevitablerequirementofthemulti-coreera.