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

>download library off git >spend the next day trying to

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 64
Thread images: 5

File: C-4-562x309-OPx[1].png (9KB, 1224x618px) Image search: [Google]
C-4-562x309-OPx[1].png
9KB, 1224x618px
>download library off git
>spend the next day trying to figure out how to add it to my project and get it to compile
some shit I really hate about c++
>>
File: 1489754943613.jpg (56KB, 583x435px) Image search: [Google]
1489754943613.jpg
56KB, 583x435px
>>61164299
>C++
Is this 1995?

You should be using Python 3 and installing libraries with pip instead.

Hell, even Node.js with npm would be a better choice.
>>
>>61164384
>tfw trying to game dev
suffering
>>
>>61164384

>node.JS

You probably never heard of: the right tool for the right job.

Just cuz google made a engine to allow webdevs to do some back end coding doesn't mean you should use it as a primary programming language.
>>
>>61164414
>the right tool for the right job
C++ is NEVER the right tool, anon.
>>
>>61164441

I have the tingling sensation you hate it , cuz you don't understand it/know how to use it.
>>
>>61164441
Brainlet detected.
>>
>>61164414
Yet even Netflix uses Node.js & Express
>>
>>61164299
>being this terrible at C++
Just stick with java pajeet
>>
>>61164384
>You should be using Python 3 and installing libraries with pip instead.
what if you have less than a week to run your program?
>>
>>61165697
A web backend is not the same as a game engine anon.
Whatever database they use is very likely written in either C++ or Java.

>>61165719
pypy
>>
Adding libraries is easy. If you have some libwhatever.so (or .dll, .a, .dylib, whatever...), you just add -lwhatever to your linker flags. If you're using CMake, you add it to your target_link_libraries.
>>
>>61165260
And I have the tingling sensation you love it because you do not know any other programming language or simply refuse to acknowledge there are better ones.

Rust is a prime example of a language better and just as fast than C++, if you aim for a low level programming.
>>
install library with your package manager, easy.
>>
>>61164414
>node.js
>google

confused_nigger.jpg
>>
File: Untitled.png (38KB, 781x257px) Image search: [Google]
Untitled.png
38KB, 781x257px
>>61165968
>What is V8
>>
>>61164299
>be java developer
>need some dependency
>copy string from mvnrepository.com and paste into pom.xml
>click green arrow in IDE
>external dependencies are downloaded from internet, compiled, and packaged automatically.

I'm sorry you're stuck using primitive 80's technology OP.
>>
>>61165697
Here's a list of shit written in PHP:
- Facebook
- Wikipedia
- Wordpress
- Tumblr

And yet, no matter how many people write their shit in PHP or how smart they are, PHP always has and always will be a shit choice.

Same thing goes for writing your backend in JavaScript. Netflix has enough money to let their engineers make shit choices. You probably don't.

>>61165999
>node and V8 are the same thing bro
>safari and webkit are the same thing bro
>ubuntu and the linux kernel are the same thing bro
>etc.
>>
>>61166043
>maven

I'm sorry you're stuck using primitive 00's technology anon.
>>
>>61166045
I guess you're right. Node and V8 are totally unrelated.
>>
>>61166055
Haha. Fair enough. At least it's not Ant scripts, or (shudder) manually copying .jar's into a lib folder.
>>
>>61166057
Why are you being thick?

Here, let me quote you* from a few hours ago:
>google made a engine to allow webdevs to do some back end coding

Google wrote V8 for their fucking browser. It was never intended to be used for anything else.

Ryan Dahl, who as far as I can tell was never a Google employee and probably worked for Joyent at the time, had the brilliant idea of bringing callback hell to the backend. He used V8 as a JS engine because back in 2009 all the other ones were absolute shit.

Best as I can tell, Google has had zero or close to zero involvement in node's development.

* might not actually be you
>>
>>61164299
>make
>g++ -llibrary ...

omfg so hard. idiot.
>>
File: 1479463006332.jpg (195KB, 690x388px) Image search: [Google]
1479463006332.jpg
195KB, 690x388px
>>61166205
May God have mercy on our soul and save us from GNUtards.
>>
>>61166246

>clang++ -llibrary
So fucking hard.
>>
>>61166276
You're just as retarded as the other guy. Here are the build instructions for V8, since we're discussing it in this thread:
https://github.com/v8/v8/wiki/Getting%20Started%20with%20Embedding

Silly me, how could I possibly think make and -llibrary might not solve all of our problems?
>>
>>61165726
>pypy
marginal improvement

only shit like Java can be a reasonable alternative to C++
>>
>>61166580
>marginal improvement
Depends on what you're doing.
If you're only getting marginal improvements then there's not much to optimize in the first place.

Any form of number crunching or data transformation will easily be reduced to less than 1/10 of the time.
Python running on pypy is on par with other garbage collected jitted languages.
>>
>>61166331
dumbass
>>
>>61166684
What a convincing argument! How will I ever respond?
>>
>>61166580
Go use Jython if you insist on sucking HotSpot's dick.
>>
>>61164299
Install the library from your package manager, just works every time
>>
>>61166768
I guess Windows stopped existing at some point?
>>
File: coding_on_windows.jpg (61KB, 800x800px) Image search: [Google]
coding_on_windows.jpg
61KB, 800x800px
>>61166785
>software development
>windows
>>
>>61166785
>>61166834
https://blogs.msdn.microsoft.com/vcblog/2016/09/19/vcpkg-a-tool-to-acquire-and-build-c-open-source-libraries-on-windows/
https://github.com/Microsoft/vcpkg
>>
>>61164299
Using libraries is usually pretty easy. Getting a build system set up so that other people can build your shit with them though is pretty much impossible unless you know somebody that's a make/cmake master.
>>
>>61166662
>Python running on pypy is on par with other garbage collected jitted languages.
That's bullshit m8.
>>
>>61164299
I forgot how much of a pain in the ass was building something from source
>>
>>61164299
someone on stackoverflow once old me its intentionally that way so idiots wont use their libraries

people who program c++ are worse than c++ itself
>>
>>61164414
>google made a engine to allow webdevs to do some back end coding
you're a moron
>>
>>61166043
this
>>
>>61164299
Dont try writing c++ software on windows. On Linux you just install the library from your package manager and if you are for example using Netbeans, you can see a list of all libraries you have on your computer and you can just select the library you installed and it will work.
No managing of single/multithreaded static/dynamic library bullshits.
Even if you are not using Netbeans, it's just as easy with any other development environment.

C++ is really only meant for unix-like environments.
>>
>>61168718
Also in the rare cases that the library you want to use only exists on a git repo, you just download it and do
make
make install
and you have the library installed on your system
>>
>>61165916
python is a shit language, and has shit performance
>>
>>61166662
>Python running on pypy is on par with other garbage collected jitted languages.
>>61166730
>Go use Jython if you insist on sucking HotSpot's dick.
>JITlets, when will they ever learn
>>
>>61165697
We mostly use Java and Spring.
>>
>>61168718
>C++ is really only meant for unix-like environments
I guess you think Windows is written in assembly and MSVC is a Pascal compiler.
>>
>>61164414
read up bitch nigga
>>
>>61169232
Have you ever written c++ programs that uses external libraries on an unix-like system and windows? you can obviously see that windows just doesn't work for C++ development.
>>
>>61168744
>talking about Rust
>"hurr durr Python is shit"
Do you have brain damage?
>>
>>61169330
I've always compiled my libraries from source, on every system.
You guys might not agree, but I think relying on your distro to supply libraries is sloppy and irresponsible unless you're writing one-off tools or some other shit that doesn't have to be portable.
Windows works just fine for C++, at least for libraries with maintainers that give a fuck about Windows. Since the only reason I use C++ these days is gamedev, this works out pretty well.
>>
>>61169330
yes, its 2 click in project settings (if we talk about MVS)
>>
>>61166785
Don't you have OneGet now?
>>
>>61169723
Sure, but only the C# guys use it.
>>
>>61169802
What about Chocolatey? It's not C# and it runs on OneGet.
How do you update your software otherwise?
>>
>>61164299
Haha, try building Slicer on Windows to learn the TRUE hell.
>>
>>61164299
>off git
You need to leave.
>>
>>61170006
To give you an hour idea,
>requires cmake, and it absolutely abuses it
>won't even generate the project out of the box, you have to edit cmakelists for your machine
>requires a third-party script to build specific paleolithic version of QT
>requires strawberry perl to support SSL but I could never make it working
>even when you fixed everything odds are it won't generate the project, because it thinks all resulting paths should be less than 40 characters long(had to remove that retarded check)
>requires specific VS version, otherwise the included paleolithic version of Python won't build
>downloads tons of shit during the build
>requires git AND svn installed, git shouldn't have command line tools installed, but svn shouldn't
>has many mysterious projects not included in the solution, one of them generates an installer
>generated installer doesn't have all the necessary dependencies, yet the one from their site does
I quickly bailed out of the project, the suspicion that I'll have to manually edit qt designer generated files to translate this piece of shit got too strong.
>>
>>61170196
Jesus save us all.
>>
>>61170196
why is this allowed
>>
>>61170669
Open Sores™
>>
Use MSYS you dick ticklers
>>
>>61171848
100% pure, undiluted cancer. Go Win32 or go kill yourself.
>>
>>61164441
Brainlet
Thread posts: 64
Thread images: 5


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.