[jvm-l] Neat JSR292 trick

2011-05-24 Thread Ola Bini
, insertArguments(findVirtual(SephObject.class, invocationFor, SephObject.class, int.class), 1, arity())); } Obviously this is a bit simplified, but the key insight is that you can use findVirtual to lookup a method handle to MethodHandle.invoke of any arity you want. Cheers -- Ola Bini (http

Re: [jvm-l] Neat JSR292 trick

2011-05-24 Thread Ola Bini
on the receiver and not on the receiver class (or prototype). Because I'm building a prototype based language and the behavior is decided by the result of the invocationFor method. Cheers -- Ola Bini (http://olabini.com) Ioke - JRuby - ThoughtWorks Yields falsehood when quined yields falsehood when

Re: [jvm-l] why does Class#forName lock?

2011-03-31 Thread Ola Bini
that is so a class won't be loaded twice. Cheers - -- Ola Bini (http://olabini.com) Ioke - JRuby - ThoughtWorks Yields falsehood when quined yields falsehood when quined. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http

[jvm-l] [ANN] Ioke E released

2009-04-05 Thread Ola Bini
Rodrigues de Almeida felip...@gmail.com Wes Oldenbeuving narn...@gmail.com Martin Dobmeier martin.dobme...@googlemail.com Victor Hugo Borja vic.bo...@gmail.com Bragi Ragnarson br...@ragnarson.com Petrik de Heus Regards Ola Bini- ola.b...@gmail.com -- Ola Bini (http://olabini.com) Ioke creator

[jvm-l] Re: Tail calls

2009-04-02 Thread Ola Bini
very noticeable for the programs written using the Java language, but other languages want to expose this functionality. Cheers -- Ola Bini (http://olabini.com) Ioke creator (http://ioke.org) JRuby Core Developer (http://jruby.org) Developer, ThoughtWorks Studios (http

[jvm-l] Re: Tail calls

2009-04-02 Thread Ola Bini
on the head. And since Java exposes the call stack via Exception#fillInStack, the *presence* of tail recursion is unfortunately not an implementation detail either. I would humbly disagree with this last statement. Regards, Kirk -- Ola Bini (http

[jvm-l] [ANN] Ioke S released

2009-01-23 Thread Ola Bini
...@gmail.com Regards Ola Bini- ola.b...@gmail.com -- Ola Bini (http://olabini.com) JRuby Core Developer Developer, ThoughtWorks Studios (http://studios.thoughtworks.com) Practical JRuby on Rails (http://apress.com/book/view/9781590598818) Yields falsehood when quined yields falsehood

[jvm-l] Re: [ANN] Ioke 0 released

2008-12-24 Thread Ola Bini
John Cowan wrote: On Tue, Dec 23, 2008 at 3:10 PM, Ola Bini ola.b...@gmail.com wrote: Ioke 0 released --- Ioke is a dynamic language targeted at the Java Virtual Machine. It's been designed from scratch to be a highly flexible general purpose language. It is a prototype

[jvm-l] [ANN] Ioke 0 released

2008-12-23 Thread Ola Bini
- Prototype based object orientation - Homoiconic language - Simple syntax - Powerful macro facilities - Condition system - Developed using TDD - Documentation system that combines documentation with specs - Wedded to the JVM Ola Bini- ola.b...@gmail.com -- Ola Bini (http://olabini.com) JRuby Core

[jvm-l] Re: invokedynamic goes public

2008-05-20 Thread Ola Bini
can in fact dispatch on all or none arguments, just how you'd like it. The good point about having it use invokeinterface is that we don't generate anything that can't be loaded in earlier versions. Also the space for new bytecodes is getting a bit thin. Cheers -- Ola Bini (http://ola

[jvm-l] Introducing ioke

2008-04-30 Thread Ola Bini
-- Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer Developer, ThoughtWorks Studios (http://studios.thoughtworks.com) Practical JRuby on Rails (http://apress.com/book/view/9781590598818) Yields falsehood when quined yields falsehood when quined

[jvm-l] Re: CommunityOne talk on JVM language implementers

2008-04-24 Thread Ola Bini
I'm definitely against. (I'm against the converse too, of course) Cheers -- Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer Developer, ThoughtWorks Studios (http://studios.thoughtworks.com) Practical JRuby on Rails (http://apress.com/book/view/9781590598818) Yields falsehood

[jvm-l] CPS languages in Java

2007-12-29 Thread Ola Bini
, or is it even possible to do real CPS in interpreted style on the JVM? It would seem as that would require at least TCO to work. I guess my implementation won't have any interpretation if that's the case. =) Cheers -- Ola Bini (http://ola-bini.blogspot.com) JRuby Core Developer

[jvm-l] Re: CPS languages in Java

2007-12-29 Thread Ola Bini
John Cowan wrote: On Dec 29, 2007 9:05 AM, Ola Bini [EMAIL PROTECTED] wrote: I'm looking at implementing a language that would be best represented using CPS. Now, I can't really find any references to full CPS implementations on the JVM anywhere. I'm looking at using the technique Kawa