Call for Discussion: Project proposal: Greenfields

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Apr 1 05:51:44 UTC 2022


With Project Loom[1] getting closer to delivery, we will soon have a 
world where even simple Java programs might use millions of threads. 
This will, in effect, mean a world-wide multiplication on the number of 
threads in Java programs by several magnitudes! This might seem like a 
fantastic win for the Java eco-system, but we are forgetting the effects 
on the real eco-system.

As you might or might not be aware of, the textile industry is one of 
the heaviest polluter in the world[2]. Adding billions upon billions of 
new threads to this world seem like environmental arrogance.

I therefore propose we start Project Greenfield, which will research the 
reintroduction of Green Threads, and study how much pesticide and 
fertilizer use will rise due to Project Loom. Project Greenfields will 
also develop prototypes to lower pesticide, fertilizer, and water use 
for Java programs that need to create millions of threads.

Project Greenfields will deliver its first prototype in exactly one 
years time, April 1, 2023. If this is successful, we can retarget the 
project for the upcoming year, to look at the CO2 cost associated with 
Java bean production.

/Magnus

[1] https://openjdk.java.net/projects/loom
[2] 
https://www.europarl.europa.eu/news/en/headlines/society/20201208STO93327/the-impact-of-textile-production-and-waste-on-the-environment-infographic 



More information about the discuss mailing list