Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nowadays I consider Go as a better C, except for those scenarios where C is being used as a portable assembler.

Other than that, I spend my time with other languages.

Rob said something interesting at the end, it appears they are leaving the language to the community and stepping out.



    > Rob said something interesting at the end, it appears 
    > they are leaving the language to the community and 
    > stepping out.
He said nothing to imply that at all.


At 54:51 in response to the generics question, "I said we are going to leave the language, we are done".


He means "we are going to leave the language [alone], we are done [changing it]." There is no expectation that the community will change the language instead.


Thanks for clarification.


What else does one use C for? Applications that are too latency-sensitive for garbage collection maybe, but Go doesn't help there.


Lots of apps are better with C, not just with regards to latency sensitivity (e.g games).

E.g an app that would process a multimedia file offline (so latency is of no concern) still runs circles around most other languages if its done i C or C++.

And of course 90% or something of desktop apps are written in C/C++.

People act as all those apps, which is what we use everyday, don't exist: browsers, editors, media players, terminals, OSes, mailers, etc etc. Even web apps use those as their substrate.


AIUI the main reason for using C for multimedia processing is to have inline assembler to make the best use of SIMD; aside from that it's certainly possible to write a video transcoder in Haskell (I've seen it done, for ARM where there didn't used to be such powerful SIMD options available).


Which is not even part of the C language standard.

Any compiler for any language can have SIMD support, it is just a matter of the compiler writers bothering to provide such support.

And if the language does not support it, I don't see why developers are so afraid of touching a Macro Assembler.


Object Pascal, Ada, Modula-2,...


Sure, I don't disagree with those (and Fortran, Obj-C, up to Rust someday).

Just wanted to highlight that most desktop programs people use by the millions are in fact written in C/C++ (statistically) -- and it's not all about GC, web programming and services.


Sadly for too many user space applications that are better served with safer languages, having native compilers available, that tend to be ignored by many.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: