Generators

Pedro Lamarão pedro.lamarao at gmail.com
Tue Nov 23 01:49:39 UTC 2021


Hello all!
Thank you once more for your amazing work on Project Loom!
I have been experimenting with building servers with Loom and the promise
of simpler code has been fulfilled so far.
I have advanced my experiments to the HTTP protocol [1].
In this experiment, I have applied Jetty's HttpParser class, which uses a
state machine to implement a push parser.
I understand Loom is attempting to deliver and scope is being minimized for
this purpose, but, since we entered experimental terrain with
StructuredExecutor...
Could you be convinced to expose an experimental continuation based
Generator?
Doing a Generator based HttpParser would allow an HTTP server with
full ease of debugability.
Anyway, again, thanks again!
In the early days of Loom, when Continuation was usable, I experimented
with a simple DER parser and it was very, very interesting. [2]

[1] https://github.com/pedrolamarao/sandbox-loom-http

[2] https://github.com/pedrolamarao/loom

-- 
Pedro Lamarão


More information about the loom-dev mailing list