Why the fuck all of you fags don't program in C more often? Why many of you hate so bad the C lang? It is because is so hard to understand memory in general pointers,mem layout ?
I first hated to program in C in the first case, one time I sweared to myself I will never touch the C lang but when I taked a second spin, slowly incrementing the process of learning I succeeded and slowly appreciated more the language
I think it's quite a nifty tool to know these days when you need that extra control + performance.
Also learning to build the algo you are tought and understand more about the internals of other high level languages (e.g python,c#,php,javascript)
>>54319916
All the fun libraries are in c++ and they never export c API.
Also preprocessor macros suck. Lisp is much better.
i prefer this
>>54319972
>> Also preprocessor macro suck.
Very good argument but also in c you have "INLINE FUNCTIONS" so stop bitching about preprocesor things because if you don't understand them enough dosen't mean they suck.
I don't hate C, I just love other languages more.
Nothin' personnel, kid.
>>54319916
It's not bad, just too barebones compared to more modern languages. I just don't think reimplementing <data structure> or <algorithm> for the millionth time is productive use of my time, especially if the premade solution in Java/Python/whatever is fast enough for my needs.
4chan is 18+
Why haven't jew moved on to Rust yet
>>54319916
I use Rust. It's competitive with C in terms of performance (see BenchmarksGame comparison), but far safer, and it can interface with C pretty transparently. You can be a lot more expressive without introducing much or any overhead.
>>54319916
and waste my time on data structures? hahaha, I don't want to lose my sanity.
main(){
puts("hello world");
}
haw goot amI?
>>54319916
Ancient C dinosaur here. It's just not nessecary anymore unless you're doing code that needs to go extremely fast. It's unsafe as fuck, and pointers will fuck you in the ass.
>>54321594
Pajeet level
>>54319916
I program in C for my semester project since I'm writing a runtime library for my compiler.
At home I use Haskell and C for fun. But at work it's C#.
>>54319916
It's old. And there is better stuff out there.
any idea how to avoid system("mycall") to print shit into the terminal?
>>54322397
exelp, execv , search this functions and also fork() before using this functions.
>>54319916
If I'm not making something that will max out a processor I'll do it in C#. The extra performance doesn't matter when shit gets done in less than a second anyways.
>>54322397
>Bash "programmer" writes a C program
I hope to fuck you don't mean system("echo shit");.
>>54323753
more shiet.out | ./a.out
>>54321594
Shouldn't you useint main()? Or does the C compiler just assume a return type of int?
>>54319995
>>XE6
>>Not jumping on the 10.1 Berlin hype.
>C
>Segmentation fault (core dumped)
>Extra hours/days/weeks of GNU Debugger