Qhov Sib txawv Ntawm Qhov Kev Pabcuam Qhov Chaw thiab Cov Khoom Muag

Cov txheej txheem:

Qhov Sib txawv Ntawm Qhov Kev Pabcuam Qhov Chaw thiab Cov Khoom Muag
Qhov Sib txawv Ntawm Qhov Kev Pabcuam Qhov Chaw thiab Cov Khoom Muag

Video: Qhov Sib txawv Ntawm Qhov Kev Pabcuam Qhov Chaw thiab Cov Khoom Muag

Video: Qhov Sib txawv Ntawm Qhov Kev Pabcuam Qhov Chaw thiab Cov Khoom Muag
Video: Kev Muag Khoom thiab Kev Sib Cuam Tshuam Nrog Cov Neeg Qhua Yam Muaj Kev Nyab Xeeb 2024, Hlis ntuj nqeg
Anonim

Qhov sib txawv ntawm Qhov Kev Pabcuam Qhov Kev Pabcuam thiab Qhov Kev Pabcuam yog qhov kev pabcuam yog qhov kev pabcuam tib neeg-nyeem tau los ntawm tus programmer thaum lub program program yog lub tshuab ua haujlwm tau tsim los ntawm kev sau cov program.

Cov kev pab cuam tuaj yeem suav sau lossis txhais rau kev ua tiav. Decompilers pab hloov cov khoom siv rov qab rau nws cov kev pabcuam qub. Nws yog ib qho tseem ceeb uas yuav tsum nco ntsoov tias cov ntsiab lus ntawm qhov kev pab cuam thiab cov khoom siv yog siv raws li cov ntsiab lus txheeb ze. Yog tias koj siv qhov program hloov pauv qhov program (zoo li compiler), dab tsi nkag mus rau hauv yog qhov program program thiab qhov tshwm sim yog qhov program program. Yog li ntawd, ib qho khoom siv uas tsim los ntawm ib lub cuab yeej tuaj yeem dhau los ua cov ntaub ntawv rau lwm lub cuab yeej.

Qhov Kev Pabcuam yog dab tsi?

Tus programmer sau qhov program siv cov lus siab dua. Yog li ntawd, nws yog yooj yim nyeem tau los ntawm tib neeg. Cov kev zov me nyuam feem ntau muaj cov npe sib txawv thiab cov lus muaj txiaj ntsig kom nws nyeem tau ntau dua. Lub tshuab tsis tuaj yeem ua tiav qhov kev pab cuam ncaj qha. Ib tug compiler pab hloov qhov kev pab cuam mus rau executable code rau executed los ntawm lub tshuab. Xwb, yog siv tus neeg txhais lus. Nws ua tiav qhov kev pab cuam los ntawm kab yam tsis muaj pre-compilation.

Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program
Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program
Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program
Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program

Daim duab 01: Ib Qhov Kev Pabcuam

Visual Basic yog ib qho piv txwv ntawm cov lus sau, thaum Java yog ib qho piv txwv ntawm cov lus txhais. Visual Basic cov ntaub ntawv (.vb cov ntaub ntawv) tau muab tso ua ke rau.exe code, thaum Java cov ntaub ntawv (.java cov ntaub ntawv) tau muab tso ua ntej (siv javac hais kom ua) rau bytecode (ib qho khoom code muaj nyob hauv.class cov ntaub ntawv) thiab tom qab ntawd txhais siv cov java txhais lus (siv java command). Thaum cov ntawv thov software raug faib, feem ntau lawv yuav tsis suav nrog cov ntaub ntawv. Txawm li cas los xij, yog tias daim ntawv thov qhib qhov chaw, qhov chaw kuj tau muab faib thiab tus neeg siv tau pom thiab hloov kho qhov chaws ib yam nkaus.

Object Program yog dab tsi?

Object program feem ntau yog lub tshuab ua tiav cov ntaub ntawv, uas yog qhov tshwm sim ntawm kev sau cov ntaub ntawv los ntawm kev siv lub compiler. Sib nrug los ntawm cov lus qhia ntawm lub tshuab, lawv tuaj yeem suav nrog cov ntaub ntawv debugging, cov cim, cov ntaub ntawv pawg, hloov chaw, thiab cov ntaub ntawv profile. Txij li thaum lawv muaj cov lus qhia hauv tshuab code, lawv tsis yooj yim nyeem tau los ntawm tib neeg. Tab sis qee zaum, cov phiaj xwm khoom xa mus rau qhov khoom nruab nrab ntawm qhov chaw thiab cov ntaub ntawv ua tiav.

Cov cuab yeej hu ua linkers pab txuas cov khoom siv rau hauv kev ua tau zoo (xws li C lus). Raws li tau hais los saum toj no.exe cov ntaub ntawv thiab cov ntaub ntawv bytecode yog cov ntaub ntawv tsim tawm thaum siv Visual Basic thiab Java feem. Cov ntaub ntawv.exe ncaj qha rau ntawm windows platform thaum cov ntaub ntawv bytecode xav tau tus neeg txhais lus rau kev ua tiav.

Feem ntau cov ntawv thov software raug faib nrog cov khoom lossis cov ntaub ntawv ua tiav nkaus xwb. Nws muaj peev xwm hloov cov khoom lossis cov ntaub ntawv executable rov qab rau nws cov ntaub ntawv qub los ntawm decompilation. Piv txwv li, cov cuab yeej decompiler tuaj yeem decompile java.class cov ntaub ntawv (bytecode) rau hauv nws cov ntaub ntawv qub.java.

Qhov txawv ntawm Qhov Kev Pabcuam Qhov Kev Pabcuam thiab Object Program yog dab tsi?

Qhov kev pab cuam yog ib qho kev pab cuam uas tib neeg nyeem tau sau los ntawm tus programmer. Nws tau sau ua cov lus qib siab xws li Java lossis C. Yog li ntawd, qhov kev pab cuam yog tib neeg nyeem tau. Lub tshuab tsis nkag siab.

Ntawm qhov tod tes, Object program yog lub tshuab ua haujlwm tau tsim los tom qab suav sau qhov program. Nws muaj cov lus qib qis xws li kev sib dhos lossis tshuab code. Yog li ntawd, qhov program program tsis tuaj yeem nyeem tau los ntawm tib neeg. Nws yog to taub los ntawm lub tshuab.

Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program hauv Tabular Form
Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program hauv Tabular Form
Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program hauv Tabular Form
Qhov sib txawv ntawm Qhov Chaw Pabcuam thiab Object Program hauv Tabular Form

Summary – Qhov Chaw Program vs Object Program

Qhov txawv ntawm Qhov Kev Pabcuam thiab Cov Khoom Siv yog qhov kev pabcuam yog qhov kev pabcuam tib neeg nyeem tau sau los ntawm tus programmer thaum qhov program program yog lub tshuab ua haujlwm tau tsim los ntawm kev sau cov program.

Pom zoo: