Apple Releases First Preview of Swift 3.0 (macrumors.com)
DaGoatSpanka quotes a report from MacRumors: Apple yesterday released the first preview build of Swift 3.0, a major update to Apple's open source Swift programming language. Swift 3.0's official release is expected to come in late 2016 after proposed changes are finalized. The Swift 3.0 preview can be downloaded from the official Swift website. There are versions of Swift 3.0 available for Xcode 7.2, Ubuntu 14.04, and Ubuntu 15.10. [Swift 3.0 is not source compatible with Swift 2.2 as it introduces source-breaking changes, but going forward, the goal is to make Swift 3.0 source compatible with future Swift language updates.] Swift 3.0 will likely be shown at Apple's upcoming Worldwide Developers Conference (WWDC).
Last release broke for loops, what was broken now? If statements??
And thus, Swift will forever remain nothing more than a toy language for worthless apps.
Make no mistake: this isn't Swift version 3 - it is the language Swift 3. I guess Swift 4 will not be (completely) backwards compatible either. Because the idea of a programming language evolving from a stable, thoroughly tested base specification is old - not fit for the Apple(TM) generation...
> Java is far superior
Ugh. Swift must be pretty bad, then.
Now that we're seeing some real progress with making Swift a cross-platform language, I think it's time for Mozilla to drop their Rust project.
For those who don't know, Rust's home page describes it as "a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety." Well that sounds an awful lot like what Swift is!
While Swift has already seen major adoption and use in the real world, we haven't seen that from Rust. There have been a handful of projects using Rust, but that's it. And the ones that have used it, including the Rust implementation itself and Mozilla's Servo browser engine, have not been very impressive so far.
Despite lofty goals and a lot of hype, we haven't seen anything much of substance come out of Rust. Many have complained that it's an awkward language to use, even more than C++ is. Others have pointed out that C++14 and C++17 actually make much of Rust redundant. Yet others point out that Rust's safety guarantees are only as good as its implementation, which suffers from thousands of bugs despite much of it being written in Rust by the creators of Rust!
There was recent discussion about Google adopting Swift for Android. IBM has also taken an interest in Swift. Instead of continued failure with Rust, which is essentially a proprietary language at this point even if it's developed in the open, Mozilla should really consider using Swift, too.
It wouldn't just be better for Mozilla. It would be better for all developers. Swift is quickly becoming a universal language. The large number of developers proficient with Swift could contribute to Mozilla's code bases, rather than just a small handful of niche developers who know Rust.
Swift is the future. It's where software development is heading. Mozilla can do the sensible thing by getting rid of Rust and moving to Swift early on, or they can continue to waste time and effort on Rust. I sure hope they make the sensible decision! A modern web browser written in Swift would be much more useful than a web browser written in Rust.
https://i.imgur.com/dUk9aen.jpg
No such thing as a trustworthy spy.
Dig a big big big mother fucking tomb.
That is the most ridiculous statement ever. Nothing that anyone has learned is obsolete. They removed extra verbosity from standard library function calls - Objective C was, by convention, excessively verbose in naming of methods, enums, classes, everything. Moving away from that legacy is not bad, and they are releasing a tool to automatically convert code. Nobody will be forced to rename everything in their own code. You're frankly coming across as a complete troll.
Really? So you are saying my PDP11 ML knowledge isn't obsolete? Thanks for the tip. It isn't trolling: it is a warning to avoid languages controlled by a single corporate entity. They can pull things from under you at their whim. Also, what a laugh: Swift 2.2 was released on MARCH 16, 2016!
Apple developers are probably used to the abuse by this point considering that the Mac itself has undergone three architecture changes as they moved from the Motorola 68000 to IBM PowerPC and then to x86. I wouldn't be surprised if in another five years they've completed abandoned x86 and move to using their own ARM SoC designs for all of their products.
They probably should have kept Swift behind closed doors while tinkering with it to make all of these changes. I realize that you need people using the language to discover ways of making it better, but Apple has loads of their own developers that could used started using the language and helping it evolve before releasing it to the public.
Your argument makes no sense.
First of all, there's no such thing as "obsolete" knowledge when it comes to programming languages. This knowledge is very useful if you ever have to maintain code. And the newer knowledge typically builds upon the older knowledge.
Additionally, programming languages developed by open source communities or working groups suffer from exactly the same problem. Yes, when moving to a new version of a programming language we as programmers need to learn new things! It doesn't matter if you're using Swift or Java or C++ or Perl or Ruby or Erlang or Haskell or Lua or JavaScript or whatever other language you want to consider. It doesn't matter who developed the new version of the language. A new version of anything typically implies some learning will be involved!
It sounds to me like you want stagnation. Well, sorry son, but that doesn't fly when it comes to technology. Technology is always advancing. If you can't keep up, then you should drop out and find something else to do.
Too bad if you put time into learning Swift 2.0. That knowledge is now obsolete. And when Swift 4.0 comes out, your Swift 3.0 knowledge will be obsolete. My advice to young programmers: avoid languages owned by corporations. They have time and money to waste. You don't.
LOL I take it that you have never looked at C++, an ISO standardized language. Code written in C++98 and C++14 almost appear to be written in different languages.
And actually one of the advantages of a corporate controlled language is you totally avoid the "Designed by committee approach" to things.
I am Slashdot. Are you Slashdot as well?
Actually C++ is a good example: C++ was released in 1985 and has multiple compilers available and that code still compiles in 2016. Swift 2.2 came out 3 MONTHS AGO. There is no advantage to a corporate controlled anything.
And as I mentioned above there have been breaking changes in C++
I am Slashdot. Are you Slashdot as well?
However, that C++14 compiler will happily compile your C++98 legacy code. It doesn't break. You can keep writing in the old style and gradually modernise your stuff in-place if need be. Code written for Swift 2 will not compile with Swift 3.
I've seen plenty of code from pre-C++98 that doesn't compile on modern compilers, actually. The C++ language and implementations were making incompatible changes until standardization completed, and beyond (mostly because the standard was extremely difficult to implement correctly).
But that's not saying much...
As obsolet as my knowlege in
* Cobol
* K&R C
* Pascal
* Java 1.1
???
You seem not to work in the software industry.
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
Sure but C++98 was 18 YEARS ago. Swift 2.2 was released 4 MONTHS AGO. What a joke.
Cobol, K&R C, Pascal are not obsolete - just no longer widely used. However you are right about Java 1.1, another corporate product. You seem not to be able to grasp what I am talking about here. K&R C was released 40 YEARS AGO. Swift 2.2 was released 4 months ago. Moron!
Because apparently their engineers lack the ability to think far enough ahead to design something that lasts longer than a single coding cycle.
C++ is 30+ years old. Swift 2.2 is 4 MONTHS old and is obsolete. I hope you see the difference here.
Swift is a good idea of how to do things wrong. But what about C#. It's made my Microsoft, who everybody loves to hate, yet C# and the .Net framework is probably one of the best development environments out there. They have a pretty good record of not breaking too many things with new releases. They also do pretty well adding new features that programmers want. I prefer it much more to other languages that aren't controlled by corporations such as PHP, Python, or C++..
Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
Not at all. The changes are slight. 95% of what you know still works, just a few things have changed.
For example:
(1) method call names.indexOf("Taylor") has changed to names.index(of: "Taylor")
(2) "Taylor".containsString("ayl")
"Taylor".contains("ayl")
If you can't figure out these things, and think all your 2.0 knowledge is lost, I don't know what to say.
Too bad if you put time into learning Swift 2.0. That knowledge is now obsolete. And when Swift 4.0 comes out, your Swift 3.0 knowledge will be obsolete. My advice to young programmers: avoid languages owned by corporations. They have time and money to waste. You don't.
LOL I take it that you have never looked at C++, an ISO standardized language. Code written in C++98 and C++14 almost appear to be written in different languages.
And actually one of the advantages of a corporate controlled language is you totally avoid the "Designed by committee approach" to things.
You know, I sorta /broadly/ agree, but c'mon - you're comparing differences across 18 years for C++ to differences across 4 months for Swift. Why not compare C++11 and C++14?
I'm a minority race. Save your vitriol for white people.
avoid languages owned by corporations
So you suggest C++ is any better? One of the companies at the table which determines the future of C++ is Microsoft, and they want as much lock-in into their OS as possible. This has caused things like multi-threading not appear until 2011, and only on the pressure of other languages as C++. Coding cross platform programs that exceed the simple hello-world in C++ is entirely impossible except for very simple hello-world programs if you don't use libraries. In other languages this is true of course as well, but their std is much larger, and you are less reliant on libraries there. Microsoft does as much as it can to keep std as small as possible so that people get locked into windows.
Also, as the compiler vendor gives you the std in C++, you are locked in into the std implementation of the vendor. This for example means that if you develop anything for consoles like sony, you essentially can't use std.
Seriously, Apple, where's the love?
Apple developers are probably used to the abuse by this point considering that the Mac itself has undergone three architecture changes as they moved from the Motorola 68000 to IBM PowerPC and then to x86. I wouldn't be surprised if in another five years they've completed abandoned x86 and move to using their own ARM SoC designs for all of their products.
True, but relatively speaking, the change overs weren't completely horrific. The 68K and Mac OS 9 emulation stuck around for quite a while before being dropped. The "Universal apps" were also quite a clever use of NeXT's tech with multi-arch binaries.
Certainly better than trying to move everyone fro x86 to Itanium, as Intel tried. At least during the various Apple transitions you could copy your existing binaries over to the new hardware without too much fuss.
Not ideal, but certainly not an apocalyptic scenario.
And when C++ was as young as Swift, you had different compilers that were mutually incompatible. Your argument is backwards, as young languages tend to break backward compatibility a lot more.
Sure but C++98 was 18 YEARS ago. Swift 2.2 was released 4 MONTHS AGO. What a joke.
Is that you Donald?
I am Slashdot. Are you Slashdot as well?
Yes, the newer language should be experiencing much more flux as it is developed. Which, by the way, is exactly what apple told developers to expect.
"In America, first you get the sugar, then you get the power, then you get the women..." -H. Simpson
Apple told developers that Swift 2.2 would be obsolete in 4 months? Wow, and people still used it? How stupid.
You are conflating compilers with language stability. The fact is that Apple could discontinue Swift tomorrow and you would by out of luck. Avoid corporate controlled languages.
I guess the fact that 18 years >> 4 months is lost on you. Oh well, enjoy Swift until Apple gets bored with it and discontinues it and replaces it with something "better".
Yes I am suggesting C++ is a lot better. What the fuck does Microsoft and cross platform have to do with anything?
Funny thing about K&R C, within a couple years function call and enum syntax was changed, among various other backward compatibility breaking ... i.e. in about the same timescale as changes being made to Swift. Swift 3 resembles resembles Swift 2 far more than early than the C used by early compilers resembled K&R. You seem to be assuming some sort of binary view of languages, that they are either 100% the same or not, when evolving languages tend to be very similar with a couple changes. The vast majority of Swift 3 is just like earlier versions, so nearly everything a programmer previously learned is still completely relevant today.
If you freak out this much about library function name changes, you wouldn't have been able to handle the early years of C and C++ before libraries were standardized... or I guess after standardization where new standards incorporated new libraries from other projects with slight name changes...
You can "figure out" things and rewrite your codebase every four months or you can avoid language controlled by a single corporation that changes things at their whim. It is your career I guess.
But is is 2016 now. Why would you choose to go back to 1985 when standardized languages didn't exist? Insane. You can continue to chase Apple around if you want, but if you are a young programmer you are foolish to invest time in some corporations language that they can discontinue at any point.
I guess the fact that 18 years >> 4 months is lost on you.
Obviously you weren't around 18 years ago, otherwise you wouldn't be comparing Apples to Oranges. New languages in their infancy are always in a state of flux.
Oh well, enjoy Swift until Apple gets bored with it and discontinues it and replaces it with something "better".
What, things change? Say it ain't so.
I am Slashdot. Are you Slashdot as well?
I was around 18 years ago. That is my point: why would you use a language that is in flux and a single corporate entity can control or drop on their whim? And no: things don't have to change every 4 months. But go ahead and waste your time "learning" Swift, Rust, ObjC, etc if you want.
Apple stated when Swift 1.0 was released that it was a work in progress and that there would be a flurry of updates coming and that, while they would maintain binary compatibility, they would not be able to maintain source compatibility as they changed and streamlined the language. Anyone using swift is well aware of this.
"In America, first you get the sugar, then you get the power, then you get the women..." -H. Simpson
And people still used it? How stupid. I guess Apple was smart not to use it for any of their projects.
What company has time and money to rewrite code every four months?
Tired of my customary (Score:1)
I was around 18 years ago. That is my point: why would you use a language that is in flux and a single corporate entity can control or drop on their whim?
Oh please enlighten me then. What is this magical language that you would have me develop in?
And no: things don't have to change every 4 months.
As stated previously by me and several other people, Apple stated at the outset that Swift would go through syntactical changes until it settled down. But it appears that you think a language needs to spring from the bosom of its creator in a perfect yet fixed, state.
But go ahead and waste your time "learning" Swift, Rust, ObjC, etc if you want.
Knowledge is never wasted.
I am Slashdot. Are you Slashdot as well?
Microsoft controls the MSVC compiler which is one of the C++ implementations, and this gives microsoft a seat at the table: https://isocpp.org/std/the-com...
Only because C++ has multiple compiler vendors it does not mean that the vendors do not try to do evil stuff with the control they have over the compilers, and therefore over the users. The usual suspect here is always Microsoft.
You may not be locked in into a particular compiler vendor, but as the std is very small you either use the unofficial extensions (and get locked in).
You know generally I share your attitude that you have to distrust single companies (this attitude is really healty!), but in the case of c++ the development is really impaired thanks to each vendor trying to become market leader, they focus more at fighting each other than trying to improve the actual language.
I'm not aware of any good programming language that never required any revision. So you are basically holding Apple to a standard that noone else has ever met before...
But hey, if it makes you feel better about your own miserable life to complain on the internet...
I think the reason you are attracting such replies is that you appear to be completely ignoring the changes in computing since C++ came out. The two are clearly not comparable, as C++ was developed during a time where access to the internet was out of reach of most people. Where languages had to be incredibly stable simply because changes to them could not be disseminated to all affected parties very quickly. Where documentation was in printed books instead of digital. Where transpilers were a lot less effective as they are now. This is just scraping the surface - the differences between then and now are like night and day, yet you made absolutely no reference to them. I think if you accepted that what happened to a relatively low-level language back then might not be particularly relevant to a high-level language now (and maybe calmed down a tad) you might be having more of a discussion and less of an argument.
should the world stop using Python?
And PDP11 ML isn't a programming language, dumbass.
Code written by two different programmers in c++ looks like two different languages.
What corporations control Python?
C# and the .Net framework is probably one of the best development environments out there.
Add to that the quality of Visual Studio compare to other IDEs. Case in point Xcode can't refactor Swift.
I am Slashdot. Are you Slashdot as well?
Some minor tweaks added in '89 (from wikipedia): multiple inheritance, abstract classes, static member functions, const member functions, and protected members.
And even later still were added: templates, exceptions, namespaces, new casts, and a boolean type.
C++ underwent way more fundamental changes in its first 10 years than Swift has undergone in its first 2...so maybe we should all just chill out a little bit.
C++ relies on the C preprocessor, which is very limited, on doing macros.
C++ has type-safe and/or scoped alternatives to a lot of things that used to need C macros.
Thanks to this you don't have scoped macros for example.
C++ has namespaced templates.
In rust the macro system is done much later in the process, so that you can declare a macro inside a function, and after the } closing brace the macro scope ends!
In modern C++, you can likewise declare a lambda inside a function (example). This could replace the C-inspired use of macros as ghetto inline functions.
Every new language goes through major revisions early in its life which is the exact reason why only professionals write production code in mature languages.
All that one has to do is look at the evolution in PHP and Ruby as examples.
So you are saying my PDP11 ML knowledge isn't obsolete?
Different people define "obsolete" in different ways. I might feel justified in calling my 6502 assembly language knowledge not obsolete because just last year I found work as lead programmer for a project using it.
it is a warning to avoid languages controlled by a single corporate entity.
Which non-retro ISA isn't controlled by one company or a small handful thereof? ARM is controlled by ARM Ltd., and x86-64 is controlled by the Intel/AMD cartel. This leaves what? An older version of MIPS that Loongson processor adopted?
Apple could discontinue Swift tomorrow and you would by out of luck.
Unless someone else takes up maintainership of a fork of Swift under the Apache License.
You can use std for PS4, with some minor caveats. Your point is unsupported.
None of their products work well. They're all hopelessly out of date. Why would anyone ever use Swift? Java is far superior.
God DAMN!!!
Some people will even bitch when somebody GIVES them something!!!
Now go crawl back under your slime-encrusted rock and DIE MOTHERFUCKER DIE!!!!
You are not worth wasting the planet's oxygen.
The same one that controls your reading skills.
Is anybody going to bite on a new proprietary language? Have we not learned anything from what Oracle has done with Java?
Mod this man up please. He Hit the nail on the head. A nail full of Rust, but he did it in a Swift manner, but now the nail looks like a C. I guess that's a ++
Hehe sorry but mod him up. He is 100% correct.
Too bad if you put time into learning Swift 2.0. That knowledge is now obsolete. And when Swift 4.0 comes out, your Swift 3.0 knowledge will be obsolete. My advice to young programmers: avoid languages owned by corporations. They have time and money to waste. You don't.
You must be some kind of piss-poor excuse for a developer if you can't handle a little bit of syntactic growing pains in a brand new language.
My feeling is that you simply saw "Apple" and warmed up your flamethrower.
You have never written a single byte of code in your life.
State of Flux. 3.0. Pick one.
Perhaps a nicer way to express it might have been "As of right now, this language is too unstable for me to use in production. I'll let others be the guinea pigs until it matures."
No, otherwise, the statement would've been that "Swift > C". No, the superiority of Swift is only in comparison to the things that Objective-C adds to the original C language. And pretty much everyone outside of the RDF agrees that Objective-C is a terrible language, while original C is not.
Different people define "obsolete" in different ways. I might feel justified in calling my 6502 assembly language knowledge not obsolete because just last year I found work as lead programmer for a project using it [3dcartstores.com].
Hey! I read somewhere a few years ago that the 6502 is/was the most popular CPU core in application-specific ICs. Might not be true anymore, but you don't exactly need a 32 bit ARM for a LOT of things even now, and PICs are too pricey for a lot of applications.
Plus, there isn't a more "accessible" ML than the 650x instruction set.
What corporations control Python?
I can think of two possibilities: Python Software Foundation Inc. and Dropbox, which employs Python BDFL Guido van Rossum.
So, I'm not able to maintain my Swift 2.2 code anymore just because Swift 3.0 or 4.0 is out?
Strange, I had assumed my old Swift 2.2 compiler just runs as usually.
What strange Computers are you working on that old Compilers suddenly stop working?
Moron? Again so insulting ... you suffer from an ulkur or something?
However you are right about Java 1.1, another corporate product. :D
You missquote me. My Java 1.1 knowledge is still needed for maintaining legacy code, just as my rudimentary Cobol knowledge
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
Apple developers are probably used to the abuse by this point considering that the Mac itself has undergone three architecture changes as they moved from the Motorola 68000 to IBM PowerPC and then to x86. I wouldn't be surprised if in another five years they've completed abandoned x86 and move to using their own ARM SoC designs for all of their products.
It's not abuse; it's evolution, and Apple, it's development community (assisted in no small measure by some VERY clever tools and APIs by Apple), and it's OSes have done a FANTASTIC job of making those transitions nearly painless for the average Mac user.
Can you imagine the clusterfuck that would ensue if MS tried to do that with Windows? Hell, they couldn't even do a transition from 32 bit to 64 bit ON THE SAME CPU without a bunch of bullshit THAT AFFECTS THE USER (separate 32 and 64 bit OSes, APIs, Drivers, Apps, etc). WHAT a CLUSTER!!!
To my knowledge, The only time that kind of BS affects a Mac user is with AU plugins. And there are "wrappers" that in most cases can handle even that without involving a recompile or redesign of the plugin.
True, but relatively speaking, the change overs weren't completely horrific. The 68K and Mac OS 9 emulation stuck around for quite a while before being dropped. The "Universal apps" were also quite a clever use of NeXT's tech with multi-arch binaries.
I think you can STILL run Carbon Apps (as long as they are at least universal binary), even though Carbon has been deprecated for SEVERAL years now.
C++ is 30+ years old. Swift 2.2 is 4 MONTHS old and is obsolete. I hope you see the difference here.
Yes, C++ is mature (God help it). Swift is still evolving.
Have other languages made the syntax incompatible on each version? This is just as stupid as if C++17 would replace "{" and "}" chars with "begin" and "end".
Not everyone is a lazy shit. It takes about 5 minutes to update a moderately-sized code base from 2.2 to 3.0 syntax. Xcode provides a built-in tool to do it for you, and you just have to fix up the few cases it doesn't find on its own. It's really trivial for anyone who isn't a spoon-fed piece of dirt.
After they gave up being a hardware box vendor, NeXT was more cross platform than many people give them credit for. I have a NeXTStep Os installer CD set for HP's PA-RISC.
Discontinue? They open-sourced the standard library, not to mention the compiler. If someone wants to use it, they can, no matter what Apple does with it.
They can't do that, it would screw up my 'begin' and 'end' macros.
If by "rewrite" you mean "spend 5 minutes using the built-in Xcode wizard", I guess just about the entire world. It's a shame you choose to be a degenerate shit.
One could argue that M6800 is a nicer arcitecture to code for, but 6800 is a dead architecture. M6809 is better than 6502, too, but another dead architecture.
Julia is far better language than those 3 new commer.....
Microsoft gives us Windows 10.
I want to try Swift on my NetBSD system. Where is the source tarball for this "free" language they're giving away?
So this language is so "open" that it's only usable within Xcode? It sounds like a small world propritary deal.
The main Swift repository, which contains the source code for the Swift compiler, standard library, and SourceKit.
https://github.com/apple/swift.git
Documents related to the continued evolution of Swift, including goals for upcoming releases proposals for changes to and extensions of Swift.
https://github.com/apple/swift-evolution.git
The set of things classified as a "revision" is obviously a superset of things classified as "breaking change". If you stay out of the "breaking change" category (e.g. only new syntax that did not previously compile) then it isn't a problem.
Yes, there are plenty of language updates which do not break existing code. When they do, many language design teams strive to limit any breaking changes to concepts that are only used by a very small number of people, or bugs which result in undocumented behaviors that very few or no developers rely on.
Then there's the case at hand, which sounds like nearly all existing code will break in some way. It's completely different.
All my liberal friends think I'm a conservative, all my conservative friends think I'm a liberal.
So, I'm not able to maintain my Swift 2.2 code anymore just because Swift 3.0 or 4.0 is out?
Strange, I had assumed my old Swift 2.2 compiler just runs as usually.
Well Xcode 7 only came with a Swift 2 compiler, so you could not maintain Swift 1 code with that version. I assume that once Swift 3 is officially out that Xcode will pull a similar trick regarding Swift 2.x
However Apple does supply migration tools that the "person" you are replying too is seeming to totally ignore.
I am Slashdot. Are you Slashdot as well?
So this language is so "open" that it's only usable within Xcode? It sounds like a small world propritary deal.
And 5 seconds on google finds Introduction to Open source Swift on Linux
I am Slashdot. Are you Slashdot as well?
Are you really as stupid as you make yourself out to be? Or merely a troll?
It's perfectly usable outside of XCode.
Have other languages made the syntax incompatible on each version?
Compatibility was broken between Python 2 and Python 3 to clean up the language. For example, print "Text" in Python 2 got replaced by print("Text") in Python 3.
One could argue that M6800 is a nicer arcitecture to code for, but 6800 is a dead architecture. M6809 is better than 6502, too, but another dead architecture.
Wow! FINALLY something we can agree on, LOL!!! Mark this date on your calendar!!!
I LOVE the 6809. It's more like a miniature 68k in some respects than a beefed-up 6800. I just wish it had caught on as a core for Mot.'s MCUs, rather than the pissant 6801 core they used in the 6805 and HC11 series.
I have written tens and tens of thousands of lines of Assembly code for all of those cores, and even modified a popular Apple ][ 6502 assembler to cross-assemble 6809 (and later, even 8085) code.
Good times, good times...
I write applications (big ones) for OS X using c and c++. Targeting 10.6.8, my code still works fine under 10.11 today. It ports to Windows easily as well. Re Windows, targeting XP, it all works right up to the current version of Windows. XP broke the OS windowing metrics, otherwise my stuff would still work with Win98. :) Apple hasn't done anything quite that stupid. Well, yet. 10.6.8 is where 64-bit code began to work; and it's the last OS X that supports PPC (my HP calculator emulation, bunch of audio drivers, my old mame (which is actually fairly important to me, because some of those games are my code, and code from close friends in the day, and I want that stuff to work as long as possible), all kinds of stuff in Appleworks, etc., etc. So 10.6.8 is where I planted my flag, so to speak.
Of course if you decide Swift or Objective C is your chosen coding mechanism, that's fine, but there's no externally imposed requirement that it must be your coding mechanism; at the worst, a few boilerplate intermediate layers based on basic OS APIs will do ya.
Sometimes -- for instance, with Apple's OS file dialogs -- the stuff Apple supplies is either broken, feature-poor, or both. After being bitten over and over by that stupid file dialog, I spent an afternoon and wrote my own. Which works a damn sight better, and faster, and with less hangups than Apple's does. My users benefit a great deal from my unwillingness to let Apple screw them with the bug-infested trail of tears they leave behind them as they blunder onwards into their new and shinier future.
Same thing for most (all?) of Apple and Microsoft's "new and shiny." For every new thing you decide you depend on in the OS, you're leaving users behind, and making your code more and more dependent upon Apple's latest whim.
Which, again, you can do, absolutely -- but you don't have to.
Almost every time I see some application that "requires" some fairly late version of an operating system, I think dark thoughts. There are few things, particularly things that are focused upon new features, where it is likely reasonable. But mostly... not. Mostly it's just thoughtless development where the user takes a back seat to... let's face it: "shiny."
I've fallen off your lawn, and I can't get up.
Python 3 is not Python specifically because it will not run Python 2 code. Python 3 isn't just a "little" different. It's a lot different. Which is fine. Although they should have called it something other than Python, frankly, because it confuses a lot of people that Python != Python. Justifiably so.
Swift appears to be undergoing the exact same schism. The new Swift is not the old Swift; if it breaks your compliant code, it's a new language. If it breaks some undocumented crap, that's something else entirely. But when you write to spec, and the New/Shiny won't run it -- that's an entirely new language, regardless of what little, or lot, remains syntax compatible. Swift != Swift.
Python's 2-series remains 100% viable; the source code is out there. Dunno about Swift; I code Python all the time, haven't bothered with Swift (nor am I ever likely to.)
My insignificant little message to all language designers is this: Once you make a spec beyond beta, if you break the spec, you're developing an entirely new language, and you should REALLY change the damned name.
I've fallen off your lawn, and I can't get up.
LDA year ; offset from 1900
CMP #115
BGE 75
Or something.
Check out my sci-fi/humor trilogy at PatriotsBooks.
I'm in so far lucky that I did not start using Swift yet.
However I'm watching the evolution of the language as I'm very convinced that we need languages that are "less expressive" (see C++ / PERL etc.) but more readable and more comprehendible (which makes them easier to teach, too).
Now remove "." and "(" and ")" ... and we are close to SmallTalk.
Why Swift 3.0 is writing:
someObject.method(arg:"is it", arg2:"really", arg3:"cool?");
When you could write it:
someObject method arg:"is it", arg2:"really", arg3:"cool?"
Is a bit hard to grasp.
Bottom line Apple should probably rather invent its own VM ... probably based on LLVM, and open it to any compiler/language that compiles to it.
Reminds me that I wanted to start a blog about the future of programming as I see it.
Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
The other side of that coin is that C++ is absurdly complicated partially due to attempts to keep it backwards compatible.
Right. And it took, what, 15 years for Python to accumulate enough cruft that they decided to do this kind of major breaking milestone?
Here, we're talking about a language that isn't even 2 years old.
Rust doesn't try to actively present itself as stable and production-ready, though.
Your C++ experience seems to be very dated. These days, you can easily write very complicated C++ programs using solely the standard library and Boost.
The standard library may be small, but why does it mean that you have to use "unofficial extensions"? You find and use third-party libraries, and your portability is only limited by them - and there is no shortage of portable libraries for practically any purpose for C++. Heck, Qt alone covers 99% of what you'd typically want to do.
Well the fact that these third party libraries are doing so well is just a proof that the std library sucks badly. Not in a way you wouln't want to use it though -- its working really great in fact, just that it misses so many things. But the libraries are also not as polished as std is, and with them you are under "corporate" control again, something 110010001000 wanted to avoid, no?
You're only under "corporate control" if the library you're using is 1) maintained entirely by a single corporate entity, and 2) is not open source.
Boost, for example, is entirely open source and lacks any centralized control. Qt has a company behind it, but the source is LGPL, so you can always fork if you need to. And so on.
Pragmatically speaking, unless you use OS APIs directly (like, say, Win32), it's very hard to lock yourself in with C++.
Well swift and rust as well as java (I think the only three corporate controlled languages 110010001000 used as example) are all open source as well. Still they are under corporate control.
LDA year ; offset from 1900
CMP #115
BGE 75
Or something.
BGE was actually NOT a 6502 mnemonic. It was a 6809 instruction (and maybe 6800). But some 6502 assemblers had a BGE macro, IIRC. It translates to BCS (Branch on Carry Set).
There is a big difference between the language, and the library. In any sane ecosystem (where things aren't deprecated and removed every six months), libraries keep working for a very long time - so it is viable to fork one and just use it. Having to fork the compiler and the rest of the toolchain (IDEs etc) is a lot more work.
You are conflating compilers with language stability. The fact is that Apple could discontinue Swift tomorrow and you would by out of luck. Avoid corporate controlled languages.
FFS, what "Corporate Control"???
Did you miss the part where Apple OPEN SOURCED Swift, and basically dumped the ENTIRE Project on GitHub???
JEEZUS, you're stupid.
Apple told developers that Swift 2.2 would be obsolete in 4 months? Wow, and people still used it? How stupid.
So, when some random FOSS project by some neckbeards releases a bunch of updates in short order they're "in active development"; bug when Apple does it, they're The Great Satan?!?
I guess the fact that 18 years >> 4 months is lost on you. Oh well, enjoy Swift until Apple gets bored with it and discontinues it and replaces it with something "better".
Apple isn't Google. In oh, so many ways (thank Diety).
Yes I am suggesting C++ is a lot better. What the fuck does Microsoft and cross platform have to do with anything?
A lot better than what? A kick in the teeth? Yeah, probably; but only just...
C++ ain't all that. Actually it was INTENTIONALLY DESIGNED AS A PRANK. In fact, according to the Father of C++ Bjarne Stroustrup, the joke's on YOU...
So, enjoy your PRANK of a Language, Suckas!!!!
It started out as "C with classes" in 1979 and by 1985 there was a book called "The C++ Programming Language".
There were lots of code-breaking changes between 1979 and 1985, it just wasn't a widely used language at the time.
Yes I am suggesting C++ is a lot better. What the fuck does Microsoft and cross platform have to do with anything?
A lot better than what? A kick in the teeth? Yeah, probably; but only just... C++ ain't all that. Actually it was INTENTIONALLY DESIGNED AS A PRANK. In fact, according to the Father of C++ Bjarne Stroustrup, the joke's on YOU... So, enjoy your PRANK of a Language, Suckas!!!!
Ok, so I'll "out" myself before anyone else does...
The "IEEE" interview linked-to above is (well, duh!) a FAKE!
Gas Music From Jupiter, INDEED!!!
But according to the "horse's" website, HERE IS THE REAL INTERVIEW.
Or is it...? (Sorry, couldn't resist)
There were C++ implementations going all the way back to the early 1980s. Do you really think it was a programming language on paper only for 20 years?
Yes, they still used it. Just like they still used 8086 assembler back in the day when they knew 16 bit and 32 bit was coming and just like they used Word v1 knowing that v2 would come soon.
The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
I had to upgrade a not-too-big codebase from Rails 2 to Rails 4 a few months ago. That was a looooot of work. Swift 2-3 is a joke. The moaners here will moan. Besides, this sort of stuff keep us in work!
The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
At least your PDP skills are not obsolete:
http://www.vcfed.org/forum/sho...
The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
But some 6502 assemblers had a BGE macro, IIRC. It translates to BCS (Branch on Carry Set).
Furthermore, the datasheet for the WDC 65816 encouraged assemblers to include this macro.
But some 6502 assemblers had a BGE macro, IIRC. It translates to BCS (Branch on Carry Set).
Furthermore, the datasheet for the WDC 65816 encouraged assemblers to include this macro.
Interesting.
I actually put the 8-bit-bus version of the WDC 65816 (can't remember the exact p/n (65802?)) in my Apple ][+, and, IIRC, defined macros in the Orca/M assembler (which I really didn't like) for it.
I also have an AppleIIgs that I bought off eBay for some paltry sum. Don't those have '816s in them, too?
Apple IIGS and Super Nintendo Entertainment System are probably the best-known consumer products with a 65816. The IIGS has a standalone '816; the Super NES has a Ricoh 5A22, which puts a licensed '816 core on the same die as a custom memory controller for the DMA functionality that kept pace with Sega's "Blast Processing".
Apple IIGS and Super Nintendo Entertainment System are probably the best-known consumer products with a 65816. The IIGS has a standalone '816; the Super NES has a Ricoh 5A22, which puts a licensed '816 core on the same die as a custom memory controller for the DMA functionality that kept pace with Sega's "Blast Processing".
Oh yeah. I forgot about the Super NES having an '816, and I didn't know that Ricoh had done a CSIC with the '816 core. Fascinating!