digitalmars.D.announce - DMD-MAC!!
- BCS (1/1) Jan 28 2009 http://dobbscodetalk.com/index.php?option=com_content&task=view&id=1015&...
- Walter Bright (3/4) Jan 28 2009 On reddit:
- John Reimer (3/6) Jan 28 2009 This is extremely good news. I may (finally) have to get a mac. :)
- Michel Fortin (7/13) Jan 29 2009 I wonder what's that way of doing it.
- Jacob Carlborg (3/17) Jan 29 2009 I think that mac can do this using function calls, but I can't find the
- Jacob Carlborg (3/21) Jan 29 2009 Perhaps this:
- Sean Kelly (5/23) Jan 29 2009 There are pthread calls for TLS which are implemented for OSX. But
- Walter Bright (5/8) Jan 29 2009 It won't be as efficient. But that really doesn't matter at this point -...
- Fawzi Mohamed (14/24) Jan 31 2009 I don't agree so much with this, TLS can be useful is some occasions
- Walter Bright (4/6) Jan 31 2009 If decent support for TLS is not there, then programmers will use
- Walter Bright (2/7) Jan 29 2009 I plan on doing a brief writeup on it in a future blog if it works.
- Jacob Carlborg (1/1) Jan 29 2009 I would have been really nice to have that ppc support that got lost now...
- Benji Smith (6/8) Feb 03 2009 Very exciting! Thanks, Walter!
- Walter Bright (2/3) Feb 03 2009 Both.
- Benji Smith (3/7) Feb 04 2009 Sweet. You da man.
http://dobbscodetalk.com/index.php?option=com_content&task=view&id=1015&Itemid=
Jan 28 2009
BCS wrote:http://dobbscodetalk.com/index.php?option=com_content&task= iew&id=1015&Itemid=On reddit: http://www.reddit.com/r/d_language/comments/7t0tm/porting_d_to_the_mac/
Jan 28 2009
Hello BCS,http://dobbscodetalk.com/index.php?option=com_content&task=view&id=101 5&Itemid=This is extremely good news. I may (finally) have to get a mac. :) -JJR
Jan 28 2009
On 2009-01-28 13:02:22 -0500, BCS <none anon.com> said:http://dobbscodetalk.com/index.php?option=com_content&task=view&id=1015&Itemid=Interesting. From the last comment from Walter at the bottom:But the Mach-O has no such special sections. I think I've found a way to do it, but it would be better if the mac was fixed to handle that like other systems do.I wonder what's that way of doing it. -- Michel Fortin michel.fortin michelf.com http://michelf.com/
Jan 29 2009
Michel Fortin wrote:On 2009-01-28 13:02:22 -0500, BCS <none anon.com> said:I think that mac can do this using function calls, but I can't find the man page right now.http://dobbscodetalk.com/index.php?option=com_content&task= iew&id=1015&Itemid=Interesting. From the last comment from Walter at the bottom:But the Mach-O has no such special sections. I think I've found a way to do it, but it would be better if the mac was fixed to handle that like other systems do.I wonder what's that way of doing it.
Jan 29 2009
Jacob Carlborg wrote:Michel Fortin wrote:Perhaps this: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/Thread.3pm.htmlOn 2009-01-28 13:02:22 -0500, BCS <none anon.com> said:I think that mac can do this using function calls, but I can't find the man page right now.http://dobbscodetalk.com/index.php?option=com_content&task= iew&id=1015&Itemid=Interesting. From the last comment from Walter at the bottom:But the Mach-O has no such special sections. I think I've found a way to do it, but it would be better if the mac was fixed to handle that like other systems do.I wonder what's that way of doing it.
Jan 29 2009
Jacob Carlborg wrote:Michel Fortin wrote:There are pthread calls for TLS which are implemented for OSX. But however it works (I haven't looked into it), it likely isn't as efficient or easy to deal with as the __thread storage class on other OSes. SeanOn 2009-01-28 13:02:22 -0500, BCS <none anon.com> said:I think that mac can do this using function calls, but I can't find the man page right now.http://dobbscodetalk.com/index.php?option=com_content&task= iew&id=1015&Itemid=Interesting. From the last comment from Walter at the bottom:But the Mach-O has no such special sections. I think I've found a way to do it, but it would be better if the mac was fixed to handle that like other systems do.I wonder what's that way of doing it.
Jan 29 2009
Sean Kelly wrote:There are pthread calls for TLS which are implemented for OSX. But however it works (I haven't looked into it), it likely isn't as efficient or easy to deal with as the __thread storage class on other OSes.It won't be as efficient. But that really doesn't matter at this point - accessing global variables in a tight loop is a bad idea anyway. TLS just has to work. It can be optimized later as OSX improves (which it must, as TLS is going to be a bigger and bigger deal as time goes on).
Jan 29 2009
On 2009-01-29 23:19:25 +0100, Walter Bright <newshound1 digitalmars.com> said:Sean Kelly wrote:I don't agree so much with this, TLS can be useful is some occasions but should be used very sparingly in my opinion, it should be used mostly for the infrastructure, not by the end user. TSL is an evolution of global variables and still has many of their drawbacks, if possible one should pass the variables explicitly, often with some care, and maybe grouping them into structure it turns out to be easier than one thinks, and the effort costs little typing. There are things where TSL can be very useful, and I use it for example to make the scheduling interface nicer, but I think that with good design those cases are few... Encouraging wide use of TSL is bad in my opinion (not that you are doing it, but one might interpret it like that). FawziThere are pthread calls for TLS which are implemented for OSX. But however it works (I haven't looked into it), it likely isn't as efficient or easy to deal with as the __thread storage class on other OSes.It won't be as efficient. But that really doesn't matter at this point - accessing global variables in a tight loop is a bad idea anyway. TLS just has to work. It can be optimized later as OSX improves (which it must, as TLS is going to be a bigger and bigger deal as time goes on).
Jan 31 2009
Fawzi Mohamed wrote:Encouraging wide use of TSL is bad in my opinion (not that you are doing it, but one might interpret it like that).If decent support for TLS is not there, then programmers will use regular global data instead, which comes with a whole raft of threading problems.
Jan 31 2009
Michel Fortin wrote:I plan on doing a brief writeup on it in a future blog if it works.I think I've found a way to do it, but it would be better if the mac was fixed to handle that like other systems do.I wonder what's that way of doing it.
Jan 29 2009
I would have been really nice to have that ppc support that got lost now.
Jan 29 2009
BCS wrote:http://dobbscodetalk.com/index.php?option=com_content&task= iew&id=1015&Itemid=Very exciting! Thanks, Walter! Do you know whether OSX releases will be produced for D1, or just D2? I've had my fingers crossed that you were working on this, and I'm very happy to see that the progress is so swift :o) --benji
Feb 03 2009
Benji Smith wrote:Do you know whether OSX releases will be produced for D1, or just D2?Both.
Feb 03 2009
Walter Bright wrote:Benji Smith wrote:Sweet. You da man. --bDo you know whether OSX releases will be produced for D1, or just D2?Both.
Feb 04 2009