doubiankang2845 2011-07-07 02:01
浏览 48

注重性能的桌面程序:Ruby还是Go?

I currently don't know either of the two languages. Design of a piece of software is close to complete.

The intriguing:

  • Ruby: Enjoyable. Follows thought process. Made for humans.
  • Go: Good performance. Fast compile times.

I don't know about Ruby's performance. If it's a lot slower than Go, I'll go with the latter (talking about typical speed here).

I'll learn both eventually, but right now, this will determine which one first.

Update: It's a very basic image-editing program. Technical and especially perceived speed should be high. Startup time is especially important.

  • 写回答

3条回答 默认 最新

  • dpl3350 2011-07-07 02:14
    关注

    I think those languages are the worst you can choose for performance-critical application. I don't know much about Go, but Ruby is similar to Python (even slower) and Python is slow as hell. As i've been reading, Go is much faster than Ruby, but still is like two or three times slower compared to other programming languages... It depends on what are you trying to do, of course, ie. I wouldn't choose any of those for real-time physics or something like that.

    http://shootout.alioth.debian.org/u32/performance.php?test=nbody

    Why is go language so slow?

    http://attractivechaos.github.com/plb/

    I've been working with python for a couple of years and it's really slow and I'm sure you will hate it and Ruby is very similar to Python and it's slower but as Go is too new I don't really know much about it, I can't tell..

    评论

报告相同问题?

悬赏问题

  • ¥15 Mac系统vs code使用phpstudy如何配置debug来调试php
  • ¥15 目前主流的音乐软件,像网易云音乐,QQ音乐他们的前端和后台部分是用的什么技术实现的?求解!
  • ¥60 pb数据库修改与连接
  • ¥15 spss统计中二分类变量和有序变量的相关性分析可以用kendall相关分析吗?
  • ¥15 拟通过pc下指令到安卓系统,如果追求响应速度,尽可能无延迟,是不是用安卓模拟器会优于实体的安卓手机?如果是,可以快多少毫秒?
  • ¥20 神经网络Sequential name=sequential, built=False
  • ¥16 Qphython 用xlrd读取excel报错
  • ¥15 单片机学习顺序问题!!
  • ¥15 ikuai客户端多拨vpn,重启总是有个别重拨不上
  • ¥20 关于#anlogic#sdram#的问题,如何解决?(关键词-performance)