--
BoD
--
You received this message because you are subscribed to the Google Groups "Java Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javaposse+unsubscribe@googlegroups.com.
To post to this group, send email to java...@googlegroups.com.
Visit this group at http://groups.google.com/group/javaposse.
For more options, visit https://groups.google.com/d/optout.
I notice the language features something they call "Automatic Reference Counting". Is this the same as a Garbage Collector?
--
BoD
--
You received this message because you are subscribed to the Google Groups "Java Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javaposse+...@googlegroups.com.
Though I'm upset that the most popular answer fails to mention the complete lack of features for tackling concurrency!
--
You received this message because you are subscribed to the Google Groups "Java Posse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javaposse+...@googlegroups.com.
I wonder about Swift in terms of performance of apps. Traditionally Games companies use C++ for their games engines and on iOS just use the minimum Objective-C to act as the glue to the operating system. For all Objective-C apps then yes Swift will be a big improvement but for those where it was kept to a minimum the difference may not be as dramatic.
How much greater? Because in Java GC is hardly a speed problem nowadays (unless we're talking of games, which at this age I'm completely unaware of).
The original source isn't always the most accurate. For instance, the C# specs don't mention Java at all, and the fact that C# is based on Java is really obvious. It does mention C++ a lot though.
On 05/06/14 18:21, Cédric Beust ♔ wrote:
Funny how everyone wants to claim that Swift was inspired by their ${favorite_language} when the definitive answer is available directly from the presentation: Inline image 1 C, C++, Objective C, Java, Ruby, Python, Javascript, Perl, Groovy and LUA.
I raise your definitive answer with: "...drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list." [1] (More seriously it's very clearly part of a generation of OO languages that have picked up tricks from ML and Haskell -- start java-ish, favour optional / maybe over null, enum / either, switch / match pattern matching with destructuring). Damian [1] <http://nondot.org/sabre/>
Pretty sure c/c++ will remain the best cross platform option for a long time. Whatever promise of Java and related languages as providing cross platform environments, this just never happened. Closest would actually be .net and friends, I believe.
On Wednesday, June 4, 2014 11:21:48 AM UTC-5, Josh Berry wrote:Pretty sure c/c++ will remain the best cross platform option for a long time. Whatever promise of Java and related languages as providing cross platform environments, this just never happened. Closest would actually be .net and friends, I believe.
The Java cross platform model targets Win/Mac/Linux workstations and it does that extremely well. It's not just cross platform, but largely write once, run anywhere, where same compiled .jar file can run on Win/Mac/Linux.
Most high-level languages are extremely cross platform. Lua, for example, is extremely cross platform and is often used on top of a C-based game engine.
Many languages like Haskell, usually just compile down to C, so I don't see why those would be less cross platform friendly.
Apologies, I was a definitely too absolute in my claim. I was more just going on admittedly anecdotal evidence that most truly cross platform applications that aren't a) ugly, or b) dog slow are not written in Java and related languages. I'm definitely open to counters.
But, once you get that list made, compare it to the number of applications that are heavily used in many platforms and the language they used. From the Kernel, which is on near everything, to browsers. Mozilla is at least making a stab with a new language that will compete with C/C++. It isn't clear this will win, though.
Also, and I apologize if this is basically goal post shifting, but when I refer to cross platform, I don't necessarily mean just linux/mac/windows. I mean something that can run on the raspberry pi, or aduino, or *any* phone/tablet/whatever. Obviously, not just any C program can be made to fit this bill. But, to my knowledge, no Java program can. (Of course, maybe Angry Birds is all it takes to prove me wrong. Or Scumm games, in general. :) )
Nope!C or Idris, I'll also accept Assembler.and Scala's the least bad you can get if otherwise tied to the JVM. :)
On Tuesday, June 10, 2014 9:47:13 PM UTC-5, Josh Berry wrote:Apologies, I was a definitely too absolute in my claim. I was more just going on admittedly anecdotal evidence that most truly cross platform applications that aren't a) ugly, or b) dog slow are not written in Java and related languages. I'm definitely open to counters.
But, once you get that list made, compare it to the number of applications that are heavily used in many platforms and the language they used. From the Kernel, which is on near everything, to browsers. Mozilla is at least making a stab with a new language that will compete with C/C++. It isn't clear this will win, though.
When you say Java apps are "slow", "ugly" and not "heavily used", you are talking about apps like web browsers, chat clients, shell terminals, and media player apps: Java isn't the best fit for that.
At university, I used lots of Windows only apps like PSpice for simulating electric circuits, and CAD desktop apps, and various instrumentation desktop applications: they weren't cross platform, and the GUIs were extremely ugly, wonky, glitchy. Java would be a better fit if those tools were ever rewritten.I worked for a company that made CAE desktop application software. Their GUIs were either Tcl/Tk or based in Windows only C++ MFC and used some porting technology: Java would have been radically easier to develop, looked better, and ran faster for end users.
IDEs are often the standard example of where Java GUI is an appropriate dev tool. They aren't unusually ugly and the slowness is a direct result of their functionality, not the GUI technology.
Some guys I work with do graph data analysis, and use many tools including a visualization tool called GePhi that is written in Java: it's a very appropriate GUI technology. The GUI is nice, pleasant, and responsive, and we have people using it flawlessly on Mac/Linux/Windows.
Also, and I apologize if this is basically goal post shifting, but when I refer to cross platform, I don't necessarily mean just linux/mac/windows. I mean something that can run on the raspberry pi, or aduino, or *any* phone/tablet/whatever. Obviously, not just any C program can be made to fit this bill. But, to my knowledge, no Java program can. (Of course, maybe Angry Birds is all it takes to prove me wrong. Or Scumm games, in general. :) )
Sure, lots of people want phones, Raspberry Pi, etc beyond workstation OS. People do have Java apps including JavaFX running on iPhone and Rasberry Pi, although it may not be the best option. People have Java games using libgdx running from mostly one source code base on iOS and Android and Win/Mac/Linux
--
The English guy you're probably thinking of is Peter Pilgrim. This is my (and London's) first roundup.
It'll appear on the podcast sooner or later. We have video too!
With the best will in the world, I'd never even consider writing e.g. a device driver in Scala. Nor code for an embedded device with tightly constrained resources.