[m-rev.] for review: deconstruct.named_arg for java

Paul Bone pbone at csse.unimelb.edu.au
Sun Jul 4 13:12:13 AEST 2010


On Sat, Jul 03, 2010 at 06:17:42PM +1000, Julien Fischer wrote:
> On Sat, 3 Jul 2010, Paul Bone wrote:
>>> * I have a reference manual change that documents MR_word_to_float and
>>>   friends that nees to go in.  (I also have an addition to
>>>   samples/c_interface that provides a more thorough illustration of the C
>>>   data passing conventions.)
>>>
>>> * I think we really need some examples of how to use the Java and Erlang
>>>   interfaces, in samples/java_interface and samples/erlang_interface.
>>
>> IMHO these two things can wait until the next release (October?)
>
> IMO, the first is a fairly important omission and needs to be fixed.
> (I'll post the diff that does so shortly.)  It's impossible to
> deconstruct data structures containing floats in C foreign procs if you
> don't know about MR_word_to_float and MR_float_to_word.

I don't know if we just shouldn't cover this in the release notes.

>>> * zs is unhappy about the number of warnings that are generated by gcc
>>>   when compiling things in asm_fast.  (We should identify what is going
>>>   on here at least.)  (Someone suggested grepping the warnings out, but
>>>   I don't see how you can do that with mmc --make -- particularly on
>>>   systems that don't have grep!)
>>
>> We don't actually need grep(1) to do this.  It's simply a matter of playing
>> with processes and pipes in C.
>
> Doing so in a portable fashion is unlikely to be simple, and is in any
> case no substitue for examining the underlying problem.

I agree.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20100704/8b50dc70/attachment.sig>


More information about the reviews mailing list