News for hackers. Stuff that matters.
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.