A r e y o u r e a d y t o h a v e s o m e f u n ?
-
@maxmustermann @thephd @uecker the creators of cmake were just trying to replace build.bat
what i’m wondering is what the qt devs were smoking when they went with cmake and didn’t start questioning their choices about 4000 lines in
those 90k lines are a fraction of their cmake macros too -
@maxmustermann @thephd @uecker the creators of cmake were just trying to replace build.bat
what i’m wondering is what the qt devs were smoking when they went with cmake and didn’t start questioning their choices about 4000 lines in
those 90k lines are a fraction of their cmake macros too@thephd @maxmustermann @uecker there’s a lot of code working around the fact that cmake doesn’t have a list type (that’s right in true batch file fashion it only has ;-separated strings) -
@thephd @maxmustermann @uecker there’s a lot of code working around the fact that cmake doesn’t have a list type (that’s right in true batch file fashion it only has ;-separated strings)@thephd @maxmustermann @uecker how this ended up on systems that aren’t windows is a complete mystery to me
-
@mia The unpleasant experiences I had are not with projects doing run-time code generation by running a program during the build, but were all related to other random build complexities.
-
@maxmustermann @thephd @uecker it doesn’t help that nothing it does is documented anywhere so if you want to replace it with something that doesn’t put peolpe in straitjackets, you will have to read all that
-
@thephd i'm trying my best to understand what is going on here, and what i think is happening is that you have made lua into a compiled language hosted(??) in c. is that correct?
@shitpostalotl C++, not C. God forbid C having this kind of power.
-
@thephd Wait, is there some update on
std::embedin the standard library that I missed or is it still not a thing?@NekkoDroid just trying to finish it off, yeah.
-
@NekkoDroid just trying to finish it off, yeah.
@NekkoDroid (It's not in C++ yet, this is a personal branch.)
-
A r e y o u r e a d y t o h a v e s o m e f u n ?
:3
@thephd every day we come closer to https://web.archive.org/web/20220501154514/https://www.reddit.com/r/cpp/comments/jee26l/should_c_just_standardize_an_interpreted_step_for/ and i'm glad for it -
Ultimately, this means we can process files -- recursively -- at compile-time, meaning that rather than embedded shaders with
#includes that can't be touched, we can process those includes and make true single blobs without extra build steps.compile-time python with imports is VERY possible.
@thephd just need some expression templates and you got yourself a quick'n'dirty code generator too
-
@shitpostalotl C++, not C. God forbid C having this kind of power.
@thephd i definitely don't understand c++ to know which c++-exclusive features you're using to make this happen that can't be used in c. this is basically wizard techniques to me. question though: since lua is being compiled, does this mean that it could have compile-time errors for things that would have only shown up while running the program previously?
-
@thephd i definitely don't understand c++ to know which c++-exclusive features you're using to make this happen that can't be used in c. this is basically wizard techniques to me. question though: since lua is being compiled, does this mean that it could have compile-time errors for things that would have only shown up while running the program previously?
@shitpostalotl yes, you can turn all of those errors into compile-time C++ errors. (I have not done this yet, just implemented gluing the two files together at C++-compile-time.)
-
@shitpostalotl yes, you can turn all of those errors into compile-time C++ errors. (I have not done this yet, just implemented gluing the two files together at C++-compile-time.)
-
R relay@relay.infosec.exchange shared this topic