[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Can you even make anything practical with C and C++? What's
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 35
Thread images: 4
File: BjarneStroustrup.jpg (41 KB, 432x324) Image search: [Google]
BjarneStroustrup.jpg
41 KB, 432x324
Can you even make anything practical with C and C++? What's the coolest program you've made with those languages?
>>
>Can you make anything practical

Uhhh just about every major project
>>
>>54422528

Examples of modern uses?
>>
>>54422516
The only relevent languages in manufacturing industry
>>
>>54422516
C++ is about the most practical language i know. Last month I wrote a ray tracer and a path tracer in it, which was pretty fucking cool.
>>
Can C++ make hair grow back?
>>
>>54422537
whatever the fuck youre writing your stupid fucking twit brained post from, unless its android is almost top to bottom C/C++ (android is only 50%)
>>
File: 1453653438419.gif (147 KB, 850x613) Image search: [Google]
1453653438419.gif
147 KB, 850x613
>>54422516
CHIP-8 emulator with games written in my interpretation of its assembly
>>
>>54422582
I'd assume that it's possible to develop biological research projects using C++, so yes, C++ can make hair grow back.
>>
>>54422516
You could do almost literally anything with it if you have enough time and CPU cycles.
>>
im writing a shitty platformer game
>>
>>54422570
He said modern

So, was that ray tracer born from the browser, hackable, and user experienced oriented?
>>
>>54422684
What are you on about?
>>
>>54422516
I'm writing a 2D CUDA physics engine.
>>
>>54422516
Every major operating you've ever heard of and/or are using right now, every driver, every embedded firmware on the network cards, graphics cards and router you're using right now, every single system library and almost every single high-level language interpreter including Python, Lua, Ruby, Perl.

*Takes a breath*

Your web browser, the web browser engine, the graphics libraries used to render the web page, the HTTP, TLS & network libraries used to communicate with the internet, the internet routers your traffic is passing through, the firewalls, switches & routers in 4chan, the web server & the PHP interpreter that's rendering the content. The database. The filesystem.

Basically everything you're using to shitpost right now.
>>
>>54422537

Your operating system, your web browser, 99% of AAA videogames, probably most of the software on your PC.
>>
Javascript crowd everyone.
>>
>>54422779
>Every major operating you've ever heard of and/or are using right now, every driver, every embedded firmware on the network cards, graphics cards and router you're using right now, every single system library
>what is assembly
there are even video games written exclusively in it so I imagine there's also a fair share of drivers, etc.
>>
>>54422779
>*Takes a breath*
*unsheathes katana*
>>
Rootkit for personal use/diagnostics. Also NIC driver and a driver for my mouse. IRC bot, keylogger for personal use, ssh kind of program, shutdown scheduler derp. Eh.
>>
>>54424011
>>>54422779
>>*Takes a breath*
>*unsheathes katana*
*unzips dick*
>>
>>54423999
The vast majority of your operating system and drivers are not written in assembly. In fact most sensible developers go out of their way to avoid it.

Some of your firmware might be written in assembly, but that's becoming rare.

If by video games you mean the like of Roller Coaster Tycoon then sure, but that was nearly 30 years ago.
>>
>>54422582
Nothing can. Sorry kiddo.
>>
>>54422779
I don't use any of that.
>>
>>54422516
>Can you even make anything practical with C and C++?

I think that's what they used to write Visual Basic.
>>
>>54424050
>If by video games you mean the like of Roller Coaster Tycoon then sure, but that was nearly 30 years ago.
I heard all NES/SNES games were written in assembly
>>
Which to learn first?

C or C++?
>>
>>54422516
nice shoes tho
>>
>>54424654
C
>>>54412898
>>
>>54424654
ASM
>>
Vic 20 emulator
>>
File: 1455031518631.jpg (105 KB, 603x324) Image search: [Google]
1455031518631.jpg
105 KB, 603x324
>>54422516
>>
I use it to build huffman trees and other graphs, not sure which other langs make it feel so natural (what with pointers)
>>
>>54422956
but not my meme editors familiy
>atom
wew
>>
File: 1441462870160.jpg (12 KB, 186x201) Image search: [Google]
1441462870160.jpg
12 KB, 186x201
The languages themselves don't do a whole lot of modern by themselves. In order to get any real power out of the languages, you have to get a system framework, toolkit, or SDK and use that on top of the language.
Thread replies: 35
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.