[Swift-devel] returning primitive values from apps
Mihael Hategan
hategan at mcs.anl.gov
Tue Sep 17 11:43:21 CDT 2013
On Tue, 2013-09-17 at 11:26 -0500, Yadu Nand wrote:
> Hi Mihael,
>
> If say the app has the following syntax :
> app (int ret_value) do_math (int x, int y) {
> add x y stdout=ret_value;
> }
>
> Would this (hypothetical) syntax entirely avoid the overhead of writing
> several small files as
> we see in larger runs ?
Maybe. If you can re-direct stdout straight to memory (only some
providers support this), then you could read the value without writing
files on the client side.
More information about the Swift-devel
mailing list