I still hate C++ for being absolutely terrible about FFI. >I want to use a class for its intended purpose of messaging between two C++ applications. >Well that's simple just copy the source file and header for the message format into both applications or suffer I hate converting classes into C just because Bjarne couldn't be bothered to make FFI work for C++. It would be so nice just to reference a shared library for both instances.
>>106164714 >Suffering promotes morality Well Bjarne must have been pain pilled and suffer maxing, because he collectivised it to everyone that made the mistake of using C++.
>>106164653 >pretty please define a concept(AddTable) typename blah blah blah require(this that blah blah) { actual code } template AddTable blah blah blah blah words words words You wrote a hundred characters to do the job of 3. C++ is just COBOL for retarded millenials.
>>106164788 If your solution is to use some shitty C macro for everything, go neck yourself.
Anonymous
8/6/2025, 7:42:46 PM No.106164851
>>106164526 technically it works but it's better to pass by value unless if it's a large object that is too expensive to copy
Anonymous
8/6/2025, 7:43:03 PM No.106164855
>>106164526 maybe, if you have a T that is bigger than a pointer and/or you want to avoid making a copy.
Anonymous
8/6/2025, 7:43:44 PM No.106164859
>>106164757 Ranjeet, when you're just about done with wishing you were White, you'll realize that Whites will also debate which language is Whiter, okay? >also I (still) meant what I meant.
>>106164788 Except C++ uses far less characters than the C solution, which would have Addi, Addui, Addl, Addul, Addf, ... Etc. to cover all the different types
Anonymous
8/6/2025, 7:48:50 PM No.106164916
>>106164859 You are the one that brought up trannies for some reason. Project more wishing you were a woman.