Stefano Fago

Stefano Fago

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]
Likes 3
Comments 0
Shares 0
Articles 2
Views 7,7K

All 0 Comments

Latest post

double, BigDecimal, or Fixed-Point? Precision, Performance, and Sane Choices for Numbers in Java

Table of Contents The floating-point problemIEEE 754Naive equality checksstrictfp, the x87 FPU, and Java 17's silent fixThe NaN and -0.0 landminesWhen double is the right choiceReducing floating-point errorsKahan Compensated SummationNeumaier's improved Kahan-Babuška algorithmPairwise summationFused multiply-addWhat BigDecimal actually solvesConstructing BigDecimal from ...

Clean your Memory: From Finalize to Cleaner

Table of Contents Why is the finalize() method deprecated/removed?How does Cleaner relate to Java Reference classes?Behind the scenes of CleanerCleaner vs. try-with-resourcesAvoid overusing CleanerConclusionFurther ResourcesGarbage collection in Java takes care of memory management, but it does not clean up non-memory …

Join the Community

Be a Part of Our Network

Mastodon

Subscribe to foojay updates:

https://foojay.io/today/author/stefano-fago/feed/
Copied to the clipboard