bowbahdoe / mccue.dev-comments

0 stars 0 forks source link

pages/9-25-22-better-java-logging #10

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Better Java logging, inspired by Clojure and Rust

https://mccue.dev/pages/9-25-22-better-java-logging

HaasJona commented 2 years ago

Looks to be pretty allocation heavy. Most modern loggers are pretty much zero allocation for common tasks, but your code will allocate a Log, an Event, a wrapper for the Instant, the Instant itself, wrappers for the value objects and so on just for one log call.

bowbahdoe commented 2 years ago

@HaasJona It is also "modern java" heavy and definitely has zero users for the foreseeable future - In the back of my head that meant hypothetically all of those objects could be made primitive classes.