Unsolved Just-in-Time Compiler for C++ using Qt.
-
Hi, I was wondering if it is possible to set up some J-i-T compiler for C++ using Qt. I saw how it works in VS coding with C# and it impressed me, it seems it speeding up work significantly. I would be thankful if someone could explain this subject to me.
-
@domngo said in Just-in-Time Compiler for C++ using Qt.:
, it seems it speeding up work significantly
In which way? Where do you think you need a jit? For what exactly?
-
@domngo
Don't forget that coding with, say, C# lends itself to JiT compiling, which C++ does not. They are very different languages, with different target environments! -
For example, when you write 50 lines of code in one shot, and there is somewhere an compiling error, you will find out when you compile this right. I saw that guy was writing code and because of JiT, VS shown all errors straight, before he even tried to compile. I have just realised that there is something like this, dont really sure how it works thats why Im asking you guys.
-
@domngo said in Just-in-Time Compiler for C++ using Qt.:
some J-i-T compiler for C++
do you have any example of actual compiler like that?
-
This has nothing to do with jit nor with the language. It's a feature of the used IDE and QtCreator can do the same.
-
@Christian-Ehrlicher actually thats all I want, could you tell me how to set up this in QtCreator?
-
Simply use the IDE and all is fine.
-
@domngo said in Just-in-Time Compiler for C++ using Qt.:
could you tell me how to set up this in QtCreator?
As @Christian-Ehrlicher said, the feature is enabled by default in recent versions of Qt Creator. See here for details: https://doc.qt.io/qtcreator/creator-checking-code-syntax.html