Dan F

Results 26 comments of Dan F

@tg123 Could the watcher task be evaluating(and signaling) twice? .net Core's CountdownEvent will return 0 for negative values https://github.com/dotnet/runtime/blob/master/src/libraries/System.Threading/src/System/Threading/CountdownEvent.cs#L74 whereas AsyncEx AsyncCountdownEvent returns the negative value https://github.com/StephenCleary/AsyncEx/blob/master/src/Nito.AsyncEx.Coordination/AsyncCountdownEvent.cs#L53 Which obviously would...

@StephenCleary The above mentioned behavior difference is also probably worth noting in the docs: https://github.com/StephenCleary/AsyncEx/blob/master/doc/AsyncCountdownEvent.md

All this does is save 1 object instantiation (The constructor for date just calls and stores System.currentTimeMillis()). Seems kinda unnecessary.

According to this: https://developer.android.com/about/dashboards/ more than half of all android devices still ran on Java 7 last year. (Java 8 is on devices with API 24+). A lot of people...

@UkrainianCitizen Dropping compatability for nearly half a userbase(Probably closer to 1/3 now but google apparently isn't updating it's numbers anymore) is not really a valid option for people.

@UkrainianCitizen Eventually is not the same as right now though. Ideally Google releases updated marketshare numbers to confirm, but based on past trends I would estimate that Java 7 Android...

Coincidentally enough they finally upgraded their marketshare numbers last night. Java 7 devices are currently sitting at 40% of all android devices. https://developer.android.com/about/dashboards/

Android has a syntax desugaring compilation step that allows for select Java 8 APIs and language features to be compiled into Java 7 equivalent bytecode. It is not truly java...

A moduled approach may be preferable. Because it could be implemented then with https://github.com/JakeWharton/ThreeTenABP for android, or java.time for non-android environments.

If we are lucky and it ever gets done, https://issuetracker.google.com/issues/114481425 will make a split unneccessary. Bazel has shown that desugaring standard libs like java.time is possible, so its up to...