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

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

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

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

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

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

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