由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - golang 怎么把"image"库都放标准库里了?
相关主题
If using C++, please avoid the use of STL for these questio (转载)一个STL的问题
Help C++ Template function link error .两个看来相似的问题
给大家推荐一个学习golang的好去处人无食不活,码无库不通
请教template和factory有啥区别?[合集] Exception Handling in C
looking for a technical partner (part-time)C++ Singleton Help
good C++ open source project?如何比较C, C++ 和JAVA???
网络程序问题A C++ inheritance question!
内存池这个玩意...friend function in C++
相关话题的讨论汇总
话题: image话题: golang话题: go话题: reason话题: 库里
进入Programming版参与讨论
1 (共1页)
t**r
发帖数: 3428
1
golang 怎么把"image"库都放标准库里了?
很业余的感觉
b*******s
发帖数: 5216
2
你不是转java了?怎么又关心这个了

【在 t**r 的大作中提到】
: golang 怎么把"image"库都放标准库里了?
: 很业余的感觉

k**********g
发帖数: 989
3

Reason 1.
Web servers often need to deal with images intimately. At the minimum, it
needs to read the width and height, and resize the image, while avoiding any
round-trip to the disk. The whole processing time has to be less than a
second for almost all websites.
Reason 2.
Currently, Go has very little dynamic library support. (Basically out of
scope / out of discussion for now.) So, it can't load a "image library" at
runtime on demand.
Reason 3.
Go aims to plug a security hole in web servers by providing a safer
alternative to C and C++, while still aiming for high performance.
Traditionally, one source of security hole is in image processing libraries
that were traditionally implemented in C or C++ for performance reasons and
for which alternative implementations don't exist or were too slow. Go aims
to change that situation by adding support for image decoding.
(Information is just based on Google search. No guarantee of accuracy.)

【在 t**r 的大作中提到】
: golang 怎么把"image"库都放标准库里了?
: 很业余的感觉

1 (共1页)
进入Programming版参与讨论
相关主题
friend function in C++looking for a technical partner (part-time)
register variablegood C++ open source project?
which XML lib you guys are using网络程序问题
interview questions内存池这个玩意...
If using C++, please avoid the use of STL for these questio (转载)一个STL的问题
Help C++ Template function link error .两个看来相似的问题
给大家推荐一个学习golang的好去处人无食不活,码无库不通
请教template和factory有啥区别?[合集] Exception Handling in C
相关话题的讨论汇总
话题: image话题: golang话题: go话题: reason话题: 库里