[osflash] haXe compiler preview
hank777 at gmail.com
Mon Nov 14 08:28:30 EST 2005
> > 2. If I want to create an application that lives on the client and the
> > server (as most interesting things do these days) will there be a way
> > in one project to make seamless rpc calls from the client to code that
> > was written for the neko vm? This would allow me to in one project
> > write my entire application which, from a debugging and deployment
> > perspective would radically enhance performance.
> Yes having RPC done transparently using proxies is possible. However you
> still have to do method calls asynchronously since I don't think there
> is a way to "wait" for events in Flash without exiting the frame.
This is, of course a very good point, and one which I hadnt totally
thought through as I typed my question.
But, having thought about it just a bit more, I dont know that I would
really want a remote call to wait for the answer most of the time in a
single threaded UI langugage like flash. The current async model is
definitely, at least most of the time, best.
That said, something built into the language to allow easy sychronous
or asynchronous calls would be great. Flash to server would be
NekoVM to NekoVM could obviously be either way.
But the main point here is that given that you have a system that is
designed to make code targeted at all the relevant platforms, it
seems to me that building in good communications and good
"multi-platform workflow" would be an enormously powerful and unique
addition. You already, it seems to me, have the hard part done. But
this is a nicety that would really set this framework apart. No one
has made building client server apps this easy before.
If you can get this interoperability thing going you will rule the world!
More information about the osflash