Hacker News new | ask | show | jobs
by joshefin 2505 days ago
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.
2 comments

just be sure to allocate enough swap space for the gigabytes of bloat.
Should be possible to compile Java such that it runs very efficiently. Java is commonly used for Android after all.
My Android device that runs slower after each "update"?
> 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.

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!
Python is also great for production, especially for tasks like this ;)