Dynamic Linking and Loading$Revision: 2.3 $ $Date: 1999/06/15 03:30:36 การแปล - Dynamic Linking and Loading$Revision: 2.3 $ $Date: 1999/06/15 03:30:36 ไทย วิธีการพูด

Dynamic Linking and Loading$Revisio

Dynamic Linking and Loading

$Revision: 2.3 $
$Date: 1999/06/15 03:30:36 $
Dynamic linking defers much of the linking process until a program starts running. It provides a variety of benefits that are hard to get otherwise:
Dynamically linked shared libraries are easier to create than static linked shared libraries.
Dynamically linked shared libraries are easier to update than static linked shared libraries.
The semantics of dynamically linked shared libraries can be much closer to those of unshared libraries.
Dynamic linking permits a program to load and unload routines at runtine, a facility that can otherwise be very difficult to provide.
There are a few disadvantages, of course. The runtime performance costs of dynamic linking are substantial compared to those of static linking, since a large part of the linking process has to be redone every time a program runs. Every dynamically linked symbol used in a program has to be looked up in a symbol table and resolved. (Windows DLLs mitigate this cost somewhat, as we describe below.) Dynamic libraries are also larger than static libraries, since the dynamic ones have to include symbol tables.


Beyond issues of call compatibility, a chronic source of problems is changes in library semantics. Since dynamic shared libraries are so easy to update compared to unshared or static shared libraries, it's easy to change libraries that are in use by existing programs, which means that the behavior of those programs changes even though "nothing has changed". This is a frequent source of problems on Microsoft Windows, where programs use a lot of shared libraries, libraries go through a lot of versions, and library version control is not very sophisticated. Most programs ship with copies of all of the libraries they use, and installers often will inadvertently install an older version of a shared library on top of a newer one, breaking programs that are expecting features found in the newer one. Well-behaved applications pop up a warning before installing an older library over a newer one, but even so, programs that depend on semantics of older libraries have been known to break when newer versions replace the older ones.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
การเชื่อมโยงแบบไดนามิก และโหลด$Revision: 2.3 $ $Date: 1999/06/15 03:30:36 $การเชื่อมโยงแบบไดนามิก defers มากของกระบวนการเชื่อมโยงจนกว่าโปรแกรมเริ่มทำงาน มีหลากหลายที่ยากจะเป็นอย่างอื่น:ไลบรารีที่ใช้ร่วมกันเชื่อมโยงแบบไดนามิกขึ้นกว่าคงเชื่อมโยงใช้ร่วมกันไลบรารีได้ไลบรารีที่ใช้ร่วมกันเชื่อมโยงแบบไดนามิกจะง่ายต่อการปรับมากกว่าคงเชื่อมโยงใช้ร่วมกันไลบรารีความหมายของแบบไดนามิกเชื่อมโยงไลบรารีที่ใช้ร่วมกันได้อย่างใกล้ชิดมากกับไลบรารีไม่การเชื่อมโยงแบบไดนามิกทำให้โปรแกรมโหลด และยกเลิกการโหลดคำสั่งที่ runtine สิ่งอำนวยความสะดวกที่อื่นได้ยากมากที่จะให้มีข้อเสียไม่กี่ แน่นอน ต้นทุนประสิทธิภาพขณะทำงานของการเชื่อมโยงแบบไดนามิกจะพบการเปรียบเทียบเชื่อมโยงคง เนื่องจากส่วนใหญ่ของการเชื่อมโยงได้กับเรดวันทุกครั้งที่โปรแกรมทำงาน ทุกสัญลักษณ์ที่เชื่อมโยงแบบไดนามิกที่ใช้ในโปรแกรมจะค้นหาในตารางสัญลักษณ์ และแก้ไขได้ (Windows DLLs บรรเทานี้ต้นทุนค่อนข้าง ขณะที่เราอธิบายอยู่ด้านล่าง) ไลบรารีแบบไดนามิกก็ใหญ่กว่าไลบรารีแบบคง เนื่องจากอยู่แบบไดนามิกต้องรวมตารางสัญลักษณ์นอกเหนือจากปัญหาของโทรศัพท์ แหล่งที่มาของปัญหาเรื้อรังมีการเปลี่ยนแปลงในความหมายของห้องสมุด ตั้งแต่แบบไลบรารีที่ใช้ร่วมกันเพื่อให้ง่าย ในการปรับปรุงเปรียบเทียบกับไม่ หรือคงใช้ร่วมกันไลบรารี ซึ่งง่ายต่อการเปลี่ยนไลบรารีที่ใช้โดยโปรแกรมที่มีอยู่ ซึ่งหมายความ ว่า ลักษณะการทำงานของโปรแกรมเหล่านั้นมีการเปลี่ยนแปลงแม้ว่า "ไม่มีอะไรเปลี่ยนแปลง" นี้เป็นแหล่งอาศัยของปัญหาใน Microsoft Windows ที่โปรแกรมใช้ของไลบรารีที่ใช้ร่วมกัน ไลบรารีผ่านมากรุ่น และไลบรารีรุ่นควบคุมไม่มีความซับซ้อนมาก โปรแกรมส่วนมากที่จัดส่งพร้อมสำเนาทั้งหมดของไลบรารีใช้ และติดตั้งมักจะไม่ได้ตั้งใจติดตั้งไลบรารีที่ใช้ร่วมกันบนหนึ่งใหม่ รุ่นเก่าตัดโปรแกรมที่ถูกคาดหวังคุณลักษณะที่พบในรุ่นใหม่ โปรแกรมประยุกต์ well-behaved ปรากฏขึ้นคำเตือนก่อนการติดตั้งไลบรารีเก่ากว่าหนึ่งใหม่ แต่ถึงกระนั้น โปรแกรมที่ขึ้นอยู่กับความหมายของไลบรารีก่อนหน้าทราบว่ามีแบ่งเมื่อรุ่นใหม่แทนคนเก่า
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
Dynamic Linking and Loading

$Revision: 2.3 $
$Date: 1999/06/15 03:30:36 $
Dynamic linking defers much of the linking process until a program starts running. It provides a variety of benefits that are hard to get otherwise:
Dynamically linked shared libraries are easier to create than static linked shared libraries.
Dynamically linked shared libraries are easier to update than static linked shared libraries.
The semantics of dynamically linked shared libraries can be much closer to those of unshared libraries.
Dynamic linking permits a program to load and unload routines at runtine, a facility that can otherwise be very difficult to provide.
There are a few disadvantages, of course. The runtime performance costs of dynamic linking are substantial compared to those of static linking, since a large part of the linking process has to be redone every time a program runs. Every dynamically linked symbol used in a program has to be looked up in a symbol table and resolved. (Windows DLLs mitigate this cost somewhat, as we describe below.) Dynamic libraries are also larger than static libraries, since the dynamic ones have to include symbol tables.


Beyond issues of call compatibility, a chronic source of problems is changes in library semantics. Since dynamic shared libraries are so easy to update compared to unshared or static shared libraries, it's easy to change libraries that are in use by existing programs, which means that the behavior of those programs changes even though "nothing has changed". This is a frequent source of problems on Microsoft Windows, where programs use a lot of shared libraries, libraries go through a lot of versions, and library version control is not very sophisticated. Most programs ship with copies of all of the libraries they use, and installers often will inadvertently install an older version of a shared library on top of a newer one, breaking programs that are expecting features found in the newer one. Well-behaved applications pop up a warning before installing an older library over a newer one, but even so, programs that depend on semantics of older libraries have been known to break when newer versions replace the older ones.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
การเชื่อมโยงแบบไดนามิกและโหลด

$ $
$ 2.3 การแก้ไข : วันที่ : 1999 / 06 / 15 03:30:36 $
แบบไดนามิกเชื่อมโยงเมื่อมากของการเชื่อมโยงกระบวนการจนกว่าโปรแกรมจะเริ่มทำงาน มันมีความหลากหลายของผลประโยชน์ที่ยากที่จะได้รับอย่างอื่น :
แบบไดนามิกเชื่อมโยงห้องสมุดที่ใช้ร่วมกันได้ง่ายเพื่อสร้างกว่าคงที่เชื่อมโยงห้องสมุดที่ใช้ร่วมกัน .
แบบไดนามิกเชื่อมโยงห้องสมุดที่ใช้ร่วมกันได้ง่ายการปรับปรุงกว่าคงที่เชื่อมโยงห้องสมุดที่ใช้ร่วมกัน .
ความหมายของแบบไดนามิกเชื่อมโยงห้องสมุดที่ใช้ร่วมกันสามารถใกล้ชิดกับบรรดาห้องสมุด unshared .
แบบไดนามิกเชื่อมโยงให้โปรแกรมที่จะโหลดและยกเลิกการโหลดตามปกติที่ runtine , สิ่งอำนวยความสะดวกที่สามารถเป็นอย่างอื่นจะยากมากที่จะให้
มีเพียงไม่กี่ข้อเสีย แน่นอนประสิทธิภาพต้นทุนของการเชื่อมโยงแบบไดนามิกไทม์อย่างมากเมื่อเทียบกับแบบคงที่ของการเชื่อมโยง เนื่องจากส่วนใหญ่ของการเชื่อมโยงกระบวนการต้องทำใหม่ทุกครั้งโปรแกรมวิ่ง ทุกแบบไดนามิกเชื่อมโยงสัญลักษณ์ที่ใช้ในโปรแกรม จะต้องดูใน ตารางสัญลักษณ์ และการแก้ไข ( Windows DLLs ลดต้นทุนนี้ค่อนข้าง เราอธิบายด้านล่าง .ห้องสมุดแบบไดนามิก ) นอกจากนี้ยังมีขนาดใหญ่กว่าห้องสมุดแบบคงที่ตั้งแต่คนแบบไดนามิกมีการรวมตารางสัญลักษณ์


นอกจากประเด็นเรียกความเข้ากันได้ , แหล่งที่มาของปัญหาเรื้อรังคือการเปลี่ยนแปลงในความหมายของห้องสมุด ตั้งแต่แบบไดนามิกห้องสมุดที่ใช้ร่วมกันเพื่อให้ง่ายต่อการปรับปรุงเมื่อเทียบกับ unshared หรือคงที่ห้องสมุดที่ใช้ร่วมกัน , มันง่ายที่จะเปลี่ยนเป็นห้องสมุดที่ใช้โดยโปรแกรมที่มีอยู่ซึ่งหมายความ ว่า พฤติกรรมของโปรแกรมการเปลี่ยนแปลงแม้ว่า " ไม่มีอะไรเปลี่ยนแปลง " นี่คือที่มาของปัญหาที่พบบ่อยใน Microsoft Windows ซึ่งโปรแกรมที่ใช้มากของห้องสมุดที่ใช้ร่วมกันห้องสมุดผ่านหลายรุ่นและการควบคุมเวอร์ชันห้องสมุด ไม่ซับซ้อนมาก โปรแกรมส่วนใหญ่เรือพร้อมสำเนาทั้งหมดของห้องสมุดที่พวกเขาใช้และติดตั้งที่มักจะตั้งใจติดตั้งรุ่นเก่าของห้องสมุดที่ใช้ร่วมกันด้านบนของอันใหม่ ทำโครงการที่ต้องคุณสมบัติที่พบในรุ่นหนึ่ง ประพฤติดีโปรแกรมปรากฏขึ้นคำเตือนก่อนการติดตั้งห้องสมุดเก่าไปอันใหม่ แต่แม้ดังนั้นโปรแกรมที่ขึ้นอยู่กับความหมายของห้องสมุดเก่าที่ได้รับการรู้จักที่จะทำลายเมื่อรุ่นใหม่มาแทนที่คนรุ่นเก่า
การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2025 I Love Translation. All reserved.

E-mail: