[Swift-devel] Re: runtime mapper loading of mappers
Michael Wilde
wilde at mcs.anl.gov
Fri Sep 28 12:58:08 CDT 2007
Is it reasonable to see if simple shell scripts can serve as mappers?
Then add a way to nicely configure them? (eg MAPPERPATH, mappers.data etc)
I think the ability to express the mapping functions through a
command-line interface will enable people to write mappers in any
language they want, starting with shell.
We'd need to measure, but I suspect the performance hit for such a
call-out to mappers will be negligible for most workflows.
Is that where this is going, Ben, or are you focusing first on making
Java mappers easier to add?
- Mike
On 9/28/07 10:27 AM, Mihael Hategan wrote:
> On Fri, 2007-09-28 at 15:23 +0000, Ben Clifford wrote:
>>> @registerMapper()
>> If class names are being mentioned in the source code, it might be good to
>> permit direct use of the classname for ease of initial use, thusly:
>>
>> file f <org.myproject.HappyMapper; files="*", foo=7>;
>>
>> That removes the need for registration of new mappers which appeals to me
>> from the perspective of making use easier to describe to developers of new
>> mappers.
>
> It may become annoying if there are many of those. So aliasing them
> might be useful.
>
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
>
>
More information about the Swift-devel
mailing list