Debug JUCE online

Has anyone ever tried hosting a compiler explorer with JUCE installed or anything similar? If there was an officialish place where we could run and debug JUCE code online we could have links to runnable example code as answers in the forum and some sort of ‘try it now’ button in the tutorials.

With the recent EULA changes this could be very expensive for the person doing the hosting :smiley:

What if any of the “tested” code lands in a commercial product?

A bit kidding, but serious as well :wink:

2 Likes

pamplejuce comes pretty close to this, imho. You can set up a pamplejuce-based project, get the builds functioning, and then just use the GitHub editor to write code in your PluginEditor/Processor classes. With a bit of streamlining, someone could turn this into a service easily enough …

What I already did was running compiler explorer locally to investigate the assembly code generated in the context of real world applications using frameworks and libraries that are not available on compiler explorer and which need some more sophisticated build settings.

That works in general, so I don’t see anything that would make it technically impossible to set up a compiler explorer instance that is able to compile code using JUCE.

That’s very encouraging! Compiler Explorer is BSD licensed so I expect the whole thing could be done under the AGPL if it was hosted by a third party and not by JUCE itself.