Hello,
I just noticed Neil Fraser was actually answering questions in this forum which is great! I tried to send him an email but he hasn't replied so hopefully he see's this.
So basically my question is seeing as BlockDuino produces Arduino code does that mean it produces C or C++ code? As Arduino is programmed in C or C++, right? If not, well, would that be possible with Blockly? How does one get started in making Blockly create syntactically correct C++ code?
Sorry I have so many questions and a lack of answers at the moment. The only reason I care about C++ code is due to speed reasons really, so if there is a better option well I'm all ears. Mainly due to the fact people seem to still convert there Python code to C++ code for performance. For example I'm interested in machine learning and everyone seems to prefer to convert it to C++ code from what I've seen, if only running on the CPU that is. Quite often they use CUDA as well...
The other question I had was could Blockly be used to create Java code, mainly because I need to learn it for uni (currently on a deferment due to life issues) so having Blockly generate code from my block code would be awesome. As I've been using App Inventor 2 to make an Android app at the moment and find it so easy to use, and easier to understand. Than say learning a programming language, it just seems to take far more time learning a new language than diving in with for example App Inventor. Plus I can then learn Java by browsing the code it produces from my Blockly blocks. Although I wouldn't really see any point in programming in text ever again really if I could do everything from within Blockly, if everything was eventually built in. And with App Inventor 2 I thought I had managed to turn the .apk files back into .java files by decompiling them but the decompilation process hasn't been perfected and thus produces a lot of errors. Sure I can get .smali code from the java class files and edit and recompile those but smali code isn't great to work with...
Anyway you guys have done an amazing job with Blockly and before that App Inventor as that was a Google project too right? Blockly is a Google project right? As I can't seem to work out if it is or isn't...
Thanks.