有谁喜欢Python,说说Python的好处?
版主: hci
-
forecasting楼主
- 著名点评

- 帖子互动: 363
- 帖子: 4437
- 注册时间: 2023年 4月 17日 08:26
-
forecasting楼主
- 著名点评

- 帖子互动: 363
- 帖子: 4437
- 注册时间: 2023年 4月 17日 08:26
-
Caravel
- 论坛元老

Caravel 的博客 - 帖子互动: 702
- 帖子: 27661
- 注册时间: 2022年 7月 24日 17:21
-
MaLaRabbit
- 论坛点评

- 帖子互动: 151
- 帖子: 2755
- 注册时间: 2022年 7月 24日 02:16
-
TheMatrix
- 论坛支柱

2024年度优秀版主
TheMatrix 的博客 - 帖子互动: 285
- 帖子: 13797
- 注册时间: 2022年 7月 26日 00:35
-
huangchong(净坛使者)
- 论坛元老

2023-24年度优秀版主 - 帖子互动: 4158
- 帖子: 61442
- 注册时间: 2022年 7月 22日 01:22
-
huangchong(净坛使者)
- 论坛元老

2023-24年度优秀版主 - 帖子互动: 4158
- 帖子: 61442
- 注册时间: 2022年 7月 22日 01:22
#11 Re: 有谁喜欢Python,说说Python的好处?
Python的矩阵非常简洁,其他语言需要双重循环的对各个元素操作的,Python一句搞定,比如 A[A>=threshold] = 1之类。
另外它的indexing很好玩,变幻无穷,有点考脑力。
另外它的indexing很好玩,变幻无穷,有点考脑力。
-
huangchong(净坛使者)
- 论坛元老

2023-24年度优秀版主 - 帖子互动: 4158
- 帖子: 61442
- 注册时间: 2022年 7月 22日 01:22
#12 Re: 有谁喜欢Python,说说Python的好处?
这是numpy吧。确实如果没有numpy的话,python用处会小很多。libaliu 写了: 2025年 4月 1日 21:10 Python的矩阵非常简洁,其他语言需要双重循环的对各个元素操作的,Python一句搞定,比如 A[A>=threshold] = 1之类。
另外它的indexing很好玩,变幻无穷,有点考脑力。
-
huangchong(净坛使者)
- 论坛元老

2023-24年度优秀版主 - 帖子互动: 4158
- 帖子: 61442
- 注册时间: 2022年 7月 22日 01:22
#14 Re: 有谁喜欢Python,说说Python的好处?
开发效率最高,加参方便, json,字典,对象转换灵活
唯一不好,只能单线程,真的并行得multiprocess,或者靠底层的库。本身不适合做高性能应用。
唯一不好,只能单线程,真的并行得multiprocess,或者靠底层的库。本身不适合做高性能应用。
#15 Re: 有谁喜欢Python,说说Python的好处?
Julia, 除了小众, 其他都是优点
工具机谈智商, 犹如妓女谈贞操, 哪壶不开提哪壶
呼叫鸡谈造谣, 犹如站街女谈卖淫, 那是行家里手
-
Jasonzhang2025(Jason)
- 正式会员

- 帖子互动: 2
- 帖子: 6
- 注册时间: 2024年 11月 13日 15:56
#16 Re: 有谁喜欢Python,说说Python的好处?
YouTube spent several years migrating their python to c++. Why: no good multi thread support, unpredictable performance, unmaintainable code, less infrastructure library support, etc.
On the other hand, machine learning has a small code base. Even the large model has very small number lines of code. All needed is fast numeric computation which is written in c++. So all the requirements for server development don't matter much. The only requirement is easy to change for fast iteration.
On the other hand, machine learning has a small code base. Even the large model has very small number lines of code. All needed is fast numeric computation which is written in c++. So all the requirements for server development don't matter much. The only requirement is easy to change for fast iteration.
x2
-
ɓuoɥɔɓuɐnɥ(poɓᴉuɯO pǝʇɹǝʌuI)
- 已冻结

- 帖子互动: 127
- 帖子: 1352
- 注册时间: 2024年 9月 27日 23:57
-
huangchong(净坛使者)
- 论坛元老

2023-24年度优秀版主 - 帖子互动: 4158
- 帖子: 61442
- 注册时间: 2022年 7月 22日 01:22


