Hi,

The @Embed annotation was an experiment. It is not currently maintained 
and does not do anything.
Instances of the annotation are still floating around as we might in the 
future make it work again.

The intend of this annotation is to permit to "embedding" an object 
instance into another (when using the native backend compiler).
In short, if a class C has a f field of type D where D is a class type, 
then f would be implemented at runtime as an instance of the class rather 
than a pointer to it.
This has all kinds of nasty implications (such as changing the program 
semantics) and is not intended for general use.

Regards,

Olivier


SUYASH GUPTA <dynamic.suy...@gmail.com> wrote on 09/22/2013 03:08:06 AM:

> From: SUYASH GUPTA <dynamic.suy...@gmail.com>
> To: x10-users@lists.sourceforge.net
> Date: 09/22/2013 03:08 AM
> Subject: [X10-users] Embed option
> 
> Hello All

> I was working with X10 Runtime (and I am still novice at it) and 
> came across this @Embed option. I understood how it works, but I am 
> not able to understand its significance. 
> Can someone please highlight it.

> Thanx
> 
> -- 
> Regards
> 
> Suyash Gupta
> MS Scholar
> Pace Lab,
> Department of Computer Science & Engineering
> IIT Madras
> 
------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, 
SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack 
includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
> 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk

> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to