Skip to main content

标  题: Re: python这中垃圾语言流行还是因为半路出家的人太多

Make a Donation
FatWallet Coupons and Deals发信人: wdong (cybra), 信区: Programming
标  题: Re: python这中垃圾语言流行还是因为半路出家的人太多
发信站: BBS 未名空间站 (Sun Apr 17 23:11:04 2016, 美东)

python本身没有多线程,但是C/C++写的模块内部可以有多线程。
这个我这两天正在写一个东西正好用到了。python不支持多线程
这个本事让接口简化了很多,有弊也有利。

对于我来说,把一个C++功能expose给那批写python的容易了很多。
我还是主要写C++,python本来也不是我的主战场。写python那批
本来就不怎么在乎性能,有后台多线程就已经是大改进了。

基本上就是劣币驱逐良币。但是在IT页,劣币驱逐了良币后还没完,
而是会有一批人来改进这个劣币,直到劣币在功能/性能上完全超越
良币。Linux, mysql就是两个很好的列子。

【 在 taar (taar) 的大作中提到: 】
: 哈哈。太可笑了?
: 什么是算法?
: 多线程都是伪的一个语言,跟我谈算法

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