News for hackers. Stuff that matters.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by jokoon on Monday May 10, 2021 @03:52AM (#27103693)
I remember adding TinyCC to my C++ projects, so I could have some kind of a scripting language into a large C++ project that is fastidious to build.

I a way I'd rather use C than lua. I wish I could easily integrate python as a scripting language, but python is slow and its runtime is heavy. TinyCC, however, is very light.

Re:Adding ANSI C11 C compiler to D so it can import and comp... by bondant on Monday May 10, 2021 @04:49AM (#27103972)
I agree with you. I like how easy it is to embed Lua into an application, but as a language I really prefer python. Sadly it is not as easy to integrate the python interpreter into a project.
Re:Adding ANSI C11 C compiler to D so it can import and comp... by bsder on Monday May 10, 2021 @06:25AM (#27104460)
Was there a problem with Micropython?
Re:Adding ANSI C11 C compiler to D so it can import and comp... by jokoon on Monday May 10, 2021 @09:02AM (#27105515)
Not sure if it's possible to easily integrate micropython into a C++ project, because micropython doesn't seem to be designed for this.