loom-lab
project-loom-slides-and-demo-code | loom-lab | |
---|---|---|
1 | 3 | |
12 | 113 | |
- | - | |
10.0 | 4.9 | |
over 1 year ago | 2 months ago | |
Java | Java | |
- | Eclipse Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
project-loom-slides-and-demo-code
-
Show HN: Open-source non-blocking NIO Java HTTP Server
Thanks for the feedback. Full disclosure, I work for the company which open sourced this project.
I haven't been following loom closely, but it appears there are still pieces being put in the Java SE for it and it hasn't been fully delivered.
For instance, in java 19, virtual threads are still in preview[0].
If you wanted to build a web server running on a LTS of Java with loom, you'd have to wait until Sep 2023[1] (though of course you could write code against versions 19+ too).
I think it'd be great to file a feature asking for loom support[2], but do you really think loom is ready to be the foundation of a prod ready web server right now?
Sorry if that sounds like FUD, but I truly don't know. the two projects[3][4] linked in the infoq article are explicitly experimental or demo apps.
That said, I did find this thread of projects that support loom now[5].
0: https://www.infoq.com/news/2022/09/java19-released/
1: https://www.oracle.com/java/technologies/java-se-support-roa...
2: https://github.com/FusionAuth/java-http/issues
3: https://github.com/rokon12/project-loom-slides-and-demo-code
4: https://github.com/nipafx/loom-lab
5: https://twitter.com/nipafx/status/1567448335367151616
loom-lab
-
Features of Project Loom incorporated in Java 21
Nice, Project Loom is often summarised as just incorporating the main feature of Virtual Threads however it will also add a whole bunch of other features or improvements for doing tasks concurrently and not having to worry about blocking IO or race conditions like you would have in the past.
Some useful code examples are here to play around with https://github.com/nipafx/loom-lab
-
Show HN: Open-source non-blocking NIO Java HTTP Server
Thanks for the feedback. Full disclosure, I work for the company which open sourced this project.
I haven't been following loom closely, but it appears there are still pieces being put in the Java SE for it and it hasn't been fully delivered.
For instance, in java 19, virtual threads are still in preview[0].
If you wanted to build a web server running on a LTS of Java with loom, you'd have to wait until Sep 2023[1] (though of course you could write code against versions 19+ too).
I think it'd be great to file a feature asking for loom support[2], but do you really think loom is ready to be the foundation of a prod ready web server right now?
Sorry if that sounds like FUD, but I truly don't know. the two projects[3][4] linked in the infoq article are explicitly experimental or demo apps.
That said, I did find this thread of projects that support loom now[5].
0: https://www.infoq.com/news/2022/09/java19-released/
1: https://www.oracle.com/java/technologies/java-se-support-roa...
2: https://github.com/FusionAuth/java-http/issues
3: https://github.com/rokon12/project-loom-slides-and-demo-code
4: https://github.com/nipafx/loom-lab
5: https://twitter.com/nipafx/status/1567448335367151616
-
How to properly parallelize Files.walk ?
Someone used project loom to make a folder size analicer, maybe it can give you some ideas https://github.com/nipafx/loom-lab
What are some alternatives?
java-http - A full featured, stand-alone, high-performance HTTP server and client written entirely in plain Java
zio-http - A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers
Apache Tomcat - Apache Tomcat
Finagle - A fault tolerant, protocol-agnostic RPC system
Vegeta - HTTP load testing tool and library. It's over 9000!