[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]

/gentoo/ - Technology

Install gentoo.

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
Password (For file and post deletion.)

Allowed file types: jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 1 per post.


File: 1411067992260.jpg (278.72 KB, 950x800, 19:16, 1388450692620.jpg)

 No.2

Now that we have abandoned the shithole /g/ had become, will we still say C is the only language we will ever need or can we let that poser thing die already?

 No.5

But C IS the only language you'll ever need. Only a complete and utter fool would think otherwise.

 No.6

>>5
Goddamit /gentoo/, get it together.

Java is actually quite good.

 No.8

>>6
>Java
>Good

HA

 No.11

See you faggots are repeating /g/'s past mistakes.

oh wait that was probably the joke

 No.13

>>6
>no multiple inheritance
>forced to used interfaces as workaround
I'll take C++ or C# for quick projects. Thank you very much.

 No.16

>>6
I can't wait for the automatic GPU acceleration to come. It's gonna be awesome.

 No.33

>>2

C is still a great language but it does have its limitations. When writing native code though for most programs it's still the way to go however.

 No.36

C is the mothertongue!

It's not a perfect language, but if you make clean C, you make good C.

It's as good as it's coder.

Go on the other hand, forces people to make better code, I like it but it's not universal like C is.

 No.38

No. C is fast, runs everywhere, and is callable from all other programming languages. Java a shit.

That undefined behavior doe.

 No.39

>>33
What limitations.. ?

 No.41

>>2
C is an abomination. Truly a fractal of bad design. Anyone who advocates C has most definitely never programmed in a single other language.
The only truly great general-purpose language is scheme (lisp is a good second). This is undeniable fact. C is only useful for embedded programming and only because nobody has tried to replace it yet. If you use C anywhere else, you are cancer and the reason why software sucks these days.

 No.43

>>41
C is a fractal of bad design? Never tried Scheme, but I like lisp, but really? Other than the strings and arrays, I've never had issue with it, and those are for speed anyways.

 No.46

>>41

C is only an abomination if you're retarded/sloppy.

It can be done nicely, just have standards.

 No.122

>>41
There's one way to do things and that's my way and every other way is stupid

C does what it fucking does, and it's stupid simple. You need it and only it for certain tasks, like system's engineering. It hasn't been replaced, it won't ever be replaced, and you can shut your whore mouth about it and get over it.

No one's asking you to write a website framework with C or parse log files with C. It's suited to certain tasks.

It's the programmer that makes their tools great. Some tools are easier to use well than others, and some have functionality that isn't recommend. You stick a shit coder behind scheme and he'll write shit. You stick a brilliant programmer behind Shockwave Flash and he'll make you something fucking brilliant.

And with C, you will never be limited by performance and it compiled directly to machine code, which is a virtue not all languages possess. It still produces some of the highest performance binaries, given a good engineer. For that alone, it has its purposes.

 No.129

>>122
>No one's asking you to write a website framework with C or parse log files with C. It's suited to certain tasks.
Never heard old /g/ saying that before. I am OP and I never said C was bad, just that "C for everything" was a retarded /g/ belief.

 No.148

>>13

C++ good. Multiple inheritance is a bad idea though.

 No.173

>>6
> Java
> Good

HAHAHAHAHAHAHAHAHAHA

I'd rather suck Microsoft's dick with C# than code in Java. It's a much better language and still runs on a pseudo-vm that runs everywhere.

 No.192

Honestly, it all depends on what your using it for. I dont use C in the lab for retrieving data or doing fits (python is best for this imo), but I will code large simulations in C/C++

 No.194

File: 1411327344175.jpg (45.63 KB, 180x224, 45:56, bjarne.jpg)

Correct me if I'm wrong, but I believe a person can not call oneself a professional programmer, if said person is not qualified in at least 5 languages.

C is an absolute must, but it's not the only language you should learn.

 No.195

>>194

Your a programmer if you can learn a new language just by learning the syntax and differentiating between OOP, POP, etc

 No.211

I use javascript

 No.213

Rust, man. Rust is like C, but with actual thought given to it in terms of futureproofing.

Its standard library is completely separable from the language, it doesn't need any runtime, it's impossible to introduce memory and type-related errors (outside of asm!()), it has BANGIN' metaprogramming support, a package manager and module system that makes sense… It just has so many good things going for it.

And it can grow to adapt to any environment you put it in. Systems-level code? Sure, throw C straight out the Window, rust all the way. Making an application? Rust can act like C++, just "extern crate" a graphics library and get coding. Web app? iOS / Android app? You better motherfucking believe that Rust has you covered there.

Prove to me that Rust won't be the only language worth knowing in 50 years.

 No.215

>>213

I'm waiting for them to stabilize the language before I bother learning Rust. Don't want to have to reimplement everything I write every 2 months

 No.217

>>215
The breaking changes in the language are minimal, now.

That's mainly a thing for the standard library, and those will be marked as deprecated for a LONG time (thus provoking compiler warnings).

 No.219

I firmly believe that C is worth learning.That said, it's definitely not the best language or the only language you need.

 No.223

>>217

Well, I'll definitely look into it then.

I was programming in Python/C++ for a long time, but I'm looking to replace those with Go/Rust. Go has been amazing thus far. It's pretty fast to prototype in, and to get decent performance, there's often very little optimization you need to do. There isn't as big an ecosystem out there for it (at least compared to Python), but I think within the next couple years, there'll be a boom in Go.

 No.224

>>213
Only if you do that for go.

 No.264

Am I the only one here who still vaguely hopes for D (DLang) to catch on?

 No.279

>>264
Last I heard D's GC was a joke.

I'd like muh formal correctness to become more of a thing.

 No.286

I love how simple C is.
C is a nice clean small language which does what I tells it to.

I also enjoy Python though but I prefer it for prototyping.

For implementing things I prefer using C to C++ because C++ is a pain to write compared to C.

I know objects are nice to have when making games but structs with function pointers is a great replacement.

 No.427

>>6
Java is like Alzheimer's. It starts slow, but before you know it, you've lost all your memory.

 No.428

>>148
>a language crippled with features and without the slightest sense of consistency is good
>code reuse is a bad idea
literally you

>>13
C# fixed many mistakes in Java, but it doesn't stop being a Java ripoff and a patent minefield to serve the interests of Microsoft.

>>41
You know how much you and Stallman are Scheme/Lisp cocksuckers, and I kinda agree with both of you because Scheme has some sort of simplistic beauty. But to say C is an abomination and a fractal of bad design is an overstatement. You have clearly never seen C++ or PHP. Stallman agrees that C is linguistically good enough, and let's be honest, C is unbeatable for systems programming and efficient code. You can keep dreaming of Lisp machines

 No.430

>>6
Java is the only language I know, for now

 No.470

>>286
>structs with function pointers
thereby slowly reimplementing vtables

 No.471

Get this through your think skulls:

LIFE IS TOO SHORT TO CODE IN C

There are places where it still shines (like microcontrollers), but other than that, time to throw it out and relegate it to history.

 No.472

>>471
s/think/thick/

 No.506

>>471
I'm loving the growing trend of support for C FFI. It's nice to use a high-level language like Lisp, and be able to use C for parts that require more control and performance.

 No.508

>>471
C is life c is love.

 No.509

>>39
(Disclaimer: C++03/11 & Ada shill here)
Program complexity. After the first 10k's of lines, you have to write longer and longer stretches of non-reusable code to even modify existing features(just think of changing a data stucture used in a core module), and no amount of macro's or function pointers will cancel the problem.
It's not that you can't do it, it's that it gets out of hand like asm code does. And thus the OO and generic programming approaches emerged.
>but muh linux kernel is in ansi C
A major part of the linux kernel is device drivers; that is in fact one-time code.
>but muh k&r and unix and smug uni professors
C was developed to build a minimal OS on a f'ing PDP11 whose specs are comparable to the f'ing arduino now, and it was perfect for the job.
Low level languages like C and C++ face chronical problems with modern computer architecture features like multiple processors, asynchronous accesses and SIMD instructions.(Don;t even get me started about Java, threads are broken and JVM stack machine, just JVM stack machine)

For example I'm doing embedded control work in plain C and I'm hardly missing any C++ feature.
But wrapping muh object model around a foreign library with its own generational GC, I first wrote it in C to make it work and then refactored it in a hairball of templates so I could skip copy-pasting and fixing the copy-paste bugs entirely, making the source size a quarter what it was and enabling a future code monkey to extend the base classes without crashing on every step, all while keeping performance since the compiler can inline and fusemerge anything it pleases on the resulting machine code.

'''A language name should not be your fetish and no framework overcomes its shortcomings because you believe in it.
Find the right tool for the job and disregard what the 'cool kids' tell you to use.'''
You're a nerd, you should know anyway.

 No.510

>>173
>suck Microsoft's dick
>runs everywhere.
enjoy your cognitive dissonance m8

 No.511

>>173
>Implying c# or java are good

 No.512

I'd say that C has it's place. While it may be my favorite language, I can see the need for others to make things easier or more automatic, such as bash. However, there are several languages that have no place in the world other than to make a company money, or to torture human beings.

 No.554

>>2
>Now that we have abandoned the shithole /g/ had become, will we still say C is the only language we will ever need or can we let that poser thing die already?

But OP, C is god-tier. That said, nearly all of the executables I've written are in either Python or sh

 No.635

>>512
I'm a big fan of C hooked up to bourne shell. Maybe you have something that existing tools can just about do but not quite, then to finish the job you write a C program and glue it into a bash script.

Nowadays there's less and less need for that though. The only things that really need to be written in C/C++/higher level languages are GUI/TUI programs.



Delete Post [ ]
[]
[Return][Go to top][Catalog]
[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]