Transforming C to C++

New video on using the latest version of DeepEnds.

Transforming C to C++

by Zeb Mason

About the video:

Performs a clustering analysis on a C call graph then manipulates it within Visual Studio to prototype a class.

Add a Comment

You must sign in or register to add a comment.

Comments (1)

0 0

sunilkumar.prog said on Jun 23, 2020 09:53 PM:

Is the STACK necessary for implementing programming languages like C++?
If the stack is eliminated, programmers will benefit from a single concept of 'memory'. Function calls could be implemented, say, using pointers between the callee and the caller. Stack is an unnecessary remnant from old procedural era. I agree the current hardware architectures are also designed around stack. Architecture modifications may be required for 'local variables'.

Advantages of stack-less implementations are 1. depth of recursion limited only by total memory. Programs which expect more depth of recursion can be designed to ensure less memory consumption, say in other logic flow paths. 2. Hardware architecture will become less complicated. 3. Multiple 'main's or entry points in the same program can be specified, which could even be conditionally selected. 4. Multiple exit points even from the same function can be defined, which can be used to implement complicated logic. i.e. multithreading will become more natural. 5. Assembly language programming will get simpler.