› httpbin - 协议调试工具
› httpstatuses - 协议状态码查询
› httpie - cURL-like tool for humans
Fiddler
rayshen
V2EX  ›  HTTP

swift 开源后,可以像 python、Java 一样写 http 服务器吗?

  •  
  •   rayshen · Jun 9, 2015 · 6010 views
    This topic created in 4186 days ago, the information mentioned may be changed or developed.

    像Python、Java、PHP一样写后台?

    10 replies  •  2015-06-09 22:21:31 +08:00
    F281M6Dh8DXpD1g2
    F281M6Dh8DXpD1g2
    Jun 9, 2015
    1
    我觉得只要能操作socket和字符串就可以
    crazyxin1988
    crazyxin1988
    Jun 9, 2015
    2
    那是不是意味着 一大波轮子 要诞生了
    wmttom
    wmttom
    Jun 9, 2015
    3
    现在赶快去写 swift 开源 web 框架,抢占先机吧
    wyd2004
    wyd2004
    Jun 9, 2015❤️1
    4
    不是已经有了么. https://github.com/glock45/swifter
    damngood
    damngood
    Jun 9, 2015
    5
    开源的只有 Swift Standard Library 吧.
    这样的话 Foundation 这些重要的 lib 还需要重新实现一遍, 那就离用 [swift 写服务端程序] 这个目标还有点远.
    CodeDrift
    CodeDrift
    Jun 9, 2015
    6
    感觉有意思。。
    mthli
    mthli
    Jun 9, 2015
    7
    想法很美好。
    Livid
    Livid
    MOD
    PRO
    Jun 9, 2015
    8
    任何可以写 stdout 的语言都可以作为 CGI 程序使用。

    但是,要做出一个完整的 web framework,真的还是一个大工程。
    zeayes
    zeayes
    Jun 9, 2015
    9
    相比现有的服务端语言,没看出来swift有多大的优势。
    ostholz
    ostholz
    Jun 9, 2015❤️1
    10
    https://github.com/AliasIO/Swiftlet
    https://github.com/izqui/Taylor

    个人觉得用 Rust 做Web Framework更有意义一些
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4436 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 101ms · UTC 08:14 · PVG 16:14 · LAX 00:14 · JFK 03:14
    ♥ Do have faith in what you're doing.