Araştırma Makalesi

A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs

Cilt: 25 Sayı: 49 26 Haziran 2026
PDF İndir
EN TR

A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs

Öz

Smart contracts have become a fundamental component of blockchain ecosystems, and their reliability is strongly shaped by the programming languages in which they are written. While prior studies have classified vulnerabilities, fewer have quantitatively examined how language design and secure coding practices affect performance and resilience. To address this gap, this study empirically compares Solidity and Vyper under controlled conditions and complements these experiments with a literature-based evaluation of Rust and Move. Test scenarios included deployment, deposits, withdrawals, arithmetic overflow, reentrancy, and transaction origin misuse. For both vulnerable and secure variants in Solidity and Vyper, metrics such as gas consumption, deployment size, and runtime execution time were collected. The results indicate that deployment costs differ substantially between the two languages (Solidity ≈ 177 k gas vs Vyper ≈ 135 k gas, ~24% lower), whereas runtime performance is mixed: deposit calls are nearly identical (Δ ≈ 0.02 ms), whereas withdraw shows a noticeable gap (Δ ≈ 4.97 ms) favoring Vyper; nevertheless, these call-level differences remain small relative to the larger deployment-time gap. Importantly, secure coding practices such as explicit arithmetic checks and the Checks–Effects–Interactions pattern eliminate critical vulnerabilities while adding less than 1% to the overall execution cost. Although Rust and Move are considered through a literature-based review, they illustrate alternative approaches that embed security guarantees directly into the language. Based on these observations, this study proposes a measurable framework to understand how different smart contract programming languages vary in terms of security and efficiency, emphasizing the role of language design and secure coding practices in shaping contract development.

Anahtar Kelimeler

Kaynakça

  1. Aptos Labs. (2025). Move - A Web3 Language and Runtime. Retrieved September 10, 2025, from https://aptos.dev/network/blockchain/move.
  2. Atzei, N., Bartoletti, M., & Cimoli, T. (2017). A survey of attacks on Ethereum smart contracts (SoK). Principles of Security and Trust (POST), LNCS, 10204, 164–186. Springer.
  3. Bartoletti, M., Galletta, L., & Murgia, M. (2021). A theory of transaction parallelism in blockchains. Logical Methods in Computer Science, 17(4), 1–41.
  4. Bartoletti, M., Fioravanti, F., Matricardi, G., Pettinau, R., & Sainas, F. (2024). Towards benchmarking of Solidity verification tools. Workshop on Formal Methods for Blockchains (FMBC 2024), OASIcs.
  5. Bartoletti, M., Benetollo, L., Bugliesi, M., Crafa, S., Dal Sasso, G., Pettinau, R., Pinna, A., Piras, M., Rossi, S., Salis, S., Spanò, A., Tkachenko, V., Tonelli, R., & Zunino, R. (2025). Smart contract languages: A comparative analysis. Future Generation Computer Systems, 164, 107563.
  6. Blackshear, S., Cheng, E., Dill, D. L., Gao, V., Maurer, B., Nowacki, T., ... & Zhou, R. (2019). Move: A language with programmable resources. Retrieved September 7, 2025, from https://developers.diem.com/papers/diem-move-a-language-with-programmable-resources/2019-06-18.pdf.
  7. Buterin, V. (2014). Ethereum white paper: A Next Generation Smart Contract & Decentralized Application Platform. Retrieved September 10, 2025 from https://ethereum.org/content/whitepaper/whitepaper-pdf/Ethereum_Whitepaper_-_Buterin_2014.pdf
  8. Besbas, A., Ailane, A., Kahloul, L., Slatnia, S., & Bourekkache, S. (2024, November). On the formal verification of smart contracts and blockchain: Challenges and future directions. In 2024 4th International Conference on Embedded & Distributed Systems (EDiS), 213-217. Catalini, C., Gratry, O., Hou, J. M., Parasuraman, S., & Wernerfelt, N. (2019). The libra reserve. Libra White Paper.

Ayrıntılar

Birincil Dil

İngilizce

Konular

Veri Güvenliği ve Korunması

Bölüm

Araştırma Makalesi

Yayımlanma Tarihi

26 Haziran 2026

Gönderilme Tarihi

24 Eylül 2025

Kabul Tarihi

18 Ekim 2025

Yayımlandığı Sayı

Yıl 2026 Cilt: 25 Sayı: 49

Kaynak Göster

APA
Özaslan, H. A. C., & Durukan Odabaşı, Ş. (2026). A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi, 25(49), 98-118. https://doi.org/10.55071/ticaretfbd.1790366
AMA
1.Özaslan HAC, Durukan Odabaşı Ş. A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi. 2026;25(49):98-118. doi:10.55071/ticaretfbd.1790366
Chicago
Özaslan, Hüseyin Ahmet Cemil, ve Şafak Durukan Odabaşı. 2026. “A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs”. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi 25 (49): 98-118. https://doi.org/10.55071/ticaretfbd.1790366.
EndNote
Özaslan HAC, Durukan Odabaşı Ş (01 Haziran 2026) A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi 25 49 98–118.
IEEE
[1]H. A. C. Özaslan ve Ş. Durukan Odabaşı, “A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs”, İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi, c. 25, sy 49, ss. 98–118, Haz. 2026, doi: 10.55071/ticaretfbd.1790366.
ISNAD
Özaslan, Hüseyin Ahmet Cemil - Durukan Odabaşı, Şafak. “A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs”. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi 25/49 (01 Haziran 2026): 98-118. https://doi.org/10.55071/ticaretfbd.1790366.
JAMA
1.Özaslan HAC, Durukan Odabaşı Ş. A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi. 2026;25:98–118.
MLA
Özaslan, Hüseyin Ahmet Cemil, ve Şafak Durukan Odabaşı. “A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs”. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi, c. 25, sy 49, Haziran 2026, ss. 98-118, doi:10.55071/ticaretfbd.1790366.
Vancouver
1.Hüseyin Ahmet Cemil Özaslan, Şafak Durukan Odabaşı. A COMPARATIVE STUDY OF SMART CONTRACT PROGRAMMING LANGUAGES: SECURITY, PERFORMANCE, AND OPTIMIZATION TRADE-OFFs. İstanbul Ticaret Üniversitesi Fen Bilimleri Dergisi. 01 Haziran 2026;25(49):98-118. doi:10.55071/ticaretfbd.1790366