I've mostly worked with languages that use imports, like TypeScript, Java, Python, and PHP, so learning how C handles separate compilation and linking was really refreshing! 😸
And congratulations on your first Necoz article! I love seeing members inspire each other to write new articles! 💚
Full-stack software engineer with 8+ years of experience in Python, JavaScript, TypeScript, APIs, and PostgreSQL. Passionate about building reliable software and connecting with fellow developers.
Really enjoyed this explanation! It's refreshing to see someone explain why C works this way rather than simply telling beginners to use header files and move on.
The distinction between compilation and linking is one of those fundamentals that becomes much more valuable as projects grow.
It also makes me wonder what you think about unity builds, where developers intentionally combine multiple source files to improve compilation performance. At what point do the benefits outweigh the drawbacks of separate compilation?
And writing this entire article on your phone during a bus commute? That's impressive. I can barely write a decent commit message on mine. 😂
Looking forward to more articles like this!
Thank you so much for the feedback! 😊 When I build an ESP-IDF project, the first compilation is very slow. But subsequent compilations are much faster. I think separate compilation is better during development, since we often update a few files and rebuild? 🤔
Everybody's noob on mobile. Particularly on my mobile. Because it only has 4GB RAM. Apps automatically get cleared so there is no multitasking :( If I am writing an article and want to Google something, and I come back to write the article, the entire browser reloads 💀
I tried everything I know to fix this but no wayyy :(
Also, your post wasn't the inspiration. YOU were the inspiration (yeah, the post was also inspiration, but you were the first inspiration because the post came after I got inspired :))
I've mostly worked with languages that use imports, like TypeScript, Java, Python, and PHP, so learning how C handles separate compilation and linking was really refreshing! 😸
And congratulations on your first Necoz article! I love seeing members inspire each other to write new articles! 💚
🙀 Glad you learned something from me :)
Really enjoyed this explanation! It's refreshing to see someone explain why C works this way rather than simply telling beginners to use header files and move on.
The distinction between compilation and linking is one of those fundamentals that becomes much more valuable as projects grow.
It also makes me wonder what you think about unity builds, where developers intentionally combine multiple source files to improve compilation performance. At what point do the benefits outweigh the drawbacks of separate compilation?
And writing this entire article on your phone during a bus commute? That's impressive. I can barely write a decent commit message on mine. 😂
Looking forward to more articles like this!
Thank you so much for the feedback! 😊 When I build an ESP-IDF project, the first compilation is very slow. But subsequent compilations are much faster. I think separate compilation is better during development, since we often update a few files and rebuild? 🤔
I'm quite noob in mobile too.
Everybody's noob on mobile. Particularly on my mobile. Because it only has 4GB RAM. Apps automatically get cleared so there is no multitasking :( If I am writing an article and want to Google something, and I come back to write the article, the entire browser reloads 💀
I tried everything I know to fix this but no wayyy :(
Absolutely awesome! You nailed a topic that many beginners struggle with. 🔥
Also, I'm really thankful to you for considering my post an inspiration! 😊
Hehe thanks! 🙂
Absolutely!
Also, your post wasn't the inspiration. YOU were the inspiration (yeah, the post was also inspiration, but you were the first inspiration because the post came after I got inspired :))
trailing return types in cpp
while loop and for loop are not the same in C/C++
That means a lot to me man! Thank you 🧡
Thanks! 🙂
I was waiting for this!
Thanks! I remember you telling me :)
Why @xulingfeng why? 😢
I'll write the next article for The Third Cup...