tag:blogger.com,1999:blog-4704664917418794835.post621089980720794896..comments2023-07-01T05:41:30.469-07:00Comments on Headius: More Fun With Dubyheadiushttp://www.blogger.com/profile/15717357218364947795noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-4704664917418794835.post-9632796748387276902008-03-22T18:56:00.000-07:002008-03-22T18:56:00.000-07:00@mindstorm Now you've got it. Duby is intended...@mindstorm Now you've got it. Duby is intended to be generally an AOT language, a tool for us to use instead of Java to implement various things in a comfortable, Ruby-like syntax. But the research I'm doing into Duby will certainly feed into type inference for JRuby as well. Because we have an interpreted mode, we certainly could gather type information to be used at compile time, with appropriate guards to fall back on more dynamic paths. This isn't going to happen in the 1.1 cycle, which is almost complete, but it's very likely to show up in some form in future JRuby versions.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-38779341731749684212008-03-23T08:25:00.000-07:002008-03-23T08:25:00.000-07:00Well, I was living under impression that I've ...Well, I was living under impression that I've got it from the beginning, but that there was a small missing piece: the goal ;-).<br><br>cheers,<br>./alex<br>--<br>.w( the_mindstorm )p.Alex Popescuhttp://www.blogger.com/profile/01207348386503181170noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-55257060451557126472008-03-23T19:29:00.000-07:002008-03-23T19:29:00.000-07:00nothing important... just wanted to point out that...nothing important... just wanted to point out that you are 'having fun...'<br><br>congrats Headius! there are many people out there who dislike their jobs, and it is very refreshing to hear someone talk about something job-related as 'having fun'<br><br>I hear you loud and clear... and the project you work on clearly rings the same tone.Mike McKinneyhttp://blog.huikau.comnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-91656114313131324032008-03-27T11:11:00.000-07:002008-03-27T11:11:00.000-07:00Will the compiled Java class files have any depend...Will the compiled Java class files have any dependencies outside of standard JRE? It would be _super_ awesome if any required jar were small or nonexistent.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-71983113438366133932008-03-30T05:08:00.000-07:002008-03-30T05:08:00.000-07:00@anonymous It's a primary requirement for Duby...@anonymous It's a primary requirement for Duby that there be no runtime dependencies. So the compiled .class files will work, standalone, on any JRE.Charles Oliver Nutterhttp://www.blogger.com/profile/06400331959739924670noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-78500516385401352522008-04-02T23:55:00.000-07:002008-04-02T23:55:00.000-07:00This expanded Duby idea is really cool (and incred...This expanded Duby idea is really cool (and incredibly ambitious).<br><br>Two things I imagine I might want when coding in Duby:<br><br>1. Ability for my IDE to know the inferred type of a Duby variable/method/etc. No only so it could do code-completion, refactoring etc, but also so it could remind me, eg with little hover notes, when Im looking a unfamiliar code. <br><br>That seems to imply a 2-way mapping between Duby code and the AST (and ideally a tolerant compiler), so the IDE can compile the code as I write ala Eclipse/IntelliJ/Netbeans with Java.<br><br>2. If it really could target multiple platforms, then the ability to use value types (stack-allocated) when using Duby to target .NET. Value types let you do somethings much more efficiently, and it would be nice to have some syntax extension to denote them.Ben Hutchisonhttp://benhutchison.wordpress.com/noreply@blogger.comtag:blogger.com,1999:blog-4704664917418794835.post-80004576168605907812008-04-05T15:54:00.000-07:002008-04-05T15:54:00.000-07:00Re value types: On further thought, I agree no spe...Re value types: On further thought, I agree no special syntax is required for value types.<br><br>My use case: having had my fill using Java's awkward BigDecimal in financial software, I envy the way C# has an 8-byte value type for decimals that is both lightweight and high-precision. I guess Decimal.new and operator-overloading could do the same thing for Duby.Ben Hutchisonhttp://benhutchison.wordpress.com/noreply@blogger.com