Skip to main content

标  题: Re: 谁能推荐个好的编程语言?

Make a Donation
FatWallet Coupons and Deals发信人: wdong (cybra), 信区: Programming
标  题: Re: 谁能推荐个好的编程语言?
发信站: BBS 未名空间站 (Wed Jun  1 09:36:35 2016, 美东)

rust不可能跟C++叫板的,不值得投时间在那上面。
第一,拼语言的时代已经过去了,现在拼的是生态系统。
第二,现在的C++不是10年前的C++了,世界对C++的需要也不是10年前那样了。
我没仔细研究过rust,只是看了眼wikipedia。
Rust强调的memory safety其实已经是个伪需求了。
我的经验是现在用C++写程序用到指针越来越少了,而且有valgrind这些
调试工具可以发现内存错误。已经N年没碰到过没法debug的指针问题了。
而且现在面向龌龊世界的服务器程序都是java/node/python这些,
C++一般只在可控的内部环境用,各种需求又基本都有很强壮的轮子,
所以memory safety并没有以前那么严重了。
其实就真有那么一个不得了的critical system要写,我觉得正常的
CTO也不会拍板用rust这么个小语言写的。

除了java, javascript, python, C++以外我不推荐别的语言。
比较好的组合是java+javascript, python + javascript + C++。
(写app我不懂,不在考虑范围内。)我写算法多,所以离不来
C++,其实就应用而言,后面那个组合C++权重最低,学起来又
最麻烦,其实都应该从推荐列表中去掉。

说兴趣,其实最好是选一个感兴趣的应用,然后找轮子搭系统,
然后iterate把它做精致。

我坐井观天,希望专家指正。

【 在 stdio (stdio) 的大作中提到: 】
: 能干和干得好是两个不同的概念
: 单从兴趣出发的话,可以看看rust,这个可是跟c++直接叫板的。
: wdong对rust是什么看法?有希望吗?

Comments

Popular posts from this blog

CKA Simulator Kubernetes 1.22

  https://killer.sh Pre Setup Once you've gained access to your terminal it might be wise to spend ~1 minute to setup your environment. You could set these: alias k = kubectl                         # will already be pre-configured export do = "--dry-run=client -o yaml"     # k get pod x $do export now = "--force --grace-period 0"   # k delete pod x $now Vim To make vim use 2 spaces for a tab edit ~/.vimrc to contain: set tabstop=2 set expandtab set shiftwidth=2 More setup suggestions are in the tips section .     Question 1 | Contexts Task weight: 1%   You have access to multiple clusters from your main terminal through kubectl contexts. Write all those context names into /opt/course/1/contexts . Next write a command to display the current context into /opt/course/1/context_default_kubectl.sh , the command should use kubectl . Finally write a second command doing the same thing into ...

OWASP Top 10 Threats and Mitigations Exam - Single Select

Last updated 4 Aug 11 Course Title: OWASP Top 10 Threats and Mitigation Exam Questions - Single Select 1) Which of the following consequences is most likely to occur due to an injection attack? Spoofing Cross-site request forgery Denial of service   Correct Insecure direct object references 2) Your application is created using a language that does not support a clear distinction between code and data. Which vulnerability is most likely to occur in your application? Injection   Correct Insecure direct object references Failure to restrict URL access Insufficient transport layer protection 3) Which of the following scenarios is most likely to cause an injection attack? Unvalidated input is embedded in an instruction stream.   Correct Unvalidated input can be distinguished from valid instructions. A Web application does not validate a client’s access to a resource. A Web action performs an operation on behalf of the user without checkin...