News for hackers. Stuff that matters.
Re:MSVC's implementation of the C++ Standard Library by pranith on Monday September 16, 2019 @11:43PM (#20991213)
Microsoft has come a long way lately when it comes to open source. Apple seems to be the only major company that is still not an enthusiastic participant.
Re:MSVC's implementation of the C++ Standard Library by kccqzy on Tuesday September 17, 2019 @01:41AM (#20991958)
Apple wrote and open sourced their C++ compiler (clang) and C++ standard library (libc++), both part of the LLVM project, years before Microsoft did. In fact it was more than a decade ago in 2007 that Apple open-sourced clang, and now widely adopted by the industry. Sure Apple's participation in open sourcing may not be "enthusiastic" with huge "️Heart Open Source" billboards but it gets real job done and has real positive impact.
Re:MSVC's implementation of the C++ Standard Library by oblio on Tuesday September 17, 2019 @09:04AM (#20994505)
Now if only you could run GPL software on the largest platform Apple sells products for...
Re:MSVC's implementation of the C++ Standard Library by WalterGR on Tuesday September 17, 2019 @10:16PM (#21001921)
huge "️Heart Open Source" billboards

Did Microsoft do this?

A quick Google search turns up nothing.

Or were you using artistic license, equating announcing that they’re open-sourcing something with leasing physical billboard space?

Re:MSVC's implementation of the C++ Standard Library by jeffnappi on Tuesday September 17, 2019 @12:00AM (#20991355)
Perhaps Apple's contributions aren't as visible, but just off the top of my head here's two major open source contributions from them: Swift[1] and FoundationDB[2]

[1] https://github.com/apple/swift

[2] https://github.com/apple/foundationdb

Re:MSVC's implementation of the C++ Standard Library by saagarjha on Tuesday September 17, 2019 @12:52AM (#20991692)
Plus there's a page for all their OS components: https://opensource.apple.com. There's also WebKit and LLVM, which started at Apple and are still heavily driven by engineers at the company.
Re:MSVC's implementation of the C++ Standard Library by kevin_thibedeau on Tuesday September 17, 2019 @01:02AM (#20991759)
Neither of these started at Apple.
Re:MSVC's implementation of the C++ Standard Library by saagarjha on Tuesday September 17, 2019 @01:08AM (#20991783)
WebKit was certainly started at Apple. I just checked and the paper for LLVM was actually published before Lattner joined Apple, so I guess it's not quite true that it was "started" there (though, of course, most of its development has happened there).
Re:MSVC's implementation of the C++ Standard Library by masklinn on Tuesday September 17, 2019 @02:10AM (#20992130)
> WebKit was certainly started at Apple.

webkit was a fork of khtml, so the webkit name started at apple but the actual underlying project not really.

Clang, on the other hand, was actually started at Apple.

Re:MSVC's implementation of the C++ Standard Library by zeusk on Tuesday September 17, 2019 @03:08AM (#20992472)
but if my memory serves right, what enabled clang - LLVM, was developed at UIUC.
Re:MSVC's implementation of the C++ Standard Library by masklinn on Tuesday September 17, 2019 @03:31AM (#20992579)
That's correct. LLVM was started at UIUC, Apple later hired Lattner with the intention of making LLVM production-ready (in part as a replacement for the GNU toolchain), and ultimately to replace the GCC frontend by a custom / dedicated one.

The Clang project is part of the LLVM ecosystem, but is a major effort in its own right, so I think it is right to give credit where credit is due, in the same way e.g. the Rust compiler uses Rust as a backend, but credit for it doesn't to to the LLVM project.

Re:MSVC's implementation of the C++ Standard Library by pjmlp on Tuesday September 17, 2019 @06:44AM (#20993525)
Apple did not hire Lattner for clang, that was started by him as a kind of submarine project until it was mature enough to show to management.

He mentions this in some of his interviews.

Re:MSVC's implementation of the C++ Standard Library by masklinn on Tuesday September 17, 2019 @06:59AM (#20993606)
> Apple did not hire Lattner for clang

I didn't write that they did? Though I can see where my wording would be misleading.

Re:MSVC's implementation of the C++ Standard Library by erk__ on Tuesday September 17, 2019 @01:24AM (#20991869)
Well the name webkit started there, before that it was KDEs khtml and kjs. So it is one of the things that is technically true.
Re:MSVC's implementation of the C++ Standard Library by teppifk on Tuesday September 17, 2019 @02:00AM (#20992055)
> WebKit was certainly started at Apple.

This is an extremely disingenuous statement. WebKit was forked from KHTML and everybody knows this. It "certainly" sounds like you're trying to rewrite history (and you make a similar assertion elsewhere in this thread)..

Re:MSVC's implementation of the C++ Standard Library by saagarjha on Tuesday September 17, 2019 @02:13AM (#20992146)
> This is an extremely disingenuous statement. WebKit was forked from KHTML and everybody knows this.

If “everyone” knows this, is it really disingenuous? In any case, I feel this is quite similar to saying Blink started at Google.

> It "certainly" sounds like you're trying to rewrite history (and you make a similar assertion elsewhere in this thread)..

I’m not. I have a very similar comment in response to a very similar correction elsewhere.

Re:MSVC's implementation of the C++ Standard Library by teppifk on Tuesday September 17, 2019 @01:47PM (#20998018)
I say it is disingenous because it is completely counter to what can be found on something as mainstream as the wikipedia page.. one does not have to dig deep.

If you want to dig deeper, the mailing list archives are available for all, and I think given the contribution KHTML made to Webkit initially it is poor form to diminish its role.

"Blink started at Google". It's all context. As someone mentioned, it's technically correct but in the context of this discussion thread which is about open-source origins and contributions, saying Blink "started at Google" comes across as dishonest. Blink started at google with a fork of Webkit, which itself was not created in a vacuum at Apple.

Re:MSVC's implementation of the C++ Standard Library by Someone on Tuesday September 17, 2019 @01:47PM (#20998020)
That’s correct, but in the context of this source release, I think it’s not more incorrect to say “Apple created WebKit” than it is to say “Microsoft created this library” (it started life as a Dinkumware product)
Re:MSVC's implementation of the C++ Standard Library by garmaine on Tuesday September 17, 2019 @01:01AM (#20991750)
Neither WebKit nor LLVM started at Apple.
Re:MSVC's implementation of the C++ Standard Library by saagarjha on Tuesday September 17, 2019 @01:09AM (#20991788)
WebKit was an Apple project; I'm off by a little bit on LLVM as Lattner was hired after he started the project at UIUC.
Re:MSVC's implementation of the C++ Standard Library by maaaats on Tuesday September 17, 2019 @01:48AM (#20991981)
Webkit is Apple, yes, but it was a fork of something existing (khtml)
Re:MSVC's implementation of the C++ Standard Library by saagarjha on Tuesday September 17, 2019 @02:09AM (#20992116)
Right. Apple took the code from KHTML/KJS and wrapped it so it would work on macOS.
Re:MSVC's implementation of the C++ Standard Library by umvi on Tuesday September 17, 2019 @12:06AM (#20991409)
Do people really use swift on Linux?
Re:MSVC's implementation of the C++ Standard Library by jeffnappi on Tuesday September 17, 2019 @01:08AM (#20991786)
Apparently it is gaining traction. For example, the Tensorflow project is working on building a next generation library with Swift - https://github.com/tensorflow/swift

You can read why here - https://github.com/tensorflow/swift/blob/master/docs/WhySwif...

Re:MSVC's implementation of the C++ Standard Library by pjmlp on Tuesday September 17, 2019 @06:45AM (#20993531)
Only because Lattner is part of the Tensorflow team, and they still don't have a solid story regarding OS support, in spite of several people pointing out how much better supporting Julia would have been.

Which incidentally also supports Windows out of the box.

Re:MSVC's implementation of the C++ Standard Library by mastazi on Tuesday September 17, 2019 @02:59AM (#20992419)
Thank you, the second link you provided was an extremely interesting read. It seems to me that Swift has reached a level of maturity where the language and the ecosystem can now exist independently of Apple’s support.
Re:MSVC's implementation of the C++ Standard Library by favorited on Tuesday September 17, 2019 @12:30AM (#20991560)
Some people write web services in Swift on Linux, though it's really just getting started.
Re:MSVC's implementation of the C++ Standard Library by hiccuphippo on Tuesday September 17, 2019 @12:31AM (#20991563)
I would say Amazon is the new Microsoft, having turned the old Embrace, Extend and Extinguish into Embrace, Extend and Engulf.
Re:MSVC's implementation of the C++ Standard Library by pranith on Tuesday September 17, 2019 @02:21AM (#20992197)
Ah, forgot Amazon. They are a sink for OSS. Apple, it appears, is much better than I knew.
Re:MSVC's implementation of the C++ Standard Library by acchow on Tuesday September 17, 2019 @02:03AM (#20992083)
Others have already mentioned clang.

Apple also open sourced their kernel for iOS/MacOS

https://github.com/apple/darwin-xnu

Re:MSVC's implementation of the C++ Standard Library by nimrody on Tuesday September 17, 2019 @12:14AM (#20991456)
Isn't Apple a major contributor to LLVM and clang? Chris Lattner (one of the original developers of LLVM) was working for Apple until recently.
Re:MSVC's implementation of the C++ Standard Library by favorited on Tuesday September 17, 2019 @12:28AM (#20991551)
People don't seem to remember that Apple wrote Clang and open-sourced it.
Re:MSVC's implementation of the C++ Standard Library by YayamiOmate on Tuesday September 17, 2019 @04:03AM (#20992762)
Appart from siblings' mentions, I think they also opensourced networking libs/protocols, bonjour and cups. Cups should be mentioned especially, since that was a basis for network printing under linux. (I hope im right on this)

While Im not a fan of the corporation, its strategy and most of the policies, some dilligence is due here. They are known to release low level stuff.

Re:MSVC's implementation of the C++ Standard Library by tssva on Tuesday September 17, 2019 @05:01AM (#20993079)
CUPS was not originally written or open sourced by Apple. CUPS was released in the late 2000s as open source and soon after became the default print system for most Linux distros. Apple hired the original creator and purchased the source code in 2007.
Re:MSVC's implementation of the C++ Standard Library by de_watcher on Tuesday September 17, 2019 @02:19AM (#20992186)
That lib is just open source by nature, nothing to praise here.