XoTT@6bI4 wrote: ↑Fri Apr 30, 2021 3:56 am
Much depends on the developer's qualifications.
This developer obviously knows C++ so I don't see what benefit it would get from e.g. C#, there's zero benefit in using C# for app like this, especially if you want to use it multiplatform, as while mono is cool, it still requires much more fiddling to get it to work on all three platforms than simple QT.
Furthermore, S3D uses OpenGL ( ANGLE supported subset of opengl:
https://chromium.googlesource.com/angle/angle ), again, I doubt that there's anything a C# would bring here...
XoTT@6bI4 wrote: ↑Fri Apr 30, 2021 3:56 am I very much doubt that the user will notice the difference if the program in C++ will run for 31 seconds, and in c# 34 seconds, but the development in c++ took 3 months, and in c# 2 months.
I do *a lot* of development in C, C++ and C# (used to do a lot of java too but Oracle killed it IMHO so not any more)... first the difference in speed is much higher and second the development speed is not in this case on the C# side. Not on the long shot. If we were talking about starting the code from scratch, maybe, but since everything relevant (from parsing input files, creating output files, parsing variables etc etc) is already created in C++.. what is the part you will do faster in C#? add menus?!? Manupulation of the 3D object is not something any of them have out of the box and here you already have super fast code that works that you would have to rewrite in new lang... so if anything any new lang would be longer to develop stuff, not shorter.
XoTT@6bI4 wrote: ↑Fri Apr 30, 2021 3:56 amin this case, S3D is written using QT. There, after each method is called, a check is called for the need to call the destructor, and there are many places very similar to C#/Java. I have big doubts that it works faster than C#/Java.
Everything is faster than java when gui is in question, mentioning java is just wrong in this context... as for C#, I use C# for every simple "forms" app I do as it is faster to get to the end point and not too much slower in execution (it is noticeably slower, especially if you are running it on a "not so fast computer"). Normally I'd use cbuilder for that (same time to get to the end, faster end result) but cbuilder is not free as is def. not portable... freepascal on the other hand is a potential solution (NETFABB used it for e.g. from the beginning, dunno if they still use it now after AutoDesk acquired them)
..
so, I don't see any "common misconceptions" there ... apart from your idea that "c++ gui app is not faster than java gui app"
gcodestat integrates with Simplify3D and allow you to
Calculate print time accurately (acceleration, max speed, junction deviation all taken into consideration)
Embed M117 codes into G-Code
Upload your G-Code directly to Octoprint
open source and unlicence