(no subject)
"Jarkko Lempiainen [Profoundic]" <[email protected]> Wed, 16 Jun 2010 14:54:43 -0700 (PDT)
| Newsgroups | gmane.games.devel.sweng |
|---|---|
| Message-ID | <[email protected]> |
-AD49-C4AD4F2F [email protected]> <[email protected]> In-Reply-To: <[email protected]> Subject: RE: [Sweng-Gamedev] Software Architecture/Design Date: Wed, 16 Jun 2010 16:00:47 +0300 Organization: Profoundic Technologies, Inc. Message-ID: <000401cb0d53$f3dacac0$db906040$@com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01CB0D6D.192802C0" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsMuGUbu2NxDSWyRmu2d5fR83WaGQAmnbdg Content-Language: en-us This is a multi-part message in MIME format. ------=_NextPart_000_0005_01CB0D6D.192802C0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reflection in C++ would be nice. Now I have to do that manually with = macros which is kind of ok with some extra typing, but would be nicer to = have language support for it. In addition to variable name & type = exposure, reflection would need some mechanism to define custom = properties at member variable declaration though (e.g. hidden, mutable, = etc.) to make it really useful. =20 Cheers, Jarkko =20 =20 From: [email protected] = [mailto:[email protected]] On Behalf Of Jon = Watte Sent: Tuesday, June 15, 2010 9:21 PM To: [email protected] Subject: Re: [Sweng-Gamedev] Software Architecture/Design =20 If you could get most people to agree on a C++ GC then the engineering situation might become viable there =20 =20 If only the C++ standards committee would agree on a static reflection = API that would make precise GC possible, that might actually happen. =20 That C++ *still*, 25 years later, doesn't have the basic ability to get = the list of members of a type is beyond cruel to my mind. =20 Sincerely, =20 jw =20 ------=_NextPart_000_0005_01CB0D6D.192802C0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" = xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"> <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.apple-style-span {mso-style-name:apple-style-span;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DWordSection1> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Reflection in C++ would be nice. Now I have to do that = manually with macros which is kind of ok with some extra typing, but would be = nicer to have language support for it. In addition to variable name & type = exposure, reflection would need some mechanism to define custom properties at = member variable declaration though (e.g. hidden, mutable, etc.) to make it = really useful.<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p> </o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'>Cheers, Jarkko<o:p></o:p></span></p> <p class=3DMsoNormal><span = style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif"; color:#1F497D'><o:p> </o:p></span></p> <p class=3DMsoNormal><a name=3D"_MailEndCompose"><span = style=3D'font-size:11.0pt; font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span= ></a></p> <div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt = 0in 0in 0in'> <p class=3DMsoNormal><b><span = style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>= </b><span style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'> = [email protected] [mailto:[email protected]] <b>On Behalf Of = </b>Jon Watte<br> <b>Sent:</b> Tuesday, June 15, 2010 9:21 PM<br> <b>To:</b> [email protected]<br> <b>Subject:</b> Re: [Sweng-Gamedev] Software = Architecture/Design<o:p></o:p></span></p> </div> <p class=3DMsoNormal><o:p> </o:p></p> <blockquote style=3D'border:none;border-left:solid #CCCCCC = 1.0pt;padding:0in 0in 0in 6.0pt; margin-left:4.8pt;margin-right:0in'> <p class=3DMsoNormal> If you could get most people = to<o:p></o:p></p> </blockquote> <blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>agree on a C++ GC then the engineering situation might become = viable<o:p></o:p></span></p> </blockquote> <blockquote style=3D'margin-top:5.0pt;margin-bottom:5.0pt'> <p class=3DMsoNormal><span = style=3D'font-size:10.0pt;font-family:"Arial","sans-serif"'>there<o:p></o= :p></span></p> </blockquote> <div> <p class=3DMsoNormal><o:p> </o:p></p> </div> <div> <p class=3DMsoNormal><o:p> </o:p></p> </div> <div> <p class=3DMsoNormal><span class=3Dapple-style-span><span = style=3D'font-size:10.0pt; font-family:"Arial","sans-serif"'>If only the C++ standards committee = would agree on a static reflection API that would make precise GC possible, = that might actually happen.</span></span><o:p></o:p></p> </div> <div> <p class=3DMsoNormal><o:p> </o:p></p> </div> <div> <p class=3DMsoNormal><span class=3Dapple-style-span><span = style=3D'font-size:10.0pt; font-family:"Arial","sans-serif"'>That C++ *still*, 25 years later, = doesn't have the basic ability to get the list of members of a type is beyond = cruel to my mind.</span></span><o:p></o:p></p> </div> <div> <p class=3DMsoNormal><o:p> </o:p></p> </div> <div> <p class=3DMsoNormal><span class=3Dapple-style-span><span = style=3D'font-size:10.0pt; font-family:"Arial","sans-serif"'>Sincerely,</span></span><o:p></o:p></p>= </div> <div> <p class=3DMsoNormal><o:p> </o:p></p> </div> <div> <p class=3DMsoNormal><span class=3Dapple-style-span><span = style=3D'font-size:10.0pt; font-family:"Arial","sans-serif"'>jw</span></span><o:p></o:p></p> </div> <div> <p class=3DMsoNormal><o:p> </o:p></p> </div> </div> </body> </html> ------=_NextPart_000_0005_01CB0D6D.192802C0-- _______________________________________________ Sweng-Gamedev mailing list [email protected] http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com