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-16 21:04

>>42
I'm just saying that string handling isn't as complicated as you want to make it look like in C. And just adding more complexity doesn't necessarily fix real (==security, stability, etc) problems. What does fix most of C's string memory issues are the strn_() functions and things like snprintf() and %.*s.
Also,
Pascal-style length-prefixed strings
doesn't fix shit. When people can mishandle/abuse string terminators, they can also mishandle/abuse length-prefixing.

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