Goby: A new Ruby-inspired language written in Go
1–10 of 45 posts
Re: Goby: A new Ruby-inspired language written in Go
#2On the back of this, I dug around a bit around for other transpilers to/from Golang. So far:
- https://github.com/jcla1/gisp
- https://github.com/google/grumpy (Python to Go)
- https://tardisgo.github.io/ (Go to Hexe)
- https://github.com/gopherjs/gopherjs (Go to JavaScript)
If there are any others, be keen to find out.
Re: Goby: A new Ruby-inspired language written in Go
#3What the heck's that??
Re: Goby: A new Ruby-inspired language written in Go
#4PS: Notably, websocket support is still lacking in Goby.
Re: Goby: A new Ruby-inspired language written in Go
#5Re: Goby: A new Ruby-inspired language written in Go
#6Crystal-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.
Re: Goby: A new Ruby-inspired language written in Go
#7Additionally I would like to see some syntax examples at the start as well.
Re: Goby: A new Ruby-inspired language written in Go
#8Interesting. The goal is "small and handy environment that mainly focusing on creating API servers or microservices". Having moved from Ruby to Go in the last year or two I'd be really interested in what language features they're pushing with that goal. I really enjoyed my work with Ruby, but I have found Golang pretty quick at these "backend" type work. On the back of this, I dug around a bit around for other transp…
https://github.com/goby-lang/goby/tree/master/compiler/bytec...
Re: Goby: A new Ruby-inspired language written in Go
#9Interesting. The goal is "small and handy environment that mainly focusing on creating API servers or microservices". Having moved from Ruby to Go in the last year or two I'd be really interested in what language features they're pushing with that goal. I really enjoyed my work with Ruby, but I have found Golang pretty quick at these "backend" type work. On the back of this, I dug around a bit around for other transp…
EDIT: my bad, I saw 'bytecode' and wrongfully assumed goby is a compiled language https://github.com/goby-lang/goby/tree/master/compiler/bytec...
This is an interpreter, not a compiler. Crystal is a compiler and what makes it "slow" to compile is type inference but then it runs at native speed.
Re: Goby: A new Ruby-inspired language written in Go
#10Unless 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.
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 a sort of small and handy environment that
mainly focusing on creating API servers or microservices. For this, Goby includes the
following native features:
- Tough thread/channel mechanism powered by Go's goroutine
- Builtin high-performance HTTP server
- Builtin database library (currently only support PostgreSQL adapter)
- JSON support
- Plugin system that can load existing Go packages dynamically (Only for Linux by now)
- Accessing Go objects from Goby directly
This makes it quite a match to do containerized things as a single binary || self-deploying Go apps[0][0]: https://www.dotconferences.com/2016/10/kelsey-hightower-self...