SwuduSusuwu / SubStack

Stages blog posts, has C++ sources which match posts. Blog is about antivirus + autonomous tools + human nervous tissues
https://SwuduSusuwu.substack.com/
Apache License 2.0
1 stars 0 forks source link

Finish `cxx/ClassObject.hxx`, use this to assist future `Java` ports from `C++` #10

Open SwuduSusuwu opened 5 months ago

SwuduSusuwu commented 5 months ago

https://github.com/SwuduSusuwu/SubStack/blob/trunk/cxx/ClassObject.hxx

SwuduSusuwu commented 5 months ago

Is some slowdown to use inheritance+polymorphism with all classes, https://stackoverflow.com/questions/8824587/what-is-the-purpose-of-the-final-keyword-in-c11-for-functions/78680754#78680754 shows howto use final to fix this

SwuduSusuwu commented 4 months ago

Just C++ has programmable operators, C/Java both have programmable functions (C allows manual virtual tables, Java comes with virtual tables), thus can use this for https://github.com/SwuduSusuwu/SubStack/issues/3

SwuduSusuwu commented 4 days ago

This is somewhat of a subset of https://github.com/SwuduSusuwu/SubStack/issues/18 (support more tools)