今天C有多重要? [英] how relevant is C today?

查看:61
本文介绍了今天C有多重要?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于编程中我的新手,我一直以为C ++被b ++取代并且今天不再使用了。我知道现在的情况并非如此,但我仍然好奇今天在编程中使用了多少C

,以及它的目的是什么供应。它是用于实际的应用程序编程,还是用于扩展Python的更多内容?是否有新手以任何理由学习C?

解决方案

John Salerno写道:

因为我的'编程中的'新手',我一直认为C
被C ++取代,今天不再使用了。我知道现在的情况并非如此,但我仍然很好奇今天在编程中使用了多少C,以及它的用途。它是用于实际的应用程序编程,还是更多用于扩展Python?对于新手来说,出于任何原因学习C会有帮助吗?




我的印象是C ++没有设法取代C,并且它不是

用于新项目;当然,有大量的现有的

C ++代码。


我认为John Ousterhout的系统编程与
$ b的区别毕竟,b脚本语言并不是那么糟糕。 C用于系统编程,并且不会替换为可预见的

未来:操作系统,编程语言,Web服务器,数据库

服务器等OTOH,应用程序编程用Java,Python完成,
C#,Ruby,... C ++用于系统编程和应用程序。

至于*学习*语言:如果没有

特定诱因,就不要学习语言。如果您知道将来在

中编写Python

扩展,Apache模块或Linux内核模块,请立即开始学习C.如果你不知道你想用它做什么,那么学习它可能是浪费时间,因为你不知道该看什么如果你没有特定的项目

的话。


问候,

马丁


嗨John

由于编程中我的新手,我一直以为C
被替换为C ++并没有在今天真正使用过。我知道现在的情况并非如此,但我仍然很好奇今天在编程中使用了多少C,以及它的用途。


今天在业界使用的各种功能之间存在着各种各样的混合,那就是o.k.如果它

就行了。你可以在C ++环境中编写普通的C,

将一些C ++特性与你原来的C和

混合起来 - 如你所愿。

你不可能比较当今的C / C ++'工业用途与Python'

软件生产 - 没有匹配。


最近580多人的调查(O''Reilly)提出了以下建议:
http://www.onlamp.com/pub/a/onlamp/2...ts.html?page=2


骰子 (找到技术工作)有产品

(过去7天,美国+不受限制):

* SQL 14,322

C / C ++ 11,968

Java 10,143

...

Perl 3,332

PHP 730

Fortran 119

Ruby 108

open * gl 66


这就是行业寻找。

您了解比率吗?

...它是用于实际的应用程序编程,还是更多用于像




它几乎用于所有内容,来自

- Python语言编程本身,

- 编写Perl语言本身,

- 编写PHP语言和其他语言,



- 正如你所说的那样完整的应用程序。


* *不知何故''罗嗦''(尤其是C),但

不要低估它的价值手中的力量

的主人;-)


有大量的高度

功能库几乎

一切也好。


问候,


M.


> 骰子 (查找技术工作)有产品

(最近7天,美国+不受限制):
* SQL 14,322
C / C ++ 11,968
Java 10,143 ...
Perl 3,332
PHP 730
* Python * 503
Fortran 119
Ruby 108
open * gl 66




有谁能说清楚Java的秘密?他们如何在这个名单上如此之高?


Because of my ''novice-ness'' in programming, I had always thought that C
was replaced by C++ and wasn''t really used anymore today. I know that''s
not the case at all now, but I''m still curious how much C is used
anymore in programming today, and what purpose it serves. Is it used for
actual application programming, or is its use more for something like
extending Python? Would it help for a newbie to learn C for any reason?

解决方案

John Salerno wrote:

Because of my ''novice-ness'' in programming, I had always thought that C
was replaced by C++ and wasn''t really used anymore today. I know that''s
not the case at all now, but I''m still curious how much C is used
anymore in programming today, and what purpose it serves. Is it used for
actual application programming, or is its use more for something like
extending Python? Would it help for a newbie to learn C for any reason?



My impression is that C++ hasn''t managed to replace C, and that it isn''t
used that much for new projects; of course, there is tons of existing
C++ code.

I think John Ousterhout''s distinction of System programming vs.
Scripting languages isn''t that bad, after all. C is used heavily
for System programming, and will not be replaced there for a foreseeable
future: operating systems, programming languages, web servers, database
servers, etc. OTOH, application programming is done in Java, Python,
C#, Ruby, ... C++ is used both for system programming and applications.

As for *learning* the languages: never learn a language without a
specific inducement. If you know you are going to write a Python
extension, an Apache module, or a Linux kernel module in the
near future, start learning C today. If you don''t know what you
want to use it for, learning it might be a waste of time, as
you won''t know what to look for if you don''t have a specific project
in mind.

Regards,
Martin


Hi John

Because of my ''novice-ness'' in programming, I had always thought that C
was replaced by C++ and wasn''t really used anymore today. I know that''s
not the case at all now, but I''m still curious how much C is used
anymore in programming today, and what purpose it serves.
There is a whole spectrum of ''mixing'' between features of
C ans C++ used today in the industry and thats o.k. if it
just works. You cal write plain C in a C++ environment,
mix some C++ features to your otherwise plain C and
so on - as you like.

You can''t compare C/C++''industrial use w/Python''s in todays
Software production - there is no match.

A recent 580+ people survey (O''Reilly) brought up the following:
http://www.onlamp.com/pub/a/onlamp/2...ts.html?page=2

"The Dice" (find tech jobs) has offerings
(last 7 days, U.S. + unrestricted) for:
*SQL 14,322
C/C++ 11,968
Java 10,143
...
Perl 3,332
PHP 730
*Python* 503
Fortran 119
Ruby 108
open*gl 66

That is what the industry looks for.
You understand the ratios?
... Is it used for
actual application programming, or is its use more for something like
extending Python? Would it help for a newbie to learn C for any reason?



It is used for almost everything, from
- Programming the Python Language itself,
- Programming the Perl Language itself,
- Programming the PHP language and others,
to
- complete Applications, as you said.

It *is* somehow ''wordy'' (especially C), but
don''t underestimate its power in the hands
of a master ;-)

There is a huge amount of highly
functional libraries for almost
everything too.

Regards,

M.


> "The Dice" (find tech jobs) has offerings

(last 7 days, U.S. + unrestricted) for:
*SQL 14,322
C/C++ 11,968
Java 10,143
...
Perl 3,332
PHP 730
*Python* 503
Fortran 119
Ruby 108
open*gl 66



Can anyone shed some light on the secret of Java? How is it that they
are so high on this list?


这篇关于今天C有多重要?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆