Okay I understand you didn’t like native code, but why exactly? Your idea is completely wrong. I have a question for you on this regard.
Why develop in Java? The code is run on a JVM, which is written in C++, so IF THERE IS A BUG IN THE JVM, YOU CAN’T DO ANYTHING!!!
The answer is, there is native code under everything that you are using. Consider a basic swing application in Java. Here is what you will be having.
[] You create a frame, and frame requires native code.
[] The frame requires a window, and a handle to paint on, requires native code.
Now assume that you are writing an application in C++, and here is how you’ll be having native code.
[] The application is linked into a stub program which calls your main or WinMain, it’s native code.
[] You create a GUI application and start an event loop, the events comes from the OS, which are native code.
Finally assume that you are writing an OS itself, the OS depends on a bootloader to open, which is native code. The bootloader needs a kernel, which is native code.
As you see, you CANNOT avoid native code, and there is so many layers that help you run your program, what if the support for them was dropped or if the OS got security issues??
That’s none of our business, all we have to do is report them if we find any such bugs/issues, and I can guarantee that these issues will be fixed by the respective developers pretty quick, as they have large user base, and they don’t want their users to suffer.
I don’t want to offend you, but I doubt whether you’re having a Not Invented Here syndrome…