8 ms·
Sony's next-gen application platform built on Objective C/GNUStep
- sudont 16y agoThis seems like a great move superficially. Tons of dev's know Cocoa thanks to iOS, and the language and compilers are open. It will be interesting to see transition difficulty from one implementation to the other. At the very least, Linux is going to get a serious push for GNUStep, and a ton more dev's if it works out. http://fireballed.org/linked/2010/11/24/snap/ http://fireballed.org/linked/2010/11/24/snap/ EDIT: Site's nuked for me. Main page cache from the fireballed.org site: Sony’s Networked Application Platform is a project designed to leverage the open source community to build and evolve the next generation application framework for consumer electronic devices. The developer program gives access to a developer community and resources like SDK, tools, documentation and other developers. The foundation upon which this project is base comes from the GNUstep community, whose origin dates back to the OpenStep standard developed by NeXT Computer Inc (now Apple Computer Inc.). While Apple has continued to update their specification in the form of Cocoa and Mac OS X, the GNUstep branch of the tree has diverged considerably. The GNUstep core libraries strictly adhere to the OpenStep standard and OPENSTEP implementation. They consider changes and additions to their API only under the following circumstances: They add methods and classes, either from Cocoa or their own extensions, if they add substantial value and don't interfere with OpenStep and/or Cocoa compatibility. They generally don't remove things unless there is a clearly better implementation in newer Cocoa API Where there is a real problem with a change, they will attempt find a technically superior work-around. In rare cases, this might involve a change in the original OpenStep API We depart somewhat from the GNUstep adherence in that our goal is to thoroughly modernize the framework and optimize it to target modern consumer electronic (CE) devices. These modern conveniences include such features as touch displays and 3D graphics.
- lenni 16y agoI'm sure they aren't writing another phone OS, but what devices exactly are they targeting? TVs, set-top boxes, MP3 players? I loved the hardware of a Sony MP3 a bought a couple of years ago but it was ruined by absolutely atrocious syncing software. I hope this means they open up their interfaces a little more and let other people integrate with their products.
- sudont 16y agoI got approximately 1.5 pages of their server to load. I think it's being used for "smart" TVs first. It sounds like they're trying to build an Apple-free dev environment familiar to Apple dev's. Quoth the raven: SNAP is a completely open-source licensed (for license details click here) development environment based on GNUstep. Historically, GNUstep is based on the OpenStep specification developed by NeXT (now Apple Computer Inc.) plus additional extensions added by Apple through the Cocoa framework. SNAP is an extension of this framework created by Sony and will take a big step forward in evolving a new application framework. The initial areas of enhancement target the windowing system and graphic framework but further modifications and refinements address networking, widgets, UI building, 3D graphics, file system, garbage collection, performance and execution size. The overall goal of the SNAP project is to develop and evolve a next generation native application framework for embedded devices. While SNAP does not currently target a specific hardware platform or product, the long-term goal is to enable SNAP on Consumer Electronic (CE) devices.
- gcheong 16y ago"SNAP stands for Sony's Networked Application Platform and is the early stage of a new ecosystem for making downloadable 3rd party applications available to networked devices like TVs, Blu-ray Disk players, etc."
- anigbrowl 16y agoPlayStation 4. It's a Good Thing, but I've been overly optimistic about Sony adopting a policy of greater openness before. IIRC devices classed as computers incur lower import charges in the EU than devices classed as entertainment accessories (ie games/toys). Hence Linux on PS2, PS3, and...?PS4? So far, this has been something of a letdown after launch.
- rbanffy 16y ago> Sony adopting a policy of greater openness Sony had, a long time ago, a family of Unix workstations. At that time, those systems were called "open" in the sense that they played well with other systems over documented protocols.
- frb 16y agoAt the very least, Linux is going to get a serious push for GNUStep, and a ton more dev's if it works out. That's what I hope too. While Cocoa has grown into a powerful API, the development on GNUStep has stalled. Interesting, that there's no word about the Cocotron project (http://www.cocotron.org http://www.cocotron.org), even though they seem to have similar goals. Pretty curious how this is going to work out.
- chc 16y agoThe big difference is that GNUstep is focused on Linux while The Cocotron is focused on Windows.
- frou_dh 16y agoIn other words Sony feel they need to at least make the iOS brain-drain a two way street?
- deleted 16y ago[deleted]
- cpr 16y agoInteresting--they're basing the 2D graphics on Cairo, which is probably the best choice available in the OSS world.
- jonhendry 16y agoI'm too old - when I read this my first thought was "Microsoft's stillborn 90's project?"
- allenbrunson 16y agowow. wouldn't have guessed this would happen in a million years. we are all well aware of apple's successes in the last few years, but they all seemed to be happening in their own little walled-off corner of the world. it's typically apple's tech versus the rest of the industry. now here's a sign that apple's influence is being felt at even deeper levels. i guess webkit was another sign of this, but that doesn't seem as stark as some other company adopting objective-c.
- juiceandjuice 16y agoExcept webkit was a fork of KHTML.
- brianpan 16y agoExcept Chrome uses WebKit, not KHTML.
- nkassis 16y agoI don't see how this is relevant. Obviously KHTML is now surpassed by Webkit because most of the development for KHTML was diverted into Webkit + a huge influx of new dev from Apple and now Google. It doesn't remove from the fact that Apple benefited from the work the KTHML guys did. They could have used Gecko, but they didn't, obviously there was something good about KTHML.
- allenbrunson 16y agoit is relevant because apple's involvement was what caused that particular project to become the de facto go-to web rendering engine.
- juiceandjuice 16y agoStill, neither GNUStep/NS, KHTML/Webkit, or even the Mach/XNU kernel were native Apple tech. To portray them as that in a "Apple VS. The World" scenario is a bit misleading and presumptuous. Webkit and KHTML are still both mutually beneficial projects.
- frankus 16y agoI vaguely remember that there was an Objective-C environment in one of the 90's game consoles. I want to say PlayStation, but it could have been one of the Sega consoles. Anyone know more?
- dazzawazza 16y agoIt certainly wasn't the PSX, I spent years in MIPS ASM and C on that loveable rogue platform (from hell).
- rikthevik 16y agoI still have a soft spot for MIPS. What a great assembler.
- zach 16y agoWhen I was working at Sega, I innocently asked Toshi Morita if the Saturn port of GCC could support Objective-C. He nearly freaked out since it was already as much as he could handle to keep it working with C++. I never mentioned it again...
- teamonkey 16y agoNot an Obj-C environment, but perhaps you're thinking of the Sega Dreamcast OS being an optimised version of WinCE with DirectX bindings?
- pedanticfreak 16y agoNot exactly the same, but the PS2 Linux Kit shipped with GNUstep by default. So at least some people at Sony have always had a soft spot for the platform.
- j_baker 16y agoWhat's especially interesting about this is that Steve Jobs modeled so much of Apple on Sony. Interesting to see things work the other way around.
- mitjak 16y agoFirst time I hear about that. Source?
- _delirium 16y agoJobs was reportedly greatly influenced by Sony's late-70s/early-80s design sense, especially wildly popular consumer products like the Walkman. This book has a brief mention of Apple sharing a building with a Sony office in 1977, though I could've sworn I've seen a longer discussion somewhere: http://books.google.com/books?id=W4_P8LDZOmAC&pg=PT38 http://books.google.com/books?id=W4_P8LDZOmAC&pg=PT38. I think Jobs has actually said somewhere that the iPod was intended to be the "Walkman of the 21st century".
- frou_dh 16y agoPresumably: http://www.cultofmac.com/john-sculley-on-steve-jobs-the-full-interview-transcript http://www.cultofmac.com/john-sculley-on-steve-jobs-the-full...
- po 16y agoThere's also a funny story about Jobs trying to build their own disk drive instead of using Sony's: Quick, hide in this closet! http://www.folklore.org/StoryView.py?project=Macintosh&story=Hide_Under_This_Desk.txt http://www.folklore.org/StoryView.py?project=Macintosh&s...
- siculars 16y agoIf you can't beat 'em, join 'em.
- swannodette 16y agoHonestly I always considered Objective-C to be one of Apple's secret weapon. Both higher and lower level then Java. Objective-C stays closer to the spirit of Smalltalk yet presents no hoop jumping when you need the performance of C. That, and Cocoa was not designed by morons - protocols and delegation, not inheritance, rightfully rule the day.
- seanalltogether 16y agoI'll agree with you on the protocols but not on the delegation. In fact apples engineers are all over the place on applying delegation and event handling. Some components have up to 3 different ways of handling callbacks - delegation, events, and notifications. Delegates are fine when you demand a 1 to 1 handshake, but they shouldn't be used for general callbacks.
- swannodette 16y agoDo you have a specific case in mind?
- seanalltogether 16y agoUITextField is a good example - http://developer.apple.com/library/ios/#documentation/uikit/reference/UITextField_Class/Reference/UITextField.html http://developer.apple.com/library/ios/#documentation/uikit/... There are 7 delegate callbacks, 2 of which are voids so they're not really delegation methods. There is also a large list of UIControlEvents also sent around value change and touch events. Lastly 3 NSNotifications can also be dispatched by this object when data changes. Some of the list components are equally bad. The rule of thumb for ideal delegate vs event models is this. If you need a value returned, it should be a delegate method - (UIView )viewForZoomingInScrollView:(UIScrollView )scrollView but if a callback returns no data, it should not be a delegate but rather an event - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView there is no reason for a void method to only allow for one listener and it's bad design.
- adamjernst 16y ago
- curtisspope 16y agothis is the secret to dethroning apple.especially if devs can have an open app store with less stringent rules
- rbanffy 16y agoI think the best thing here is that GNUStep is GPL - any improvements - and there will be many - bringing it to the same functionality level as Apple's equivalent will be also GPL'ed and open for all.
- cobbal 16y agoDo you know if this will have any implications for applications built on it (will they be forced to use GPL)?
- pavlov 16y agoGNUStep is LGPL, which is less strict that GPL. Applications can link dynamically to LGPL libraries without needing to adopt the license.
- xiaomai 16y agoGNUstep is actually licensed under the LGPL, so applications that link against GNUstep libs are not required to be similarly licensed. If GNUstep were GPL, however, the app would also need to be GPL'ed. This is how Trolltech used to charge money for commercial use of Qt. Qt was dual-licensed under the GPL and a commercial license, so GPL'ed software could freely use the library, but non-GPL software would have to pay for the commercial license.
- rbanffy 16y agoOops... Correct. GNUStep is LGPL. I should start writing * GPL as I do with * BSD As for linking proprietary code do GPL'ed libraries, the license is not explicit. However, according to Larry Rosen (http://en.wikipedia.org/wiki/GNU_General_Public_License#Point_of_view:_linking_is_irrelevant http://en.wikipedia.org/wiki/GNU_General_Public_License#Poin...) linking, even statically, does not make a derived work (that would be subject to being GPL'ed by accident). Also, the GPLv3 has some different wording. I understand the GPLv3 makes it less likely a program linked to a GPL'ed library will be considered derivative.
- rbanffy 16y ago
- achille 16y agoThis is a great coup for GNUStep, back in 2006 when Greg took over as maintainer he posted a blog entry about future plans. Lots of people on slashdot pretty much mocked him and the project. http://tech.slashdot.org/story/06/12/26/0342200/GNUstep-Project-Gets-New-Chief-Maintainer http://tech.slashdot.org/story/06/12/26/0342200/GNUstep-Proj... ie: "by Psychotria (953670) ...I think this dude is a complete moron..." Looks like Greg proved them wrong. As they say: "Living well (or rather: doing well in this case) is the best revenge."
- mambodog 16y agoThe thing that surprises me about this is that I took a look in at GNUStep recently and it kind of seems... unloved. I imagine Sony's had its work cut out bringing things up to date. Also, I would be interested to know how much GNUStep code Sony will be using and how much it will be re-implementing. I've heard some pretty average things about the state of the GNUStep codebase.
- Stormbringer 16y agoMy impression is that Objective-C is pretty big (for a minor league language) in the US, but that elsewhere in the world its use is nearly non-existent. Most places I've lived you could throw a shoe and hit a Java developer or a Windows (VB/.net) programmer, but you could set a nuke off and not kill any Objective-C programmers. I think NeXT and Apple never really bothered promoting it outside of the US. Australia has just about the highest level of iPhone usage per head of population, but prior to the iPhone coming out jobs for Objective-C were running at something like one per N-thousand Java jobs. Now the iPhone pops up, and all of a sudden everybody wants an Objective-C programmer with 5 years experience and proven commercial success on the iPhone... well... guess what... you reap what you sow. Because virtually nobody in Australia invested in Mac programming for all those years, you now don't have a deep pool of talent to dip into. But a similar thing may happen with Android ... anyone that didn't invest in Linux programmers is at a disadvantage.
- jonhendry 16y agoTrust me... it was rare as hen's teeth in the US also, especially during the period after Java came on the scene but before the iPhone. (In 2001 I found myself looking for work with 10 months' of Java experience, and 8 years of NeXT experience. I doubt anyone hiring had any clue what Objective-C, NeXT, OpenStep, EOF were. Certainly the HR drones didn't.) Back in the NeXT days, I think interest was primarily in US/UK/Germany, with some interest in France and Japan and maybe some Swiss activity due to the investment banks.
- xiaomai 16y agoAs far as android is concerned, I'm not sure that Linux experience provides any advantage. The libraries are all standard java stuff or android-proprietary. The development tools are also well supported on all platforms (AFAIK).
- sandGorgon 16y agoWhat is the meaning of SNAP has a re-architected display model and backend based on Cairo evolving toward COLLADA over time. COLLADA looks like an XML based digital asset interchange format.
- aufreak3 16y agoSite says "SNAP development is currently on hold" (http://snap.sonydeveloper.com/ http://snap.sonydeveloper.com/). Dead on arrival?
- postfuturist 16y agoThere were some download links for an SDK and instructions. I didn't download anything right away (stupidly), and when I came back a couple hours later, all that stuff was replaced by this "currently on hold" message. Sigh. EDIT: You can see info about SDK stuff on Google's cached version of some pages. EDIT 2: You can still download the SDK here: https://snap.sonydeveloper.com/common/pages/documents/view/?id=1001001 https://snap.sonydeveloper.com/common/pages/documents/view/?...
- Leynos 16y agoDo you think they may have run into legal issues with Apple once news of this project started to spread?
- aufreak3 16y agoUnlikely, since they're based on GNUStep.
- Leynos 16y agoGNUstep being more or less a re-implementation of Cocoa (and prior to that OpenStep). I'm not suggesting any copyrights have been infringed upon (indeed, I'm an avid user of GNUstep), but I always wondered if GNUstep would fall foul of the same kind of patent threats that Mono detractors seem to feel it is at risk from if it ever gained commercial traction. In fact, Apple has already made legal threats against manufacturers of Android phones, Android having nothing to do with Cocoa or Cocoa Touch.
- halfADDer 16y agoi don't see anything in the article that supports the claim of the title. seriously, did anyone even read it?
- J3L2404 16y agoFrom the documentation: SNAP is Sony's Networked Application Platform and is intended to be the basis for future consumer electronic devices. It is planned to evolve this into a complete software stack that will allow third party applications to run on Sony consumer electronics products. This Linux based software stack will include operating system, device specific middleware, general and device specific Objective C APIs including GNUstep, and key applications. The SDK will provide the necessary tools to begin developing Objective C applications for the SN Application Platform. On a typical CE device hardware resources are much more limited than in the average PC or even a netbook. In order to get the most out of the available hardware it is therefore necessary to control access to scarce resources and manage their use and coordinate sharing them between applications. This is one goal of the SNAP stack. The other one is to provide the application developer with easy to use libraries to access all capabilities of the underlying hardware without reinventing the wheel.
- hakl 16y agoFrom the chief GNUStep maintainer: http://heronsperch.blogspot.com/2010/11/gnustep-is-not-openstep.html http://heronsperch.blogspot.com/2010/11/gnustep-is-not-opens...