Branch of vital but in java

i think vital should have other branch (standalone only) but codded in java. java can run on every device that hava jvm. so most modern devices, like phones, computers, sometimes even on smart tv. i know it will be slower but i think its worth it, because devices like phones dont need vsts anyways, and java coded once can work on every jvm.

Great idea! How about you start the development?

2 Likes

im not so good at programing, also i just realized vital use JUCE library which is coded in cpp and i dont think there is version in java. :slightly_frowning_face:

Haven’t really seen any audio plugins written in Java. Not sure it is up to the task. I know that Java got faster, but so far I haven’t seen many performant Java applications. Audio processing is real-time and having a garbage collector at all will probably already make Java a no-option, except for some very specialized VMs. (Btw. same goes for JavaScript, Python etc.)

Better choose the right programming language for the task than the one you are familiar with. However, Rust could be an interesting alternative to C++, as it’s also very performant and without GC.

But I’m pretty sure you underestimate the effort of programming something like Vital. I’m a programmer myself and the fact that Vital was programmed by a single person is awe inspiring :slight_smile:

3 Likes

i dont think it will be faster than cpp, im programmer too, i said it because if vital would be in java, it will run on other deviced than computers with windows or macOS. i know programing it would be hard, this why i said other branch, not replacement for main one.

Ok, got it. But still, it would basically be a re-development and then you not only have it slowe running due to Java but also because those devices are usually lower-performance in general. Not sure if that would work out well.

I’m no C++ programmer, but depending on the dependencies you have it should also be possible to port it to ARM / mobile devices / Android and iOS with good performance intact, for example see SynthMaster 2 for iOS.

That would also be probably a lot less efort than rewriting Vital from scratch :wink:

But only Matt would really know best how much effort and how realistic that is.

1 Like

GraalVM can compile to native executables … which reduces size enormously. And afaik it should be faster as well.

2 Likes