i stop using java since like forever the damn thing likes to hug on memory like if it was a real parasite.
It's a myth that the JVM eats up all your memory. The JVM allocates a large memory block on startup (the exact size depends on your PC's RAM size), because it is much faster to allocate a large memory block once than to constantly expand a small memory block later on. This memory is used to store Java objects, and it is managed by the JVM in a very intelligent way, which makes object allocation very fast.
If you think the JVM should work with less memory, you can override the JVM's default values and specify the maximum heap size with the "-Xmx" parameter (and the initial heap size with the "-Xms" parameter).
anyway could this be build in any other language like C++.
It could be done, if you have the time to port it. I won't do this, because nobody (except you) needs it. With C++ you have to build a version for each operating system, and you have to compile it for every platform somebody may use (e.g. Linux/x86, Linux/x64, Linux/ARMv6, Linux/ARMv8, …). With my Java version, I just distribute a single jar file, and it literally works everywhere.