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

Julien Fischer juliensf at csse.unimelb.edu.au
Sat Jul 3 18:17:42 AEST 2010


Hi,

On Sat, 3 Jul 2010, Paul Bone wrote:

>> * Bug #153 needs to be looked at.
>
> This should be easy.  I'll take a look.

Ta!

>> * 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.

>> * 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.

Cheers,
Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list