You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working with clang and msvc which seem to both differ in their implementation of cpp20/23. Do you plan on implementing modules? a reasonable hypothesis would be if someone could do this to C99, it would alleviate compatibility issues by reducing the compilation process differences between platforms with little to no performance loss, and greater understanding and control of mapping the operations. Do you have any plans for this, or am I missing something feature-wise? I can help if needed on your roadmap.
The text was updated successfully, but these errors were encountered:
Hi @ar-visions! Sorry I let this slip through my notifications. I haven't tested this approach with C++ modules, though it would be very interesting to see if it can be made to work.
Just a word of caution:
alleviate compatibility issues by reducing the compilation process differences between platforms
I mostly created this project on a bet that writing a C++ to C transpiler would be an extremely involved process. At the time, I was using inline assembly a lot for another project, so I had the idea to utilize that to "transpile" a C++ program by first actually compiling it and then including that assembly in a stub C program. As you can see, the core of C++-- is a 66-line Python file, and the core of that is simply a call to g++. So this project produces extremely unportable C code.
I am currently working with clang and msvc which seem to both differ in their implementation of cpp20/23. Do you plan on implementing modules? a reasonable hypothesis would be if someone could do this to C99, it would alleviate compatibility issues by reducing the compilation process differences between platforms with little to no performance loss, and greater understanding and control of mapping the operations. Do you have any plans for this, or am I missing something feature-wise? I can help if needed on your roadmap.
The text was updated successfully, but these errors were encountered: