V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Los
V2EX  ›  Ruby

python有Google之类的大公司友好支持,ruby呢?有哪个大公司支持?Apple似乎最有可能?

  •  
  •   Los · 2011-03-31 19:24:56 +08:00 · 10640 次点击
    这是一个创建于 4767 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Lion 中已经将 MacRuby 放到了 private frameworks 里,似乎已经是内定的支持了,还有其他大公司对ruby进行友好支持吗?

    RobinLu的一篇文章:
    “Mac OS X Lion 包含 MacRuby 意味着什么?”
    http://www.robinlu.com/blog/archives/550
    22 条回复    1970-01-01 08:00:00 +08:00
    pepsin
        1
    pepsin  
       2011-03-31 20:07:25 +08:00
    走农村包围城市的战略??

    从我这初学者角度来说,Ruby看着很顺眼
    Los
        2
    Los  
    OP
       2011-03-31 20:19:54 +08:00
    @pepsin 觉得Apple公司很酷,汗,跟农村这两个字完全没办法联想起来
    pepsin
        3
    pepsin  
       2011-03-31 20:23:15 +08:00
    @Los Apple这名字。。。有没有
    Los
        4
    Los  
    OP
       2011-03-31 20:33:47 +08:00
    @pepsin 完全没有,苹果公司,难道让你想到了水果?
    spark
        5
    spark  
       2011-03-31 21:22:17 +08:00
    都在说python没有end比ruby更简洁...

    为啥我这个菜鸟觉着有end更顺眼一呢?所以,目前在看ruby。
    pepsin
        6
    pepsin  
       2011-03-31 21:25:54 +08:00
    @Los 详见《阿甘正传》中Gump对苹果的描述吧,哈哈
    9hills
        7
    9hills  
       2011-03-31 21:31:19 +08:00
    @spark 个人也觉得有end更清晰,估计是习惯问题吧。。
    darasion
        8
    darasion  
       2011-03-31 21:39:26 +08:00
    嗯。我也喜欢带 end 的语法。
    est
        9
    est  
       2011-03-31 21:48:40 +08:00
    @spark 用python写模板语法就是悲剧。还是有end好
    makestory
        10
    makestory  
       2011-03-31 22:46:53 +08:00
    要这么说,苹果和google的支持方式还真很不同呀。
    apple这种程度的支持对开发者短期的影响倒不大,但是似乎会影响到fans对语言的选择呢。
    sqbing
        11
    sqbing  
       2011-03-31 23:00:19 +08:00
    @pepsin 哈哈,那是段有趣的调侃
    est
        12
    est  
       2011-03-31 23:16:06 +08:00
    话说Mac OS还不带X的时候就已经包含python了。各大OS基本就只有Windows不自带Python了。其实n年前微软在做sharepoint的时候也曾经有段时间嵌入了个python解释器。LZ多虑了。
    bruce
        13
    bruce  
       2011-03-31 23:24:26 +08:00 via Android
    37signals
    est
        14
    est  
       2011-03-31 23:25:54 +08:00
    更正一下,OS X开始才有python。我看了下macpython原来也是第三方的。
    Los
        15
    Los  
    OP
       2011-04-01 00:03:17 +08:00
    @est Mac OS X 环境默认支持ruby,但MacRuby项目的目的如下:

    “MacRuby是苹果公司启动的一个开源项目,目的是将ruby 1.9移植到MacOS操作系统的Object-C平台上面,让ruby 1.9可以像MacOS操作系统上的原生应用软件那样,运行在Object-C的runtime和GC之上。”
    Los
        16
    Los  
    OP
       2011-04-01 00:07:02 +08:00
    英文版本介绍如下:
    "MacRuby is an implementation of Ruby 1.9 directly on top of Mac OS X core technologies such as the Objective-C runtime and garbage collector, the LLVM compiler infrastructure and the Foundation and ICU frameworks. It is the goal of MacRuby to enable the creation of full-fledged Mac OS X applications which do not sacrifice performance in order to enjoy the benefits of using Ruby."
    来源于macruby官网: http://www.macruby.org/
    summic
        17
    summic  
       2011-04-01 00:12:38 +08:00
    php不也没有大公司支持么

    ruby有37signals这么酷的公司支持已经足够了
    est
        18
    est  
       2011-04-01 10:31:15 +08:00
    @Los 据我所知MacRuby因为用了LLVM的GC,所以是没有GIL的?这算一个很大的卖点。呵呵。
    stranbird
        19
    stranbird  
       2011-04-01 19:34:25 +08:00
    有DHH大神罩着就够了~
    lldong
        20
    lldong  
       2011-04-01 20:19:22 +08:00
    ruby受smalltalk的影响很大,可能这是原因之一.
    wtl
        21
    wtl  
       2011-09-09 19:40:44 +08:00
    apple对MacRuby的态度估计还是试水 还是在看开发者是不是对其有兴趣 所以没投入大精力
    verfino
        22
    verfino  
       2012-06-15 16:06:27 +08:00
    现在接触ruby的人不比python少多少了,只是ruby来说很多行内人并没有学以致用,并且开发出所谓的ROR产品之后,面对大规模的用户访问有些尴尬,ROR的这个瓶颈一直存在,导致现在太多中大型企业不会考虑ruby,反看最近有越来越多的创业公司选择了它.
    期待2013年ruby2.0的问世
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3119 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:22 · PVG 22:22 · LAX 07:22 · JFK 10:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.