ITT things that are only good if your time is worthless
C
>>54096715
How else am I going to write kernel modules for Linux?
4chan
>>54096715
Try to code close to the hardware using Failby for Gays.
Protip: You can't.
Video games
>>54096715
CCNA and A+ certs
>>54096790
You won
>>54096715
>ITT things that are only good if your time is worthless
Posting in this thread
>>54096767
>C is the only systems programming language ever created
>>54096767
>Failby for Gays
I can't figure out what this is supposed to be.
>>54096746
You don't write Kernel modules anyway.
>>54097236
But I do.
>>54096880
It's supposed to be ruby on rails.
No, it doesn't make any sense.
>>54096715
buttmad js ""dev"" detected
assembly (unless you're working directly with hardware)
we got idiots here bragging about knowing 6502 / x86 ASM while 6502 is so simple and x86 is sugar candied simplified ASM
zsh
haskell
writing C desktop applications that don't require performance (thanks for the memory leaks and vulnerabilities elitists)
Apache
man pages
>>54097342
>man pages
linux
>>54097359
read a 100 page book transformed to text so you can learn what a miniscule part of an application does.
>>54096715
C is a god tier language, why the fuck would it be a timesink ?
>>54097380
wut.
I think you're using it wrong.
>>54097392
Some people don't want to spend hours writing code/finding libraries to perform simple tasks
>>54097406
Funny, that's the exact reason why I use C over intricate and complex shit such as Java and C#, where I need to make AbstractFileReaderBuilderFactories just to read from file.
>>54096790
This so much
>>54097433Scanner in = new Scanner(new FileReader("filename.txt"));
>>54097448
And then you don't want to use a Scanner, but rather a BufferedFileReader or one of the other fifteen different ways of fucking reading a file in Java.
>>54097456
How is that relevant?
>>54097448
>not taking into account reading from:
>http
>https
>ftp
>mtp
>txt
what you meant wasfileReaderFactory = new FileReaderFactory("txt");
fileReader = fileReaderFactory.getNewFileReader("filename.txt");
Scanner in = new Scanner(fileReader);
although ideally you'd create a bean and use an application context like spring
>>54097483
>I/O in abstract high-level programming languages = complex, slow and takes a lot of development time
>I/O in C = fucking simple, very fast and takes a little development time
>>54097503
This would require 2000+ lines in C because you need to open web sockets.
In Java you just use some other 10 line implementation.
>>54097521
>This would require 2000+ lines in C because you need to open web sockets.
Except CURL exists so your full of shit.
>>54097518
I'm not sure how writing more lines equals faster development time.
That's not even the entire point. Once you've read the file in Java you have a massive amount of existing one line functions you can now call upon.
The fuck you got in C? You have to write them all yourself or try and find a library.
>>54097521
in C the paradigm is minimalism
in Java it's throw in the kitchen just in case we need. there's also a disturbing focus on over designing things.
sometimes what you need really is a small function and designing a whole just in case you might need it is ridiculous.
>>54097543
>I'm not sure how writing more lines equals faster development time.
You're not writing more lines, you're writing less.
>That's not even the entire point. Once you've read the file in Java you have a massive amount of existing one line functions you can now call upon.
>You have to write them all yourself or try and find a library.
Are you unaware that the C standard library exists?
The irony of Java is that it tries to handle I/O in an abstract way, but you still have to implement specialised implementations of those abstractions. It's just a complex mess.
In C, you can even just read portions of a binary file and load it right into memory. How can anything be simpler than that?
>>54097562
>in Java it's throw in the kitchen just in case we need. there's also a disturbing focus on over designing things.
Why does this matter? It's not like everything you're not using gets compiled into your code and slows down your application.
>>54097396
You should check out a few pages sometime if you think that
>>54097573
>but you still have to implement specialised implementations of those abstractions
When?
>>54097577
Development time matters.
Simplicity and code readability matters.
If you have to look up how a BufferedLineReader differs from a BufferedFileReader every fucking time you're going to do I/O, it's going to take a long time.
>>54096767
>Failby for Gays
Wouldn't Gaby on Fails be a better mutation?
>>54097582
Ever tried to serialise objects and send them over socket or use something like CORBA or Java RMI?
>>54097578
I use it regularly.
>>54097599
serialisation in java is a mess whichever way you slice it
>>54097583
Development time is reduced because you're writing less lines
Less lines is (usually) simpler code. Can't get much more simple than this >>54097448 adn even this >>54097503.
>If you have to look up how a BufferedLineReader differs from a BufferedFileReader every fucking time you're going to do I/O, it's going to take a long time.
Fortunately that's not necessary at all.
>>54097628
>Can't get much more simple than this >>54097448 adn even this >>54097503.
Except it canFILE* fp = fopen("filename.txt");
Now I can use scanf if I want, I can use fread, I can use some other stuff like getch etc... I don't need to instantiate a gazilleon different file handler objects just to mix those methods.
>>54097406
>>54096715
T. Someone who's never written a line of code for low level devices like microcontrollers
>>54097684
most of them support sepples nowadays except PIC (which is coincidentally the only one I've had to program for).
>>54097716
Anon most have shit support for C++
Try using C++ for an ARM, you wont be able to use some of the features and those that you will be able to, it would be a huge pain in the ass to deal with
I mainly write for TI MSPs and 8 bit AVRs at work. C works best, assembly for timing critical tasks (like precise wave generation, etc)
Nobody uses C++ in the embedded industry for low level purposes
>>54097680
This. And you can easily mix this with raw fds. Open a socket, wrap it to FILE, boom you've got buffered socks. No BullshitFactories required.
>>54096715
>ITT things that are only good if your time is worthless
>Going on 4chan
>Videogames
>Watching tv
>>54096747
>4chan
Underrated
>>54096790
Move over.
>>54097342
>zsh
Zsh is great if your time is worth something. Just grab the tab completion section of some autist's shithub dotfiles and go.
>inb4 fish
The new csh, and csh died for a reason. Complete incompatibility defeats the purpose of unix shell. Might as well specify a python REPL as your login shell.
>>54097878
Avr has had a C++ compiler for ages, Wtf are you talking about?
>>54097433
>I use C over intricate and complex shit such as Java and C#, where I need to make AbstractFileReaderBuilderFactories just to read from file.List<String> lines = Files.readAllLines(path, charset);
>>54098351
>List
Does C even have those?
>>54098586
I don't think so. you have to write your own or use a third party library
>>54097392
>C is a god tier language, why the fuck would it be a timesink ?
because of boilerplate memory management code and shitty support of things like strings and data structures in the language/standard library
>>54096715
vidya gaymes
>>54099463
It's a low level language anon, it's meant to be that way
>>54099540
I know and there's nothing wrong with it, but those thing make it a timesink compared with languages like Java or C#, when the program isn't 100% performance critical
>>54096715
There are tons of good libs?
It's much better than modern language like haskell, golang or rust at the moment.
>>54098351
>reading a file line by line is the only way to read file
See >>54097680
>>54098621
>>54098586
Who doesn't use sane libraries?
>>54099463
>>54099582
>it's a timesink because I'm a slow C programmer
>>54101145
>hey guys lets go on a marathon to rewrite shitloads of libraries and boilerplate code for a 0.00001% performance boost!
you gotta be 18 to post here
>>54097247
You write kernel modules because your time is worthless.