Can code be bad for the planet? يمكن للقانون ان يكون سيئا بالنسبة للكوكب؟
October 14th, 2007 | by ian | تشرين الاول / اكتوبر 14th ، 2007 | من قبل ايان |Alistair اليستير has an له interesting post on Earth2Tech ما بعد للاهتمام على earth2tech , the thesis of which is that inefficient coding practices can lead to environmental harm. ، الاطروحه التي الترميز هو ان الممارسات غير فعالة يمكن ان يؤدي الى الاضرار البيءيه.
I almost misled myself into thinking AC is blaming virtualization and SaaS/IaaS (infrastructure as a service) on creating such inefficiencies. أنا نفسي الى ما يقرب من ضلل التفكير التدقيق هو القاء اللوم على المحاكاه الافتراضيه وsaas / iaas) ويهدف الى خدمة البنية التحتية) على انشاء مثل هذا القصور. Rather, he skipped past the obvious environmental benefits of server consolidation (improved resource utilization) and service centralization (via economies of scale) and instead builds on the consequences: code inefficiencies become more obvious when you’re no longer massively overprovisioning hardware. وبدلا من ذلك ، وقال انه تم تخطي الماضي من فوائد بيءيه واضحة خادم توحيد) تحسين استخدام الموارد والخدمات المركزية) عن طريق وفورات الحجم الكبير) وبدل ان يبني على النتائج : قانون عدم الكفاءه تصبح اكثر وضوحا عندما كنت واسع لم يعد overprovisioning الاجهزه. This is an opportunity as much as a challenge. وهذه فرصة بقدر ما يشكل تحديا. Bad code did matter previously, but not to the extent that is forseen: we’re scaling web applications to a much larger degree than ever before. مدونة المساله لم سيئة في السابق ، ولكن ليس الى الحد الذي forseen : نحن التوسع في استخدام تطبيقات الانترنت الى درجة اكبر بكثير من اي وقت مضى. There are more users, and inefficiencies are multiplied. وهناك عدد اكبر من المستخدمين ، وعدم الكفاءه تتضاعف.
So it is great news that virtualization and on demand infrastructure will allow us to focus more on code efficiency since as Alistair (incidentally a veteran in the monitoring of applications) points out, it exposes more granular economics of computing. لذلك فان الاخبار الساره ان الطلب على المحاكاه الافتراضيه والبنية التحتية وسوف تسمح لنا لزيادة التركيز على الكفاءه في القانون منذ ما اليستير (وبالمناسبه مخضرم في رصد التطبيقات) يشير الى انه يعرض اكثر من حبيبي والاقتصاد الالكتروني. These technologies are paving the way to greater infrastructure efficiencies and by forcing better utilization of hardware, putting more focus on the efficiency of the code that cohabits the infrastructure. هذه التكنولوجيات هي تمهيد الطريق لتحقيق قدر اكبر من الكفاءه والبنية التحتية عن طريق اجبار تحسين الاستفادة من الاجهزه ، ووضع مزيد من التركيز على كفاءه الاداء للقانون ان يعايش البنية التحتية.
Increasing code efficiency has been generally unimportant except in edge cases. قانون زيادة الكفاءه عموما مهما كان الا في حالات الحافه. Stability and function has been more of a concern while Moore’s law and incomplete costing of infrastructure have been more than compensating for performance. وظيفة والاستقرار وكان اكثر من الاهتمام في حين ان قانون مور وعدم اكتمال البنية التحتية بتكلفة كان اكثر من التعويض عن الاداء. Rapid application development platforms proliferate based upon the abilities of modern hardware to crunch “affordably” through the multiple layers of abstraction. سرعة تطبيق التنمية منصات تتكاثر استنادا الى قدرات الاجهزه الحديثة لازمة "affordably" من خلال طبقات متعددة من التجريد.
What me worry? ما لي قلق؟
There’s definite potential for code to have an environmental impact. هناك احتمال واضح للقانون أن يكون لها الاثر البيئي. We have an existing ecological disaster on our hands with the castoff personal computing hardware of both enterprises and consumers. لدينا الكارثة الايكولوجيه القائمة على ايدينا مع اجهزة الكمبيوتر الشخصيه المهمل من المؤسسات والمستهلكين معا. Almost all of that computing power was wasted idling, never used, just for the ability to load Microsoft Office applications quickly. تقريبا كل ذلك هو القدرة الحاسوبيه المهدره ضياع ، وعدم استخدامها أبدا ، لمجرد القدرة على تحميل تطبيقات مايكروسوفت اوفيس على وجه السرعه. How do we acheive more efficient code? كيف يمكننا تحقيق اكثر كفاءه المدونه؟ As more people rely more on computing, the costing of which is becoming more accurate and granular, and as the barriers of entry for developers drop, we should witness an evolutionary process at work battling inefficiency assuming: أكثر الناس يعتمدون بشكل متزايد على الحوسبه ، وتقدير تكلفة التي اصبحت اكثر دقة وحبيبي ، والحواجز التي تحول دون الدخول للمطورين انخفاض ، وعلينا ان تشهد عملية تطوريه في العمل على افتراض عدم كفاءه المتناحره :
- large population of users اعداد كبيرة من السكان من المستخدمين
- competing applications طلبات متنافسة
- rapid generation spans with modification جيل يمتد السريع مع تعديل
- market exerts selective pressure السوق يمارس الضغط الانتقائي
While I think these evolutionary forces are already at work, the selective pressures have been weak, the environment has been overly abundant leading to a Cambrian explosion of inefficiencies that eventually will be represented in costs that the market will react to, assuming that the market has the freedom to do so. وفي حين انني أعتقد ان هذه القوات التطوريه بالفعل في العمل ، والضغوط الانتقاءيه كان ضعيفا ، والبيئة ، وقد وفيره بشكل مفرط مما ادى الى انفجار ابتدائي أن أوجه القصور في نهاية المطاف ستكون ممثلة في التكاليف إن السوق ستكون الرد علي ، على افتراض أن السوق منذ حرية القيام بذلك. This is where intellectual property issues and the “one platform to rule them all” attitude may present a bit of a speedbump, but only that. وهذا هو فيها قضايا الملكيه الفكريه واحدة "لسيادة منهاج لهم جميعا" هل هذا الموقف شيئا من speedbump ، وانما فقط.
Alistair’s most important point is highlighting that proper costing of computing is essential: if we want to minimize environmental impact we need to measure the efficiency of work performed by applications and the true cost of the resources they consume. اليستير أهم نقطة هي ان تسليط الضوء على تكلفة الحوسبه السليم أمر أساسي : اذا كنا نريد تقليل الى أدنى حد من الآثار البيءيه ونحن بحاجة لقياس كفاءه العمل الذي تقوم به والتطبيقات والتكلفه الحقيقية للموارد التي يتناولونها. My conjecture is that an evolutionary process of anthropogenic artificial selection, automated or not, should optmize resource utilization. بلدي الظن هو ان عملية تطوريه لاختيار الاصطناعيه المصطنعه ، الالي ام لا ، ينبغي ان optmize استخدام الموارد. This rests upon the premise of a competitive market, which I believe we are just starting to see in the world of software. هذا المنطلق تقع على عاتق من سوق تنافسية ، والتي اعتقد اننا لا نزال نرى بدء في العالم للبرمجيات.
For now I’m much more concerned with how poorly conceived code can compromise privacy, and restrictive code that restricts our freedom of communication and innovation. انا الان لاكثر المعنية سيئة كيف يمكن ان الحل الوسط قانون الخصوصيه ، وتقييدا قانون يقيد حريتنا في الاتصال والابتكار. But those are stories for another post. ولكن تلك هي قصص عن وظيفة اخرى.














