{"id":12567,"date":"2026-09-28T14:40:18","date_gmt":"2026-09-28T12:40:18","guid":{"rendered":"https:\/\/computaex.es\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/"},"modified":"2026-09-28T14:40:18","modified_gmt":"2026-09-28T12:40:18","slug":"evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java","status":"publish","type":"page","link":"https:\/\/computaex.es\/en\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/","title":{"rendered":"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java"},"content":{"rendered":"<p><strong>Abstract:<\/strong><\/p>\n<p>ABSTRACT Background Software plays a critical role in modern society, but its energy consumption is a growing concern. This issue is especially evident in the Internet of Things (IoT), which involves billions of devices operating under strict energy constraints, most of which rely on C Programming Language (PL) because of its energy efficiency. Outside of IoT, PLs like Python and Java have gained popularity despite being less energy\u2010efficient, particularly Python. Optimization is therefore essential to reduce energy use in both contexts: (i) in the IoT, where the large number of devices causes high cumulative energy consumption despite using C; and (ii) for Python and Java, given their widespread adoption and higher energy demands. However, software optimizations do not always lead to lower energy consumption. Therefore, their impact on energy efficiency must be evaluated carefully. Method This article evaluates the energy impact of 26 optimization techniques in C, Python, and Java across different compiler and runtime configurations. The main focus is on comparing baseline and optimized implementations under each configuration. In addition, the study investigates the effect of compiler and runtime settings\u2014such as \u2010O0 versus \u2010O3 in C, CPython versus Nuitka in Python, and interpreter mode versus Just\u2010In\u2010Time (JIT) compilation in Java\u2014applied consistently to both baseline and optimized versions to assess their influence on energy consumption. Results The results show that Python achieved the best overall improvement, with 58% of the optimization techniques resulting in energy savings, achieving reductions of up to 70.38%. However, despite this high effectiveness in reducing energy consumption, Python still exhibits the highest overall energy consumption among the three PLs.<\/p>\n<p><strong>Autores:<\/strong> Carlos D. Pulido, F\u00e9lix O. Garc\u00eda, Ma \u00c1ngeles Moraga, Miguel Ba\u00f1os-Gonz\u00e1lez, Juan\u2010Antonio Rico\u2010Gallego, Javier Corral-Garc\u00eda<\/p>\n<p><strong>Publicaci\u00f3n \/ Evento:<\/strong> Software Practice and Experience<\/p>\n<p><a href=\"https:\/\/doi.org\/10.1002\/spe.70096\" target=\"_blank\" rel=\"noopener\">https:\/\/doi.org\/10.1002\/spe.70096<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>ABSTRACT Background Software plays a critical role in modern society, but its energy consumption is a growing concern. This issue is especially evident in the Internet of Things (IoT), which involves billions of devices operating under strict energy constraints, most of which rely on C Programming Language (PL) because of its energy efficiency. Outside of IoT, PLs like Python and Java have gained popularity despite being less energy\u2010efficient, particularly Python. Optimization is therefore essential to reduce energy use in both\u2026<\/p>","protected":false},"author":1,"featured_media":0,"parent":1583,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[123,91],"tags":[],"class_list":["post-12567","page","type-page","status-publish","hentry","category-2026-publicaciones","category-publicaciones"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java - Fundaci\u00f3n COMPUTAEX<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/computaex.es\/en\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java - Fundaci\u00f3n COMPUTAEX\" \/>\n<meta property=\"og:description\" content=\"ABSTRACT Background Software plays a critical role in modern society, but its energy consumption is a growing concern. This issue is especially evident in the Internet of Things (IoT), which involves billions of devices operating under strict energy constraints, most of which rely on C Programming Language (PL) because of its energy efficiency. Outside of IoT, PLs like Python and Java have gained popularity despite being less energy\u2010efficient, particularly Python. Optimization is therefore essential to reduce energy use in both\u2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/computaex.es\/en\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/\" \/>\n<meta property=\"og:site_name\" content=\"Fundaci\u00f3n COMPUTAEX\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/m.facebook.com\/computaex\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/computaex.es\/wp-content\/uploads\/2025\/08\/COMPUTAEX.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"403\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@computaex\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/computaex.es\\\/publicaciones\\\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\\\/\",\"url\":\"https:\\\/\\\/computaex.es\\\/publicaciones\\\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\\\/\",\"name\":\"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java - Fundaci\u00f3n COMPUTAEX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/computaex.es\\\/#website\"},\"datePublished\":\"2026-09-28T12:40:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/computaex.es\\\/publicaciones\\\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/computaex.es\\\/publicaciones\\\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/computaex.es\\\/publicaciones\\\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/computaex.es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Publicaciones\",\"item\":\"https:\\\/\\\/computaex.es\\\/publicaciones\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/computaex.es\\\/#website\",\"url\":\"https:\\\/\\\/computaex.es\\\/\",\"name\":\"Fundaci\u00f3n COMPUTAEX\",\"description\":\"COMPUTAEX\",\"publisher\":{\"@id\":\"https:\\\/\\\/computaex.es\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/computaex.es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/computaex.es\\\/#organization\",\"name\":\"COMPUTAEX\",\"url\":\"https:\\\/\\\/computaex.es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/computaex.es\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/computaex.es\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/cropped-logotipo-COMPUTAEX-NUEVA-WEB.png\",\"contentUrl\":\"https:\\\/\\\/computaex.es\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/cropped-logotipo-COMPUTAEX-NUEVA-WEB.png\",\"width\":524,\"height\":209,\"caption\":\"COMPUTAEX\"},\"image\":{\"@id\":\"https:\\\/\\\/computaex.es\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/m.facebook.com\\\/computaex\\\/\",\"https:\\\/\\\/x.com\\\/computaex\",\"https:\\\/\\\/es.linkedin.com\\\/company\\\/cenits\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java - Fundaci\u00f3n COMPUTAEX","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/computaex.es\/en\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/","og_locale":"en_US","og_type":"article","og_title":"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java - Fundaci\u00f3n COMPUTAEX","og_description":"ABSTRACT Background Software plays a critical role in modern society, but its energy consumption is a growing concern. This issue is especially evident in the Internet of Things (IoT), which involves billions of devices operating under strict energy constraints, most of which rely on C Programming Language (PL) because of its energy efficiency. Outside of IoT, PLs like Python and Java have gained popularity despite being less energy\u2010efficient, particularly Python. Optimization is therefore essential to reduce energy use in both\u2026","og_url":"https:\/\/computaex.es\/en\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/","og_site_name":"Fundaci\u00f3n COMPUTAEX","article_publisher":"https:\/\/m.facebook.com\/computaex\/","og_image":[{"width":1024,"height":403,"url":"https:\/\/computaex.es\/wp-content\/uploads\/2025\/08\/COMPUTAEX.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@computaex","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/computaex.es\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/","url":"https:\/\/computaex.es\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/","name":"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java - Fundaci\u00f3n COMPUTAEX","isPartOf":{"@id":"https:\/\/computaex.es\/#website"},"datePublished":"2026-09-28T12:40:18+00:00","breadcrumb":{"@id":"https:\/\/computaex.es\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/computaex.es\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/computaex.es\/publicaciones\/evaluating-the-energy-efficiency-of-optimization-techniques-in-c-python-and-java\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/computaex.es\/"},{"@type":"ListItem","position":2,"name":"Publicaciones","item":"https:\/\/computaex.es\/publicaciones\/"},{"@type":"ListItem","position":3,"name":"Evaluating the Energy Efficiency of Optimization Techniques in C, Python, and Java"}]},{"@type":"WebSite","@id":"https:\/\/computaex.es\/#website","url":"https:\/\/computaex.es\/","name":"COMPUTAEX Foundation","description":"COMPUTAEX","publisher":{"@id":"https:\/\/computaex.es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/computaex.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/computaex.es\/#organization","name":"COMPUTAEX","url":"https:\/\/computaex.es\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/computaex.es\/#\/schema\/logo\/image\/","url":"https:\/\/computaex.es\/wp-content\/uploads\/2025\/09\/cropped-logotipo-COMPUTAEX-NUEVA-WEB.png","contentUrl":"https:\/\/computaex.es\/wp-content\/uploads\/2025\/09\/cropped-logotipo-COMPUTAEX-NUEVA-WEB.png","width":524,"height":209,"caption":"COMPUTAEX"},"image":{"@id":"https:\/\/computaex.es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/m.facebook.com\/computaex\/","https:\/\/x.com\/computaex","https:\/\/es.linkedin.com\/company\/cenits"]}]}},"_links":{"self":[{"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/pages\/12567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/comments?post=12567"}],"version-history":[{"count":0,"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/pages\/12567\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/pages\/1583"}],"wp:attachment":[{"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/media?parent=12567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/categories?post=12567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/computaex.es\/en\/wp-json\/wp\/v2\/tags?post=12567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}