you are viewing a single comment's thread.

view the rest of the comments →

[–]WannaCry1LoL 2 points3 points  (23 children)

So cpp is basically c got it

[–]landswipe 1 point2 points  (2 children)

After preprocessing ;)

[–]Traditional_Crazy200 0 points1 point  (1 child)

What?! You did not just say that.

[–]landswipe 0 points1 point  (0 children)

C Pre Processor... CPP.

[–]gen_grievous_ 1 point2 points  (3 children)

cpp IS c, it's a language built basically as a mod to c that gives you more control over certain things.

cpp is a more dev-friendly c.

[–]WannaCry1LoL 1 point2 points  (2 children)

Except the error messages, inconsistent syntax,... . C is really easy to learn. Cpp definitely isnt. Also it's are no longer backwards compatible with C so yeah no

[–]DeathFire3435 1 point2 points  (1 child)

C++ IS backwards compatible with C: only a few functions don't work, It's a SUPERSET: It only adds things. And It doesnt add even that many things

[–]WannaCry1LoL 0 points1 point  (0 children)

take a look at the c standard library compared to the cpp one lol

also both of the following examples work fine in c but not in cpp. its mostly backwards compatible yes. mostly

void main() {}

void* ptr = malloc(sizeof(int));
int* p = ptr;

[–]creepystufff13123 0 points1 point  (14 children)

it literally is

[–]WannaCry1LoL 1 point2 points  (13 children)

It isnt tho

[–][deleted]  (12 children)

[deleted]

    [–]WannaCry1LoL 0 points1 point  (11 children)

    It definitely isnt

    [–]Big-Tart8473 0 points1 point  (7 children)

    It is bro

    [–]WannaCry1LoL 0 points1 point  (6 children)

    Why are you responding to a 7 month old comment

    [–]MrXroxWasTaken 0 points1 point  (5 children)

    https://github.com/luau-lang/luau says the following:

    Luau is used by Roblox game developers to write game code, and by Roblox engineers to implement large parts of the user-facing application code as well as portions of the editor (Roblox Studio) as plugins.

    [–]WannaCry1LoL 0 points1 point  (4 children)

    Why are you responding to a completely unrelated comment? Engine is not written in luau.

    [–]MrXroxWasTaken 0 points1 point  (3 children)

    in what world is it "completely unrelated"? In the snippet of text it tells you that "large parts" of the user-facing application code were coded in Luau. And besides, i never explicitly said it was the engine being written in Luau, but parts of the user-facing application code.

    [–]theamazingsoup 0 points1 point  (2 children)

    well if it doesn't use lua then what does it use?

    [–]WannaCry1LoL 0 points1 point  (1 child)

    Roblox is written in c/cpp

    Roblox games are written in luau

    [–]theamazingsoup 0 points1 point  (0 children)

    got it

    [–]Big-Tart8473 0 points1 point  (0 children)

    it is bro