In BSV, developers declare the methods of a module with interfaces, which correspond
to Java interfaces or C++ abstract base class declarations. With Connectal, accelerator
developers declare interfaces using BSV as an interface definition language. Connectal
generates C, C++, and BSV stubs (proxies and wrappers) from these interface declarations.
The C and C++ stubs may be used in user-space applications, and the C stubs
may also be used in kernel drivers. Automatically generating stubs from a BSV interface
specification enables developers to easily iterate their design, knowing that the
respective C, C++, and BSV compilers will ensure that both software and hardware
ใน bsv , นักพัฒนาประกาศวิธีการของโมดูลที่มีอินเตอร์เฟซที่สอดคล้องเพื่อการเชื่อมต่อ Java หรือ C + + ชั้นฐานนามธรรมประกาศ . กับ connectal , ตัวเร่งนักพัฒนาประกาศ interfaces ใช้ bsv เป็นอินเตอร์เฟซความหมายภาษา connectalสร้าง C , C + + , และ bsv ตอ ( ผู้รับมอบฉันทะและห่อ ) จากการประกาศอินเตอร์เฟซเหล่านี้C และ C + + ตออาจจะใช้พื้นที่ของผู้ใช้โปรแกรมประยุกต์และ C ตอนอกจากนี้ยังอาจใช้ไดรเวอร์ในเคอร์เนล โดยอัตโนมัติสร้างตอจาก bsv อินเตอร์เฟซคุณสมบัติช่วยให้นักพัฒนาได้อย่างง่ายดายย้ำการออกแบบของพวกเขาทราบว่า2 C , C + + , และ bsv คอมไพเลอร์จะตรวจสอบให้แน่ใจว่าทั้งซอฟต์แวร์และฮาร์ดแวร์
การแปล กรุณารอสักครู่..
