News for hackers. Stuff that matters.
Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by joshefin on Wednesday August 07, 2019 @09:46PM (#20641087)
Python is great for prototyping, but my grand plan with this project is to add more sensors, integrate with some "smart home" devices and create a web UI - and I'm more comfortable coding all that in Java.
Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by JudgeWapner on Wednesday August 07, 2019 @10:35PM (#20641322)
just be sure to allocate enough swap space for the gigabytes of bloat.
Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by fouc on Thursday August 08, 2019 @12:13AM (#20641792)
Should be possible to compile Java such that it runs very efficiently. Java is commonly used for Android after all.
Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by JudgeWapner on Thursday August 08, 2019 @04:02AM (#20642676)
My Android device that runs slower after each "update"?
Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by SeanDav on Thursday August 08, 2019 @05:02AM (#20642895)
> My Android device that runs slower after each "update"?

This is not only an Android problem, Apple is equally guilty of this. Arguably, more so.

Nor is it a Java problem. Some extremely speed-sensitive high perfomance code used by high speed trading algorithms use Java. This is in an environment where micro-seconds count.

Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by JudgeWapner on Thursday August 08, 2019 @09:34AM (#20644380)
When microseconds/frame rates/audio buffers count, you're only one garbage collection away from a complete thread lockup. Those gigabytes of heap aren't going to clean up themselves!
Re:How to Measure Indoor Air Quality with a Raspberry Pi, Ru... by Galaxeblaffer on Thursday August 08, 2019 @04:24AM (#20642755)
Python is also great for production, especially for tasks like this ;)