Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by cbetti on Thursday June 20, 2019 @11:04PM
(#20239536)
Prototyping in Java is as fast as prototyping in Ruby once you understand how to use the tools equivalent to Pry in Java, and standard types instead of rolling your own types. JIT isso fast today the 20ms required to JIT what you type is immaterial.
[ Parent
| on HN ]
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by pjmlp on Friday June 21, 2019 @01:57AM
(#20240204)
More so now with better type inference and repl integration.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by nitrogen on Friday June 21, 2019 @03:27AM
(#20240625)
What REPL do you use on the JVM? I've added JRuby to Java projects in the past just to get a REPL.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by pjmlp on Friday June 21, 2019 @03:42AM
(#20240679)
The one that comes with it, starting with Java 9, jshell.
Before that, there was the Rhino and Nashorn ones, which although JavaScript based, did the job.
Re:Open-sourcing Sorbet: a fast, powerful type checker for Ruby
by signal11 on Friday June 21, 2019 @02:53AM
(#20240462)
Not strictly Java, but Groovy is a great environment to prototype on the JVM. Prototyping was lightning fast and turning it into Java code was pretty quick too. There’s great IDE support for it too (IntelliJ’s Groovy scratches).
These days Kotlin is also pretty good. Perhaps not quite as fast to prototype but there’s little need for converting afterwards.