V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Feiox
V2EX  ›  Python

有没用过 Falcon 的同学,评价一下?

  •  
  •   Feiox ·
    feiox · 2015-05-04 12:10:52 +08:00 · 4188 次点击
    这是一个创建于 3281 天前的主题,其中的信息可能已经有所发展或是发生改变。

    试用了一下,分别在 Py2.7.9 Py3.4.2 PyPy 2.5.1 下。
    速度高的确实厉害,研究了下感觉是个很“微“的框架,为了提高性能少了很多在 Flask Django 中的那种复杂的函数调用关系。代码风格没有 Flask 更 Pythonic。缺少了很多实用的小功能(除了基本框架功能,很多都要自己再写)。
    另外感觉作者在某些方面好像有意利用了 PyPy 的特性。

    9 条回复    2015-05-06 10:22:54 +08:00
    est
        1
    est  
       2015-05-04 12:23:27 +08:00
    没用过,几年前这货刚出来有人说过,没 wheezy.web 快。
    maemual
        2
    maemual  
       2015-05-04 12:40:37 +08:00
    写过小的 API 服务,挺好用的。
    Feiox
        3
    Feiox  
    OP
       2015-05-04 14:34:48 +08:00
    @maemual 感觉这框架虽然性能好,但提供的功能太基础了。。。。适合轮子爱好者。。。
    yangzh
        4
    yangzh  
       2015-05-04 16:53:27 +08:00 via iPhone
    个人建议:小的用 bottle ,中的用 flask tonardo ,大的用 django
    lyragosa
        5
    lyragosa  
       2015-05-04 16:55:06 +08:00
    只有我一个人看成falcom吗。
    clino
        6
    clino  
       2015-05-04 17:20:24 +08:00
    选择用python的人基本上是喜欢开发效率高些,同时对于运行效率没有那么苛刻
    如果对运行效率苛刻应该去找 https://www.techempower.com/benchmarks 排名靠前的那些
    janxin
        7
    janxin  
       2015-05-05 08:30:59 +08:00
    @Feiox 设计目标是为了实现API功能,所以去掉了很多东西。如果还需要其他功能,建议换个框架更好
    imn1
        8
    imn1  
       2015-05-05 11:31:56 +08:00
    @lyragosa
    Y
    见到 falcon 就想起《血色星期一》
    washinriver
        9
    washinriver  
       2015-05-06 10:22:54 +08:00
    平时用flask, tornado,
    看网上benchmark, falcon是flask n倍, 周末玩玩看.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2400 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 16:08 · PVG 00:08 · LAX 09:08 · JFK 12:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.