Relative Content

Tag Archive for generic-programming

Are generic programming and OOP mutually exclusive?

I never did generic programming before, being more of a python guy, and generally using OOP. As I moved into generic programming, I faced some issues. I read the FAQ, but I am not satisfied. What I want to ask are the following questions (I am mostly interested in the first, but answering the others will be extremely welcome):

Formal definition of “concepts / type system” for parametric types – Where to start?

I would be interested in formally defining (and consequently demonstrating) a “type system” for, well, a type system. More specifically, I would like to explore the idea of what C++ calls concepts for my bachelor’s thesis. How would one go about defining such system (formally) ? It’s basically a meta-language for generic programming I suppose, but all the material I’ve found so far is basically bound to syntax of a specific programming language.

Formal definition of “concepts / type system” for parametric types – Where to start?

I would be interested in formally defining (and consequently demonstrating) a “type system” for, well, a type system. More specifically, I would like to explore the idea of what C++ calls concepts for my bachelor’s thesis. How would one go about defining such system (formally) ? It’s basically a meta-language for generic programming I suppose, but all the material I’ve found so far is basically bound to syntax of a specific programming language.

Using macros to implement a generic vector (dynamic array) in C. Is this a good idea?

So far I have only done personal projects at home. I hope to get involved in some open source project some time next year. The languages I that have been using the most are C and C++. I have used both languages for over a year and I feel like I have become quite proficient with both of them, but I really don’t know which one I like better.

Using macros to implement a generic vector (dynamic array) in C. Is this a good idea?

So far I have only done personal projects at home. I hope to get involved in some open source project some time next year. The languages I that have been using the most are C and C++. I have used both languages for over a year and I feel like I have become quite proficient with both of them, but I really don’t know which one I like better.

Using macros to implement a generic vector (dynamic array) in C. Is this a good idea?

So far I have only done personal projects at home. I hope to get involved in some open source project some time next year. The languages I that have been using the most are C and C++. I have used both languages for over a year and I feel like I have become quite proficient with both of them, but I really don’t know which one I like better.

Using macros to implement a generic vector (dynamic array) in C. Is this a good idea?

So far I have only done personal projects at home. I hope to get involved in some open source project some time next year. The languages I that have been using the most are C and C++. I have used both languages for over a year and I feel like I have become quite proficient with both of them, but I really don’t know which one I like better.