00:00
00:00
Newgrounds Background Image Theme

Kurmudgen just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Is C ++ still used for web pages?

2,214 Views | 10 Replies
New Topic Respond to this Topic

Is C ++ still used for web pages?

And if it is not being used for web pages then what do you do with it actually?(I think this question has already been asked 1000 times here lol)

Response to Is C ++ still used for web pages? 2021-08-08 05:29:28


I'm pretty sure C++ is used for applications you download, like PC games and that.

Response to Is C ++ still used for web pages? 2021-08-09 19:03:56


I don't think C++ has ever been used for web pages. Most use Javascript and some websites are built solely on html. You might be confusing C++ with CSS which is used to style a web page.


BBS Signature

Response to Is C ++ still used for web pages? 2021-08-10 05:15:49


You can compile C++ into WebAssembly using something like Emscripten. I personally have been using it and it works rather well for what it is. Obviously WebAssembly would have better performance than JavaScript, being bytecode.


At 8/9/21 07:03 PM, FLARE145 wrote:I don't think C++ has ever been used for web pages. Most use Javascript and some websites are built solely on html. You might be confusing C++ with CSS which is used to style a web page.

Well back in the day there was CGI which could be used on the server side to deliver pages.


Nowadays people use either PHP, Java, or JS. There's also Python but it's in the minority.


Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp

"Sit look rub panda" - Alan Davies

BBS Signature

Response to Is C ++ still used for web pages? 2021-08-10 12:01:31


To port computer software to web then the answer is yes, Unity and Godot uses Web Assembly to port games to the browser and in my opinion Web Assembly has a very nice web performance for game dev, one example is Taisei Project made on SDL2


BBS Signature

At 8/7/21 08:05 PM, Omni-RHX wrote:I think this question has already been asked 1000 times here lol


Go read the other threads then. You can make websites with anything really. As long as you can make that code work together with a HTTP server or if it can act as a HTTP server by itself.


"Men in captivity need to feel like they have a purpose, or they die" - ShoeOnHead

BBS Signature

Response to Is C ++ still used for web pages? 2021-08-11 07:38:30


At 8/7/21 08:05 PM, Omni-RHX wrote:Is C ++ still used for web pages?
And if it is not being used for web pages then what do you do with it actually?(I think this question has already been asked 1000 times here lol)


C++ is low-level programming, so it's used for applications and software that you run locally on your computer.


It's compiled, unlike interpreted web languages such as HTML/Javascript - so you need a compiler to translate C++ code into a language that your computer can read

Response to Is C ++ still used for web pages? 2021-11-22 09:57:53


Web pages use boring languages like HTML. The only 2 instances of C++ being "used" is if a C++ program generates HTML source code, or a compiler like Emscripten turns C++ code into WebAssembly code, which browsers can use.


"If it ain't weird, can it be cool?"

Scientists continue debating on this question.

BBS Signature

Response to Is C ++ still used for web pages? 2021-11-26 03:48:12


before php, you'd use cgi to generate html content


to this day, cgi is still more powerful than php and more stable and performant for running servers.


unfortunately, it requires using c++. and that punishment isn't worth the benefit.


∀x (∃e (e ∈ x ∧ ∀x ¬(x ∈ e)) ∨ ∃y ¬∃e (e ∈ x ∧ ¬∃z (z ∈ y ∧ z ∈ e ∧ ∀x ¬((x ∈ y ∧ x ∈ e) ∧ ¬(x = z)))))


At 1/26/22 02:46 PM, GameTrek wrote:Javascript and Java is basically C, C++, ASM ffor the internet.

That is why all your handheld devices from 1995 have the ability to use
some form of Java, and thus because the majority of internet users are
single family working women people push for usage of HTML6 ( which in turn is Java etc ).

You can call an ASM or even C, C++ function. You could
call a simple hello world code, to an entire txt full of code execute. Like declaring
something and then using it later down the line.,

Java is to Javascript as a car is to a carpet. JS is the de facto language of the web and WASM is a good intermediate for other languages to compile to, but it is not going to dethrone Javascript in terms of general usage. And Java's days on the web were limited to Applets, and was more like Flash in that regard, and java applets got axed in the 2000s.


Java really only exists in the backend nowadays.


Slint approves of me! | "This is Newgrounds.com, not Disney.com" - WadeFulp

"Sit look rub panda" - Alan Davies

BBS Signature