Showing posts with label language. Show all posts
Showing posts with label language. Show all posts
Monday, February 16, 2015
Wednesday, February 11, 2015
Features of Java Language
Simple
- Java derives its syntax from C and object oriented features from C++.
- If you are good in C and C++ programming then you can learn Java easily. Hence Java is Simple.
Secure
- Java provides its own execution environment and hence do not allow any malicious program to access other parts of computer.
- Java Virtual Machine (JVM) verifies the code before execution (sandbox security).
Portable
- Java is platform independent i.e. Write Once and Run Anywhere (WORA).
- When java program is compiled a .class file (bytecode) is created. This .class file can run on any platform (linux, windows, mac). You just need JVM of that platform.
Robust
Java is called as robust because of following two features:- Automatic Memory Management
- Automatic Exception Handling
Object-Oriented
- Java is object oriented programming language same as C++.
- It means focus on the data and methods that manipulate that data instead of taking care of procedures.
Multithreaded
- Java supports multithreaded programming.
- It allows you to write programs that do many things simultaneously.
Architecture-Neutral
- Java is machine independent.
- It was made with goal “write once; run anywhere, anytime, forever”.
Interpreted
- Java enables the creation of cross-platform program i.e. bytecode.
- This code can be executed on any platform that has JVM.
High Performance
- Java bytecode can be easily executed on any machine for very high performance by using a just-in-time (JIT) compiler.
Dynamic
- Java programs carry with them substantial amounts of run-time type information that is used to verify and resolve accesses to objects at run time.
Distributed
- Java enables the creation of distributed applications which can be accessed on the internet.
Image Source: http://www.javatpoint.com/features-of-java
Tuesday, February 10, 2015
Swift A New Programming Language Introduced by Apple For iOS and OS X Development
Swift is an object-oriented programming language for iOS and OS X development which is recently introduced by Apple at its WWDC 2014. It is intended to coexist with Objective-C, the current programming language for Apple operating systems. Swift is designed to be more resilient against erroneous code. It is built with the LLVM compiler.

Also Read: Hack: A New Programming Language Invented by Facebook

Also Read: Hack: A New Programming Language Invented by Facebook
Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks, is an opportunity to reimagine how software development works. On June 2, 2014, the WWDC conference app became the first publicly released Swift app.
Example code
let people = ["Anna": 67, "Beto": 8, "Jack": 33, "Sam": 25]
for (name, age) in people {
println("(name) is (age) years old.")
}


Some awesome features of Swift Programming Language
Safe
Swift pairs increased type safety with type inference, restricts direct access to pointers, and automatically manages memory—making it easy to create secure, stable software.
Modern
Swift includes optionals, generics, tuples, and other modern language features. Inspired by and improving upon Objective-C. Swift code feels natural to read and write.
Powerful
Take advantage of powerful pattern matching in Swift to write simple, expressive code. Format strings naturally with string interpolation. Use frameworks like Foundation and UIKit directly from Swift.
Interactive
Use playgrounds to experiment with new technologies, analyze problems, and prototype user interfaces
Fast
The Swift compiler applies advanced code analysis to tune your code for performance, letting you focus on writing great apps instead of on implementing complex optimizations.
For more details and for learning Swift Programming Language visit https://developer.apple.com/swift/
Sources:
http://en.wikipedia.org/wiki/Swift_(programming_language)
https://developer.apple.com/swift/
Labels:
a,
and,
apple,
by,
development,
for,
introduced,
ios,
language,
new,
os,
programming,
swift,
x
Subscribe to:
Posts (Atom)
