Macros: Basically, macros are a way of writing code that writes other code, which is known as metaprogramming. I have also used ‘println!()’ macros in my previous blog. Here macros expand to produce more code than the code you’ve written manually. Metaprogramming helps us to reduce the amount of code we write and maintain.
Why Rust? In system programming languages we basically face two complex problems which are difficult to crack i.e. Secure and Multithreaded code. For this Rust has added its own goals of memory safety and data-race-free concurrency. What Is Rust? Rust is a System programing language sponsored by Mozilla which describes it as a “safe, concurrent and practical language,” supporting functional and imperative-procedural paradigms. It basically Continue Reading
DateTime API in Java 8 has overcome many shortcomings of older java.util.Date and java.util.Calendar. As there were many issues with the older Date and Calendar API. So now let us see how this java 8 DateTime API resolve the issues and how it provides the better support in JDK core. Issues in Existing Date/Time APIs : Thread Safety. Zoned Date and Time. Design and Easiness. Continue Reading
Java 8 implements many features of functional programming such as Optional, Completable Futures, Streams, Lambdas and many more. All these Features have created a language which is more readable and more concise. As Java 8 is giving more importance to Concurrency. So, Java 8 has developed Streams API which leads us to peep in the window of parallelism. The Stream is a new abstract layer Continue Reading
Java8 is not so new now. Everybody is well aware and probably using it in one or the other project. Certainly, Java8 is a big leap for Java since it makes Java functional. (though its procedural internally). Anyway, it successfully got interested in the IT industry. In this blog, I am going to talk about one of the vital features of Java8 i.e. Optional. Optional, Continue Reading
GraphQL GraphQL is a data query language developed by Facebook in 2012 before it was publicly released in 2015. It is a query language for our API, and a server-side runtime for executing queries by using a type system we define for our data. It gives us an alternative to REST and ad-hoc webservice architectures. It allows the clients to define the structure of the Continue Reading