- Security with Go
- John Daniel Leon
- 220字
- 2021-06-30 19:06:40
Why not use Python?
Python is a popular language in the security field. This is most likely because of its ubiquity, short learning curve, and plethora of libraries. There are already several useful tools for security written in Python, namely Scapy for packet capturing, Scrapy for web scraping, Immunity for debugging, Beautiful Soup for parsing HTML, and Volatility for memory forensics. Many vendors and service providers also provide API examples in Python.
Python is easy to learn, and there are plenty of resources. Go is also easy to write and has a gentle learning curve. The learning curve and the ease of programming is not a major differentiating factor between Go and Python in my opinion. This biggest distinction, and where Python falls short, is performance. Python cannot compete with Go in terms of performance. Part of it is the interpreted nature of Python, but a larger factor is the global interpreter lock or GIL. The GIL prevents the interpreter from using more than one CPU worth of processing power, even with multiple threads executing. There are some ways to get around this, such as using multiprocessing, but this has its own drawbacks and limitations, as it actually forks a new process. Other options are using Jython (Python on Java) or IronPython (Python on .NET), and these have no GIL.
- 實用運籌學(xué):案例、方法及應(yīng)用
- 卓越的課件如何做(數(shù)學(xué)篇)
- 感官的盛宴:數(shù)學(xué)之眼看藝術(shù)(萬物皆數(shù)學(xué))
- Blockchain for Business 2019
- Foundations of Blockchain
- 圖解博弈論
- 一定要懂博弈論
- 張梅玲:讓孩子受益一生的數(shù)學(xué)思維訓(xùn)練
- 粗糙集的論域擴展理論及在專家系統(tǒng)中的應(yīng)用
- 走近費曼叢書:費曼講物理:相對論
- 隨機數(shù)學(xué)及其應(yīng)用
- 趣味魔方:一學(xué)就會的魔方秘笈
- Hands-On IoT Solutions with Blockchain
- 迷人的數(shù)學(xué)(全2冊)
- 神機妙算:一本關(guān)于算法的閑書