Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why are there high level languages?

Name: Anonymous 2013-09-10 3:46

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?

Name: Anonymous 2016-05-24 5:18

Go is the programming equivalent of a fedora.

Name: Anonymous 2016-05-24 6:35

>>80
systems programming (C, C++, Fortran
does anyone still do systems programming in Fortran outside of legacy systems?

Name: Anonymous 2016-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: Anonymous 2016-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: Anonymous 2016-05-24 12:16

>>84
Yes, HPC, because of mathematical codebases and advanced compiler tech for numeric problems.

Name: Anonymous 2016-05-25 1:05

>>84
It's actually really fast for math stuff. Intel maintains an optimized Fortran toolchain just for that.

Name: Anonymous 2016-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: Anonymous 2016-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: Anonymous 2016-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: Anonymous 2016-05-25 9:05

The C language is a high level language you fucking imbecile... Use assembly code for everything, including WEB PAGES

Name: Anonymous 2016-05-26 0:33

>>88
Linux Torvalds has a one track mind and laughs off anything not C, so fuck him and fuck you.

Name: Anonymous 2016-05-26 14:29

And What are you thinking about http://dlang.org/ ?

Name: Anonymous 2016-05-26 16:38

>>92
Pretty crap compared to Rust, but much better than C at least.

Name: Anonymous 2016-05-26 17:03

>>88
Lisp?

Name: Anonymous 2016-05-26 17:17

>>91
C is a low level high level language. That's why it's called the portable assembly.

>>94
Can you do systems programming in LISP? Like device drivers and OS kernels?

Name: Anonymous 2016-05-26 18:03

>>95
Yes

Name: Anonymous 2016-05-26 18:04

>>95
Can you do systems programming in LISP? Like device drivers and OS kernels?
Yes.

Name: Anonymous 2016-05-28 12:14

>>97
But they will consume 4-6 times more memory due to GC.

Name: Anonymous 2016-05-28 15:54

>>98
Check 'em

Name: Anonymous 2016-05-28 15:55

>>99
Check 'em!!!

Name: Anonymous 2016-05-28 19:13

Golang is a nice high level language

Name: Anonymous 2016-05-28 20:37

Golang is a nice high level language

Name: Anonymous 2016-05-30 5:05

>>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.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List