Re:LLVM 3.1 released
by program on Wednesday May 23, 2012 @04:15AM
(#4012074)
Collections subscripting operator [] and boxed C strings are life-savers. Instantiating obj-c object is always a pain cause the syntax is very verbose, expecially for NSString:
it's 11 characters vs 67. Now what I really, really miss is the implementation of the NSString concatenation operator. stringWithFormat isn't always the answer nor appendString. Please forgive me if you find that my idea is silly:
Re:LLVM 3.1 released
by Someone on Wednesday May 23, 2012 @10:09AM
(#4013101)
I think that would be inconsistent. All existing @<whatever> fragments are evaluated at compile-time. Your @+, @|, @&, @^ feel more appropriate as proper functions (the compiler could still know of them, so it could optimize calls away)
Also: dictionary merge/intersect/difference aren't easily defined. For example, what should
Re:LLVM 3.1 released
by sjwright on Wednesday May 23, 2012 @10:04PM
(#4016400)
I don't like it, mainly because it spreads the at-sign too far, and the result is a cornucopia of dense, unreadable at-signs. When you want to do thinks like dictionary operations, I'd prefer to have the intent clearly spelled out in the code.
Re:LLVM 3.1 released
by misnome on Wednesday May 23, 2012 @03:04AM
(#4011920)
Yes, I am ridiculously excited about this, especially the ability to create single-item NSArray's without a tonne of messy typing - this is probably the largest cleaning effect it will have.
Any idea how long it has historically taken apple to move the newer Clang releases?
Re:LLVM 3.1 released
by Someone on Wednesday May 23, 2012 @12:35PM
(#4013825)
I don't know, but I guess that the compiler itself has been seriously tested on Mac OS X, and WWDC is June 11-15. Esepcially if they want/dare to use this for compiling Mountain Lion, I expect there to be some kind of release around that time.
Also: dictionary merge/intersect/difference aren't easily defined. For example, what should
return?Any idea how long it has historically taken apple to move the newer Clang releases?
http://en.wikipedia.org/wiki/Llvm