|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
is c# contains pointers
<i><b>Originally posted by : bassem farouk (bassem_farouk@yahoo.com)</b></i><br />is c# contains pointers<br />is it portable<br />what is its advantage upon JAVA<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Don Wolthuis (don.wolthuis@CodeJunkies.Net)</b></i><br />How's it going?<br /><br />Since you are writing in managed code which is controlled by the NGWS runtime unsafe operations are not allowed, hence pointers or memory manipulation is not allowed. So if you want to remain using pointers the way you are use to you will have to use C. As far as portable, that is what the framework (NGWS) is all about. Finally, advantage over JAVA, I am not a JAVA programmer so I cannot help you with that! Mabey someone else can. I would recommend a switch though!<br /><br />Hope this helps,<br /><br /><br />_________________________________<br />Don Wolthuis, MCSD<br />CodeJunkies.Net / theFutureOfASP.com<br />don.wolthuis@codejunkies.net<br /><br />Two new sites are coming, dedicated exclusively to ASP+. Stay tuned for<br />www.ASPNextGen.com and www.theFutureOfASP.com, both brought to you<br />exclusively by CodeJunkies.Net.<br /><br /><br />------------<br />bassem farouk at 8/13/2000 9:41:03 PM<br /><br />is c# contains pointers<br />is it portable<br />what is its advantage upon JAVA<br />
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Ian Blackburn (Ian@bbits.co.uk)</b></i><br />However, the way I understand it, you can mark code as Unsafe if you want to use pointers. There is an interesting article from the creator of c# here http://windows.oreilly.com/news/hejlsberg_0800.html<br /><br />where he says:<br />"Unsafe code allows you to write inline C code with pointers, to do unsafe casts, and to pin down memory so it won't accidentally be garbage-collected"<br /><br />Ian Blackburn<br />Blackburn IT Services<br />http://www.bbits.co.uk<br /><br />------------<br />Don Wolthuis at 8/14/2000 12:37:45 AM<br /><br />How's it going?<br /><br />Since you are writing in managed code which is controlled by the NGWS runtime unsafe operations are not allowed, hence pointers or memory manipulation is not allowed. So if you want to remain using pointers the way you are use to you will have to use C. As far as portable, that is what the framework (NGWS) is all about. Finally, advantage over JAVA, I am not a JAVA programmer so I cannot help you with that! Mabey someone else can. I would recommend a switch though!<br /><br />Hope this helps,<br /><br /><br />_________________________________<br />Don Wolthuis, MCSD<br />CodeJunkies.Net / theFutureOfASP.com<br />don.wolthuis@codejunkies.net<br /><br />Two new sites are coming, dedicated exclusively to ASP+. Stay tuned for<br />www.ASPNextGen.com and www.theFutureOfASP.com, both brought to you<br />exclusively by CodeJunkies.Net.<br /><br /><br />------------<br />bassem farouk at 8/13/2000 9:41:03 PM<br /><br />is c# contains pointers<br />is it portable<br />what is its advantage upon JAVA<br />
|
|
#4
|
|||
|
|||
|
<i><b>Originally posted by : D. R. Wolthuis (don.wolthuis@codejunkies.net)</b></i><br />Thanks Ian,<br /><br />I totally forgot to mention that
<br /><br /><br />______________________________________<br />Don R. Wolthuis, MCSD<br />CodeJunkies.Net / ASPNextGen.com<br />don.wolthuis@codejunkies.net<br /><br />Visit www.ASPNextGen.com or www.theFutureOfASP.com, both brought to you exclusively by CodeJunkies.Net, for tutorials and information on ASP+ - the next generation of Active Server Pages.<br /><br />http://www.codejunkies.net<br /><br /><br />------------<br />Ian Blackburn at 8/30/2000 2:42:48 AM<br /><br />However, the way I understand it, you can mark code as Unsafe if you want to use pointers. There is an interesting article from the creator of c# here http://windows.oreilly.com/news/hejlsberg_0800.html<br /><br />where he says:<br />"Unsafe code allows you to write inline C code with pointers, to do unsafe casts, and to pin down memory so it won't accidentally be garbage-collected"<br /><br />Ian Blackburn<br />Blackburn IT Services<br />http://www.bbits.co.uk<br /><br />------------<br />Don Wolthuis at 8/14/2000 12:37:45 AM<br /><br />How's it going?<br /><br />Since you are writing in managed code which is controlled by the NGWS runtime unsafe operations are not allowed, hence pointers or memory manipulation is not allowed. So if you want to remain using pointers the way you are use to you will have to use C. As far as portable, that is what the framework (NGWS) is all about. Finally, advantage over JAVA, I am not a JAVA programmer so I cannot help you with that! Mabey someone else can. I would recommend a switch though!<br /><br />Hope this helps,<br /><br /><br />_________________________________<br />Don Wolthuis, MCSD<br />CodeJunkies.Net / theFutureOfASP.com<br />don.wolthuis@codejunkies.net<br /><br />Two new sites are coming, dedicated exclusively to ASP+. Stay tuned for<br />www.ASPNextGen.com and www.theFutureOfASP.com, both brought to you<br />exclusively by CodeJunkies.Net.<br /><br /><br />------------<br />bassem farouk at 8/13/2000 9:41:03 PM<br /><br />is c# contains pointers<br />is it portable<br />what is its advantage upon JAVA<br /> |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > is c# contains pointers |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|