skeeto/skeeto.github.com

Feedback to language designers writing source-to-source compilers a.k.a. transpilers

Closed this issue · 6 comments

Hey Chris,

I hope you are doing well.

I love your content and I learn so much from you mate, I cannot thank you enough!

As the title of this issue says, I would like your feedback about those who transpile to C language, if possible.

Based on your own personal experience using C for years, what would be your advice to such language designers, what to avoid adding in their generated C code or how deep should they go with portability without getting bitten by C's peculiarities, such as well-hidden undefined behavior and such?

I'm looking forward for your answer.

Keep up the good work.

Regards,

Stefanos

For once again, you blew my mind 😆

Seriously mate, I wish I had a mentor like you; I would have mastered my craft years ago!

Well...if you think about it, if you continue writing these masterpieces of yours, you will become my mentor in an implicit way 🤔

I hope my old brain can understand the tricky parts, because no matter how much I love C++ (which has lost its track by the way), I always find myself back in C getting my hands dirty and feel the excitement I once had as a university student back in 2002.

If you ever decide to write a book about C, let me know.

Oh I forgot to ask! Jason Turner has this amazing concept https://github.com/lefticus/cpp_weekly/issues for his YouTube series.

Do you think you could benefit anything from this concept for your blogging?

Would it direct towards what your own audience wants to learn or is it something that could put extra burden on your shoulders?

I don't want you to feel pressed or something like that; I'm just suggesting, because I have learned so many C++ things from Jason I honestly did not know about and quite frankly I feel relieved that an expert, like Jason, feels quite frustrated with many things in C++.

I personally prefer to write C code, when given a chance. The problem is that C tends to migrate to C++ over time, due to peer pressure. You definitively can be productive with modern C++ (ideally C++17 or better).

I feel so relieved that two experts in their field (hey Daniel @lemire, good to see you here!) share the same concerns more or less as mine.

It's such a shame that C++ has become a massive...how to describe it in the most accurate way possible, like HomeDepot or any other massive DIY warehouse?

All I need to use is a screwdriver to do my job, that's all!

Update: So, when should we wait for the forum? I'm looking forward to learn so many things from great minds scattered out there in the unknown corners of internet.