Skip to main content

Posts

Showing posts with the label streams

Tech Conversant Weekly Apr 10 - Apr 22

Topic: General                                                                                                                                              Level: All Welcome to the world of cutting-edge technology! Every bi-week, we bring you the latest and most incredible advancements in the tech industry that are sure to leave you feeling inspired and empowered. Stay ahead of the game and be the first to know about the newest innovations shaping our world. Discover new ways to improve your daily life, become more efficient, and enjoy new experiences. This time, we've got some exciting news to share with you! A simple Java program to print "Hello, World" is verbose and lot of constructs to be aware of, public class HelloWorld {      public static void main(String[] args) {          System.out.println("Hello, World!");     } } How about, Anonymous main class with main declaration, class HelloWorld {      void main() {          System.out.println("Hello, Wo

Tech Conversant Weekly Feb 27 - Mar 11

Topic: General                                                                                                                                              Level: All Welcome to the world of cutting-edge technology! Every week, we bring you the latest and most incredible advancements in the tech industry that are sure to leave you feeling inspired and empowered. Stay ahead of the game and be the first to know about the newest innovations shaping our world. Discover new ways to improve your daily life, become more efficient, and enjoy new experiences. This week, we've got some exciting news to share with you! Java compiler generates class file bytecodes that are executed by the JVM into a binary compilation for platform execution. Entering GraalVM which produces native images during compilation that are platform native executables. These images are produced by AOT compilation of reachable code and reflective accesses are explicitly specified.  NativeImage analyzer capitalizes on the

Tech Conversant Weekly Jan 09 - Jan 14

Topic: General                                                                                                                                              Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week as well as a few that seized my attention, Type annotation and receiver parameter from JDK 8, offer a compilation validation guideline.  In combination, template design can be attained by formalizing the client implementation to follow.  https://www.objectos.com.br/blog/objectos-weekly-008-the-java-receiver-parameter.html With flapMap on the streams API, operations can be performed on the inner collection, ie list within a list https://dev.to/wkrzywiec/java-series-flatmap-2fif Jakarta MVC on top of Jakarta REST presents decoupled web-based requests handling architecture https://blog.payara.fish/a-look-at-jakarta-mvc-in-jakarta-ee-10 JDK 20 Project Loom's ScopedValue vs. ThreadLocal  ThreadLocal enables sharing d

Tech Conversant Weekly Jan 02 - Jan 07

Topic: General                                                                                                                                              Level: All In this post, we shall catch up on the multi-faceted technological updates that happened over the past week as well as a few that seized my attention, Microservices using shared memory for interservice communication and data processing, to speed up the processing between multiple services and achieve low latency with high throughput, creating a Virtual memory that offers shared memory space residing in the local disk for the services to leverage. The Chronicle library facilitates creating the memory region of the heap on a file for virtual memory and debugging the file with readable YAML format. The feature of the memory map file has been available since JDK4, FileChannel.map + MapMode.READ_WRITE = MappedByteBuffer (not thread safe) Other places for improvement are, 1) Thread safe access 2) Long offsets (64-bit) 3) Comple