whats up /g/what the best programming language to do EVERYTHING in?i want to cover as many bases as possible with just a single programming languagei'm thinking C++ is the answer
Clearly the answer is V.
>Goy++Botnet. Use binary
>>101206990can you do embedded with V?
>>101206960>C++Yes.This clusterfuck of a language will survive the fallout.You can do everything in it and it beats every other language in terms of performance, comfy syntax(yes I said that, fuck off) and features ...
>>101207011what makes c++ better than say python or rust in your opinion
>>101207031Python is a horrid script language with batshit stupid syntax (empty space indentation based scopes ...), it is slower than C64 trying to run Crysis 7, idiots throughout the world are using it for high performance computing such as artificial intelligence.Rust is an impractical but mostly security oriented language with dumb and over engineered syntax.It takes 10x longer for a seasoned rust troon to achieve similar results compared to a mediocre C++ dev.
>>101207031>pythonno trolling of the board pls
>>101206960For EVERYTHING? Brainfuck.
>>101206960that's a man.
>>101207241Don't care, would.
>>101206960To cover all the bases, assembly.If you want a higher level language, then C.if you want a higher level language still, then C++If you want a higher level language still, then C#If you want a higher level language still, then PythonIf you want a higher level language still, then just ask ChatGPT to write your code for you.
>>101206960C
>>101207177You don’t know what you’re talking about. God damn it Nobody is using python for AI, all the heavy workloads are done with CUDA, and the CPU numerical computations with C. Python is just a glue language
>>101206960C or Javac++ is trash, python is trash, js is trash
>>101206960Theres no perfect language, only tradeoffs
>>101207321What's the tradeoff?
>>101206960>>101207241>>101207375ladyboy (web browser)
>>101207369Speed of development vs speed of execution SIMD being faster but being extremely limited in what you can do Memory safety vs speed (of development or execution) Features vs tooling / community There are more (complexity, package management, UI libraries, cross platform development) There is not one single language that maxes out all sliders. There are only trade offs
>>101207481how would you rank your favorite languages on those scales?
c++ will take you from an arduino to the highest end supercomputer. Its a fine choice.
>>101207510>Speed of executionC++>Speed of developmentPython + Qt>Overall middle of the road between speed of development and execution, type and memory safety, complexity, featuresC# + F#But my choices are also shaped by my requirements. I have to program in C++ and Python, so that's all there is to it. The whole company management system is in C#. I don't have a choice. It's what I do.The only language that was a personal choice was F#, and only because it plays nicely with C#.Again, tradeoffs. Sometimes the tradeoff isn't even "what's best for X" but "what's best among the things I'm allowed to use"If I could, I would probably replace Python, C# and F# all together by Go. It's a pretty fast language that also runs decently fast and is memory safe, and type safe as well unlike Python.There's no real replacement for C++ except C or maybe Rust.
>>101207564Even replacing those languages by Go has its own tradeoffs.In this case, I would reduce complexity, but I would also be missing out on many features I take for granted.F# is amazing at making DSLs, so I would probably lose that feature.Python is great because of Qt, and Go sucks at making UIs, so that's also another thing I would lose.Suppose I were given the choice to make the jump, would I? Now that I think about it, I'm not that sure.
>>101207558Walking will take you from New York to California, doesn’t mean you shouldn’t fly there
>>101206960Ruby>performanceRuby with C extensions
>>101207615Idk if i would equate c++ to walking. Assembly, yeah, but not c++
>>101207177Python has one of the least bad syntax(es?) of all the mainstream languages, I have no idea how space-based scoping is still debated, it's such a non-issue. Bitch about it with YAML, not with a programming language with dense text that would be indented anyway.Rust has an ugly syntax indeed, but at least it isn't C++.
>>101206960Forth.
>>101206960not much
>>101207241ladyBOY
>>101206999trips of truth
>>101206960Doing everything in the same language is a retarded idea. Just learn whatever trending algol clone others use in the field you're interested in, you lose a weekend but gain years by not having to reinvent the wheel.anyway, interpreting it as a theoretical question: Nim
>>101207375story: she took hella drugs
>>101206960Everything? Python.
>>101207285This guy gets it, there is no one language that is the best at everything, each language is a tool with its use cases. You want to avoid carrying around only a hammer because then everything looks like a nail.
>>101206960HAXE translates to everything,so you can have the same codebase compiling to e.g nodejs/c++/python/C#>note, it is not entirely newfag friendly, but is is capable and strong enough
>>101206960what's the comfiest programming language?
>>101210209Honestly C.I love C++ a lot more but honestly C is more comfy.
>>101208024C++ is (very slightly) faster than C.
>>101210287I call BS. Source?>inb4 trust me bro
>>101210237>C comfyhello non coder
>>101206960I hate to say this but rust or zig
>>101207177Have you considered that you're retarded and don't know what you're talking about?
>>101210589>>101207816>>101207299>clueless zoomer logic
>>101206960name? she's so cute I want to impregnate heralso c++
>>101211218>wants to pay alimony from impregnating whores, is virginGrab the rope, NOW>C++good
>>101211262if alimony is the price I'll gladly pay it
>>101206960Object Pascal.
>>101211280Is this how desperate you guys are ?Fucking terrible development...Gimme your age for my autistic statistics:a. 16-18b. 19-24c. 26-32d. 33-36e. 37-48fuck. 49-99 (you're done)
Practically? C#>web>mobile>desktop>gamesLiterally? C++, because you can add>drivers>OS>sound/video processingand quite literally everything else, really.
>>101206960Unironically javascript. >Fast enough>Massive amount of (questionable) packages>Used in webshitting>Used in GUI shit>Used in backend shit>Some degenerates even use it for gaymen and ai shit.
>>101211404I want to eat your dog right now>javascriptSorry, i meant your transsexual cat
>>101210316Every trick available in C is also available in C++. C can't into inlining and metaprogramming (templates are pain to write, but they absolutely can tailor implementation to a specific call site).
>>101211404You can’t do embedded in JS