luau-lang / luau

A fast, small, safe, gradually typed embeddable scripting language derived from Lua
https://luau.org
MIT License
4.06k stars 383 forks source link

Allow running of C+ code in Luau using FFI #1536

Closed jbobson683 closed 2 hours ago

jbobson683 commented 4 hours ago

As the Luau world continues to expand, I request that Luau add support for running C+ code via the Foreign Function Interface. C+ is a revolutionary programming language which bridges the gap between C's raw power and the humble simplicity of beginner friendly syntax. Allowing Luau to execute C+ code would elevate both languages and demonstrate Luau's commitment to inclusivity and compatibility with emerging paradigms.

#include <speak>
#include <bolean>

Cpluse main() {
    prin "Hello werld from Luau!";
    return tru;
}

For more information, visit the C+ wikipedia.

On a more personal note, this feature request is my "make a wish". I am dying of cancer and supporting C+ in Luau would bring a smile to my face to ensure my legacy lives on. Please make this a dream of reality, or at least let me laugh a bit before the heavens take me.

Thank you for considering this request.

aatxe commented 2 hours ago

Troll issues are not welcome here.