Some sample code to accompany my blog post "Playing with Loom".
- Point the
JAVA_HOME
environment variable to a Project Loom Early-Access Builds. - Compile the code:
mvn compile
. - Run the applications:
java -m target/classes --enable-preview -p loom.playground/it.mulders.loom.playground.LoomApp
.java -m target/classes --enable-preview -p loom.playground/it.mulders.loom.playground.ThreadedApp
.
The code in this repo is NOT production grade and lacks any automated testing. I intentionally kept it as simple as possible (KISS). Its primary purpose is demonstrating several some concepts from Loom and not being a full-fledged application that can be put into production as is.
You can in no way hold me liable for damage caused directly or indirectly by using this code.
The code in this repository is licensed under the MIT license.