> Tough thread What the heck's that??
Goby: A new Ruby-inspired language written in Go
11–20 of 45 posts
Re: Goby: A new Ruby-inspired language written in Go
#12我总觉得哪里不对呢???
Re: Goby: A new Ruby-inspired language written in Go
#13Unless you explain the motivation behind yet another language, it's hard for people like me to like a new thing. How is it different from Ruby? Just concurrency support? How is it different from Go? Just ruby syntax? Is the language statically typed or dynamically? Additionally I would like to see some syntax examples at the start as well.
What? This is literally the first paragraph of README.md: Goby is an object-oriented interpreter language deeply inspired by Ruby as well as its core implementation by 100% pure Go. Moreover, it has standard libraries to several features such as the Plugin system. Note that we do not intend to reproduce whole of the honorable works of Ruby syntax/implementation/libraries. One of our goal is to provide web developers…
How? it is still an interpreted language so one has to write scripts. It no less complicated than installing and running Python or Ruby itself.
Re: Goby: A new Ruby-inspired language written in Go
#14Re: Goby: A new Ruby-inspired language written in Go
#15Crystal-lang has also been around with similar ruby syntax and features like green threads, and a larger standard library. Performance is at par with golang. http://crystal-lang.org PS: Notably, websocket support is still lacking in Goby.
Crystal is closer to C performance wise. The compiler is much slower than Go due to the aggresive type inference.
[0]: https://github.com/crystal-lang/crystal/wiki/Roadmap
[1]: https://crystal-lang.org/2015/12/24/the-future-of-crystal.ht...
Re: Goby: A new Ruby-inspired language written in Go
#16Unless you explain the motivation behind yet another language, it's hard for people like me to like a new thing. How is it different from Ruby? Just concurrency support? How is it different from Go? Just ruby syntax? Is the language statically typed or dynamically? Additionally I would like to see some syntax examples at the start as well.
What? This is literally the first paragraph of README.md: Goby is an object-oriented interpreter language deeply inspired by Ruby as well as its core implementation by 100% pure Go. Moreover, it has standard libraries to several features such as the Plugin system. Note that we do not intend to reproduce whole of the honorable works of Ruby syntax/implementation/libraries. One of our goal is to provide web developers…
How does it explain the motivation behind creating another language? What were the reasons the developer/team behind goby thought existing languages/tools didnt help? My questions are also about how different goby vs ruby is, or goby vs go. I also question if the language is dynamically or statically typed, etc which are bare minimum I expect in introduction.
Re: Goby: A new Ruby-inspired language written in Go
#17Are threads both concurrent and parallel (like goroutines)? In other words can they be used to parallelize CPU-heavy computation?
Even Go, at 2x-3x slower than C, is already not a terribly great choice for true CPU-intensive loads. It's fast enough it can fit in some scenarios, but if you really start to ramp up you're going to want to switch to something else.
Edit: Would someone like to explain what is wrong with the idea that people who care about CPU-heavy computation also need to care about the performance of the language they are using rather than just downmodding it? I find the idea that in one second, someone cares deeply enough about CPU performance to call their load "CPU-heavy" and want to learn how to use many cores to process it, but in the next second is oblivious to the issues of using languages that are very slow on the CPU to do the work, to be a very bizarre shape of concerns about performance. It's like someone asking how they can move ten tons of something from New York to LA as quickly as possible, but insisting that they will only use bicycles to do it. The fact that you may be able to work out a way to do it with only bicycles, even perhaps surprisingly quickly compared to what one's initial reaction may have been, isn't going to change the fact that it sure is weird how one moment you're concerned about doing it as quickly as possible and in the next moment completely oblivious to the performance consequences of the chosen tools.
Re: Goby: A new Ruby-inspired language written in Go
#18Re: Goby: A new Ruby-inspired language written in Go
#19And our plugin system, which is Goby's coolest feature: https://goby-lang.gitbooks.io/goby/content/plugin-system.htm...