News for hackers. Stuff that matters.
Re:Apple and NeXT announce merger (1996) by AceJohnny2 on Wednesday December 20, 2017 @03:28PM (#15973484)
To this day, people still joke that this was a reverse-acquisition of Apple by NeXT, as Apple entirely switched their software to NeXT's.

For the unaware, this is why the macOS/iOS APIs are prefixed with NS (NSObject, NSString...), for NeXTSTEP.

I believe iTunes is still based on WebObjects.

Re:Apple and NeXT announce merger (1996) by pavlov on Wednesday December 20, 2017 @03:42PM (#15973609)
Actually NS is short for "NeXT & Sun". The prefix was adopted for OpenStep: https://en.wikipedia.org/wiki/OpenStep

The pre-OpenStep version of the APIs used a NX prefix. You can still see some lingering NX* classes/functions in macOS stack traces.

Re:Apple and NeXT announce merger (1996) by hsm3 on Thursday December 21, 2017 @02:20AM (#15977053)
I was leading the AppKit group at NeXT at the time, and "NS" definitely came before the Sun relationship, referring to NextStep (or NeXTSTEP, the spelling changed every release). I distinctly remember our team expecting we'd have to suck it up and change the prefix to something more neutral when the Sun deal was made, and then being surprised that they didn't seem to care when the spec was discussed. Maybe the alternate interpretation of "NeXT and Sun" satisfied them, but I don't remember that expression ever being commonly used, and it was not the original basis for NS.
Re:Apple and NeXT announce merger (1996) by pavlov on Thursday December 21, 2017 @02:34AM (#15977107)
Thank you, that settles it then. I've heard the "NeXT & Sun" story from several sources for at least 15 years -- I had no idea it's apocryphal.
Re:Apple and NeXT announce merger (1996) by jmull on Wednesday December 20, 2017 @04:14PM (#15973880)
I can’t find a source for NS meaning NeXT and Sun either in the article you linked or elsewhere (sorry if I missed it). I get there was a name change associated with OPENSTEP, where the prefix changed from NX- to NS- and makes some sense because otherwise wouldn’t the prefix change for OPENSTEP have been something like OS- or OP-? I’m just wondering about the source for this. It would be interesting to hear from someone privy to reasoning behind choice of prefix.
Re:Apple and NeXT announce merger (1996) by tcdent on Wednesday December 20, 2017 @04:59PM (#15974235)
This Wikipedia article [0] mentions both, but doesn't conclude. Would be interesting to hear from someone who was actually there to settle it; I haven't been convinced of a consensus either way.

[0] https://en.wikipedia.org/wiki/Cocoa_(API)#History

Re:Apple and NeXT announce merger (1996) by IncRnd on Wednesday December 20, 2017 @06:57PM (#15975078)
I learned to program NeXTSTEP on NeXTSTEP 3.x at NeXT’s weeklong developer training camp. The API had NS prefixes, both in the files and the developer books. The first OpenStep release was 4.0.
Re:Apple and NeXT announce merger (1996) by protomyth on Wednesday December 20, 2017 @08:39PM (#15975643)
Yeah, I pretty sure that the NX -> NS transition was before OPENSTEP (NeXT & Sun) and corresponded with retain-release. I too started with 3.x and it was NS then.
Re:Apple and NeXT announce merger (1996) by mattl on Wednesday December 20, 2017 @04:27PM (#15973975)
Yeah, I've also heard that NS stands for "NeXT Software, Inc" vs "NeXT, Inc"
Re:Apple and NeXT announce merger (1996) by SeanLuke on Wednesday December 20, 2017 @08:30PM (#15975601)
I believe the NS prefix dated from NeXTSTEP 3.0 (1992), well before Sun was ever involved with NeXT.

So far as I know, NS stands for NextStep.

Re:Apple and NeXT announce merger (1996) by saagarjha on Wednesday December 20, 2017 @03:49PM (#15973671)
Huh, interesting. I came across NXHashMap in the Objective-C runtime documentation and was wondering what the "NX" stood for.
Re:Apple and NeXT announce merger (1996) by adrianmonk on Wednesday December 20, 2017 @11:38PM (#15976474)
Well, I think that was a huge part of the point of the acquisition.

Apple knew for a long time it needed to replace classic Mac OS, which didn't have modern OS features. It started the Pink project internally to make a next-generation operating system, and eventually in the early to mid 90s, that got spun out into Taligent, the joint venture between Apple and IBM (and later others).

Then Taligent didn't pan out for a variety of reasons. Specifically why is another question, but here it's sufficient to say that Apple decided it certainly wasn't the direction they wanted to go. Taligent ended up being handed off to IBM and repurposed as a rapid app development tool that sat on top of other operating systems (AIX, I guess, mainly) instead of a standalone operating system.

As I recall, Apple may have tried to internally do its own second attempt at a next-generation operating system, essentially a competing project to Taligent, but that didn't work out either.

So that left Apple in the mid-90s but still stuck on an operating system that was rooted in the 1980s and really, really showing its age. And a lot of it was Motorola 68k only (it was never meant to be portable), but Apple had already started to make the shift to PowerPC CPUs. So there was another reason it was time to start fresh.

After at least one if not two failed attempts to come up with their own next-gen OS, here was this company founded by a former Apple luminary, with an operating system sitting there ready to go. NeXTSTEP was already portable enough to run on both 68k and x86 at that time, and once you've got two platforms, you can have pretty high confidence that a third (PowerPC) would be feasible. And I don't think NeXT had great long-term prospects with a standalone platform on its own.

Re:Apple and NeXT announce merger (1996) by kalleboo on Thursday December 21, 2017 @12:06AM (#15976588)
They were also very close to buying Be instead, but didn't due to Jean-Louis Gassée pushing for too high a price http://macspeedzone.com/archive/art/con/be.shtml
Re:Apple and NeXT announce merger (1996) by eloisant on Thursday December 21, 2017 @03:50AM (#15977383)
I'm very curious what would have happen if Apple had bought Be instead.

On one hand it was a much modern OS because build from scratch in the 90's rather based one the good old Unix, on the other hand OSX being Unix is probably why so many software developers flocked to the mac.

Re:Apple and NeXT announce merger (1996) by simonh on Thursday December 21, 2017 @04:47AM (#15977584)
Apple had two problems at the time. One was technology and the other was leadership. Be would have helped with the technology part, but in an incomplete way. It wasn’t just the core OS NEXT provided, but also the application development stack. Be wouldn’t have helped on the leadership front at all though.

The Mac certainly benefited from attracting a lot of Unix devs, but I don’t think that was a significant contributor to its mainstream success.

Re:Apple and NeXT announce merger (1996) by mpweiher on Thursday December 21, 2017 @04:23AM (#15977505)
Interestingly they had a modern OS kernel, Mach to be exact, with a BSD personality running on top of it (in kernel space). After the acquisition, use of Mach wasn't expanded (never got our user-level pagers, for example, or BSD running as a user-level service), but instead pushed back.

Supposedly largely for performance reasons, but of course the L4 kernel showed that didn't need to be the case.

Re:Apple and NeXT announce merger (1996) by AceJohnny2 on Thursday December 21, 2017 @01:58PM (#15981717)
> After the acquisition, use of Mach wasn't expanded

I believe modern XPC services integrated with launchd to allow on-demand job launching (similar to Linux dbus-activation?) are based on Mach 'ports' (IPC).

And tangentially, launchd "domains" (gui/user/system) are based on Mach "bootstrap domains", which is why a job launched in the background ("user") may have trouble communicating with a job launched in the GUI domain, if you're just assuming Unix permissions.

Re:Apple and NeXT announce merger (1996) by askvictor on Thursday December 21, 2017 @05:23AM (#15977740)
Iirc beos did have a POSIX layer.
Re:Apple and NeXT announce merger (1996) by mpweiher on Thursday December 21, 2017 @04:18AM (#15977482)
Yes, they had a "Plan Be", but they went with "Plan A" instead :-)
Re:Apple and NeXT announce merger (1996) by mpweiher on Thursday December 21, 2017 @04:31AM (#15977539)
> NeXTSTEP was already portable enough to run on both 68k and x86 at that time

> and once you've got two platforms,

Agreed with your sentiment, but, er: five. Four released publicly: m68k, x86, HP PA, SPARC. And then there was the Motorola 88000 for the NeXT brick. The SPARC OpenStep/Mach port was in addition to OpenStep Solaris and then there was the Windows stuff. Not sure what else they had running internally.

That was some seriously portable software. And for developers, adding architectures was a checkbox in ProjectBuilder (once you had taken care of being endian-neutral).

UPDATE: just checked the Wikipedia entry on the NeXT brick (aka NeXT RISC Workstation), and it says they were redesigning it based on PowerPC, so the number was probably six and they already had a PowerPC NextStep port when acquired. https://en.wikipedia.org/wiki/NeXT_RISC_Workstation )

Re:Apple and NeXT announce merger (1996) by dbbk on Thursday December 21, 2017 @06:57AM (#15978162)
I've been reading "Becoming Steve Jobs" recently and I think it mentioned that NeXT did already have PowerPC working, hence why they were top of the shortlist of potential acquisitions.
Re:Apple and NeXT announce merger (1996) by mattl on Thursday December 21, 2017 @11:19AM (#15979988)
Yes, look at Firepower Systems -- Jon Rubenstein started it with NeXT's blessing and it did PowerPC stuff based on the NRW tech.
Re:Apple and NeXT announce merger (1996) by hota_mazi on Thursday December 21, 2017 @12:10AM (#15976605)
And that plan worked so well that Apple went almost bankrupt one year later and had to be rescued by a fund infusion from Microsoft.
Re:Apple and NeXT announce merger (1996) by kalleboo on Thursday December 21, 2017 @12:24AM (#15976659)
The story about the $150 million from Microsoft is actually a lot more interesting than that - it wasn't widely reported but it was actually a settlement for a lawsuit in which Microsoft (possibly unwittingly - the job was performed by a contractor) ripped off code from QuickTime.
Re:Apple and NeXT announce merger (1996) by hota_mazi on Thursday December 21, 2017 @01:15AM (#15976834)
Since the lawsuit was dropped by Apple, we'll never really know if it had any merit (and it was not about stolen code but GUI copying).
Re:Apple and NeXT announce merger (1996) by kalleboo on Thursday December 21, 2017 @02:09AM (#15977001)
There was another lawsuit in addition to the GUI "Look and feel" one. Apple contracted a company to port QuickTime to Windows. Intel/Microsoft then contracted the same company to optimize Video for Windows, and they reused QuickTime code which then shipped with Windows. http://thisdayintechhistory.com/12/06/apple-sues-over-quickt...
Re:Apple and NeXT announce merger (1996) by hota_mazi on Thursday December 21, 2017 @12:59PM (#15981114)
Again, this is just Apple suing but we never know the outcome in court.

At the end of the day, both Microsoft and Apple reused ideas they found at Xerox. To quote Bill Gates himself about the situation:

"Well, Steve, I think there's more than one way of looking at it. I think it's more like we both had this rich neighbor named Xerox and I broke into his house to steal the TV set and found out that you had already stolen it."

Re:Apple and NeXT announce merger (1996) by valuearb on Saturday December 23, 2017 @12:38AM (#15993074)
Truth was more that the neighbor had a stereo, Jobs turned it into a TV wile copying it, and Gates made a poor copy of the TV.

The Alto relied on a command line for most operations, no Finder, no trash can, only had a handful of GUI applications, could only handle rectangular regions so no complex controls or menus, and was slower and far more expensive than the Macintosh.

Re:Apple and NeXT announce merger (1996) by valuearb on Saturday December 23, 2017 @12:33AM (#15993066)
Apple had $1.5B in cash in 1997. The Microsoft payment was way less important and bankruptcy much farther away than you think.
Re:Apple and NeXT announce merger (1996) by mattl on Wednesday December 20, 2017 @03:47PM (#15973661)
Yeah, the iTunes store is still WebObjects.

Project Wonder is community supported additions + fixes to WebObjects. https://github.com/wocommunity/wonder

Meanwhile, I found this hat on eBay yesterday: https://i.imgur.com/CuInqYo.png

Re:Apple and NeXT announce merger (1996) by qubex on Wednesday December 20, 2017 @04:01PM (#15973774)
Really?! I knew it had been used originally, but I assumed it had been rebuilt with something new back when Apple deprecated WebObjects in 2009... I'm amazed they're still using it.
Re:Apple and NeXT announce merger (1996) by hugi on Wednesday December 20, 2017 @05:14PM (#15974345)
You shouldn't be that amazed - WebObjects is still very much very awesome. And it's practically an open source framework these days, with new development happening in Project Wonder. But the barrier of entry is a bit high due to lack of documentation, although the community is very helpful on the mailinglists.
Re:Apple and NeXT announce merger (1996) by mattl on Wednesday December 20, 2017 @04:12PM (#15973867)
There's also http://www.treasureboat.org/App/WebObjects/Kisa.woa/cms/road... which is a framework built on top of Wonder which is very actively developed (on a private GitHub right now, but you can get access signing up for a $15 Udemy course)
Re:Apple and NeXT announce merger (1996) by gsnedders on Wednesday December 20, 2017 @08:21PM (#15975552)
Do we know if the iTunes store is an Apple maintained fork of WebObjects or if it is using Wonder?

(Also, hi Matt!)

Re:Apple and NeXT announce merger (1996) by mattl on Thursday December 21, 2017 @11:21AM (#15980016)
I heard its using Wonder.

(Hey!)

Re:Apple and NeXT announce merger (1996) by threeseed on Wednesday December 20, 2017 @05:27PM (#15974455)
I also believe Apple Online Store still uses parts of WebObjects.

Not the full blown EOF, WOF that iTunes uses however.

Re:Apple and NeXT announce merger (1996) by david-cako on Thursday December 21, 2017 @12:15AM (#15976623)
Yeah, and a ton of their developer oriented web portals are as well. Documentation, certificates, App Store distribution, etc.
Re:Apple and NeXT announce merger (1996) by zmonkeyz on Thursday December 21, 2017 @12:17AM (#15976629)
Copland is coming, you just gotta believe.
Re:Apple and NeXT announce merger (1996) by fzn on Wednesday December 20, 2017 @06:20PM (#15974811)
I tought iTunes was based on SoundJam MP.
Re:Apple and NeXT announce merger (1996) by mikeash on Wednesday December 20, 2017 @06:27PM (#15974858)
iTunes the app is, and iTunes the store is built on WebObjects.
Re:Apple and NeXT announce merger (1996) by mattl on Wednesday December 20, 2017 @07:21PM (#15975221)
I think there was also a complete rewrite at some point. Possibly no SoundJam code remains now?
Re:Apple and NeXT announce merger (1996) by blutfink on Wednesday December 20, 2017 @08:15PM (#15975525)
The cost of a WebObjects deployment license was about $50,000 then.