Why the hell would anyone use Python or Ruby over C. The software should be nice to use. It's not nice when the program is slow as fuck.
Their dynamic nature makes debugging software increasingly hard. Basically developing with these higher level languages takes more time than with C.
Every program should be written in C. In most cases, it would be good to also optimize tight loops with Assembly. This way programs would be fast and fun to use.
Languages such as C# and Java have no point at all. They are essentially crippled versions of C. Limited pointers and limited memory management. The virtual machine takes forever to JIT-optimize the code, thus harming the user experience. Not to mention GC, which slows everything down, providing nothing useful in return. GC is shit.
Then there are these C++-retards. Sure, you can in theory make as fast C++-code as C-code, but is it really worth it? Every C++ program in practice is slower, harder to debug, and harder to develop.
Functional languages, such as Haskell are no answer to problem. They abstract the hardware to hell and are very slow in practice.
So tell me: Why is C and Assembly not used for every program today?
does anyone still do systems programming in Fortran outside of legacy systems?
Name:
Anonymous2016-05-24 8:18
>>82 Lots of institutions use ancient code because it's not worth replacing. It's the same reason Facebook still uses PHP. Who's going to pay to rewrite 10^9 SLOC just because it's in a ``wrong'' language.
Name:
Anonymous2016-05-24 8:51
>>83 that's what I meant by 'legacy systems'. my question is: is anyone writing new stuff in Fortran as opposed to maintaining old Fortran shit?
Name:
Anonymous2016-05-24 12:16
>>84 Yes, HPC, because of mathematical codebases and advanced compiler tech for numeric problems.
Name:
Anonymous2016-05-25 1:05
>>84 It's actually really fast for math stuff. Intel maintains an optimized Fortran toolchain just for that.
Name:
Anonymous2016-05-25 4:03
The whole Fortran issue really points out why there are high level languages. C is such a steaming pile of shit that the compilers can't optimize it. It can't know that something somewhere won't mutate memory, and so to stay completely in-spec and hope not to introduce weird bugs in edge cases, it can't perform optimization transforms (especially vectorization) as fully as a language like Fortran.
C has always been a shitty hack. It's a steaming turd that everybody worships because they're supposed to. These pro-C absolute fuckheads don't even realize that this shit is constrained to be slow, except for shitty little microbenchmarks that fall in line with C's limited purview.
Name:
Anonymous2016-05-25 5:19
>>87 Show an alternative to C that could replace it, so that it couldn't be laughed off by Linus Torvalds.
Name:
Anonymous2016-05-25 6:20
>>85 >>86 makes sense. when I think 'math' I also think 'functional' but purfuncs are pretty slow so I wouldn't use them for anything performance-critical.
Name:
Anonymous2016-05-25 9:05
The C language is a high level language you fucking imbecile... Use assembly code for everything, including WEB PAGES
Name:
Anonymous2016-05-26 0:33
>>88 Linux Torvalds has a one track mind and laughs off anything not C, so fuck him and fuck you.
>>98 They will take as much memory as they're designed for. C kernels go through pains to not allocate memory, or to ensure there's enough preallocated buffer space to handle expected conditions. The same would be true as necessary for any other language.