Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vips7L
on Nov 16, 2021
|
parent
|
context
|
favorite
| on:
Java Virtual Threads Preview
Startup time is fine.. just don't use spring where it has to read every class at runtime to determine what to inject.
geodel
on Nov 16, 2021
[–]
Well that's the Spring's great feature: To convert as many compile time errors in to runtime errors as possible.
jpgvm
on Nov 16, 2021
|
parent
[–]
To be fair there is the new Kotlin based wiring API which avoids that with the caveat you need to instantiate everything manually etc. Which is probably a decent tradeoff for some folks.
vips7L
on Nov 16, 2021
|
root
|
parent
[–]
There’s other alternatives like Avaje Inject and Quarkus which uses the same annotations but does the injection generation at compile time.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: