Mukul Latiyan

Mukul Latiyan

363 Articles Published

Articles by Mukul Latiyan

Page 12 of 37

JavaScript Robotics: Building Autonomous Drones with JavaScript

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 1K+ Views

In recent years, the field of robotics has seen tremendous growth and innovation. With the advent of JavaScript, a versatile and widely used programming language, developers now have the power to build autonomous robots and drones using familiar tools and frameworks. In this article, we will explore the exciting world of JavaScript robotics by focusing on building autonomous drones. JavaScript Robotics and Drones Traditionally, building robots and drones required knowledge of specialized languages such as C++ or Python. However, JavaScript has emerged as a viable alternative due to its ease of use, wide adoption, and a vibrant ecosystem of libraries ...

Read More

JavaScript Memory Profiling and Performance Optimization

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 768 Views

JavaScript is a popular programming language used for creating dynamic web pages and applications. However, as applications become more complex, memory usage and performance can become critical factors. In this article, we will explore memory profiling and performance optimization techniques in JavaScript to help you build efficient and fast-running applications. Memory Profiling Memory profiling involves analysing the memory usage of your JavaScript application to identify and resolve memory leaks and excessive memory consumption. Let's look at a few more examples of memory profiling using different tools and techniques.Example Memory Profiling with Chrome DevTools function createArray(size) { var ...

Read More

JavaScript Memory Management: Memory Leaks and Performance Optimization

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 556 Views

JavaScript is a powerful and widely-used programming language that runs on the client-side of web applications. As a developer, it is essential to understand memory management in JavaScript to optimize your code for better performance. In this article, we will delve into the intricacies of memory management in JavaScript, focusing on memory leaks and performance optimization techniques. We will also provide a working code example to demonstrate these concepts in action. Understanding Memory Management in JavaScript JavaScript utilizes an automatic memory management system known as garbage collection. The garbage collector is responsible for allocating and deallocating memory as needed, making ...

Read More

JavaScript Machine Learning: Building ML Models in the Browser

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 448 Views

Machine Learning (ML) has revolutionized various industries, enabling computers to learn and make predictions based on patterns and data. Traditionally, ML models were built and executed on servers or high-performance machines. However, with the advancements in web technologies, it is now possible to build and deploy ML models directly in the browser using JavaScript. In this article, we will explore the exciting world of JavaScript Machine Learning and learn how to build ML models that can run in the browser. Understanding Machine Learning Machine Learning is a subset of Artificial Intelligence (AI) that focuses on creating models capable of ...

Read More

JavaScript Game Development: Building a 2D Game Engine

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 2K+ Views

JavaScript is a versatile programming language that can be used for various applications, including game development. In this article, we will dive into the exciting world of JavaScript game development and explore the process of building a 2D game engine. We will provide code examples with explanations and showcase their output to help you understand the concepts better. So, let's get started! Understanding the Basics Before we begin building our game engine, let's familiarize ourselves with some fundamental concepts of game development. In a 2D game, we typically deal with objects, sprites, game loops, and collision detection. Objects − Objects represent ...

Read More

Implementing Real-Time Data Visualization with JavaScript and Charting Libraries

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 789 Views

In today's data-driven world, the ability to visualise real-time data is crucial for businesses and developers alike. Real-time data visualisation allows us to gain insights, monitor trends, and make informed decisions based on up-to-date information. JavaScript, being a versatile and widely-used programming language, provides excellent tools and libraries for implementing real-time data visualisation. In this article, we will explore how to leverage JavaScript and popular charting libraries to create dynamic and interactive data visualisations that update in real time. Getting Started with JavaScript Charting Libraries To kick off our real-time data visualisation journey, let's first choose a suitable charting ...

Read More

Implementing Real-Time Collaboration in JavaScript Applications

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 744 Views

Real-time collaboration has become an essential feature in modern web applications. It allows multiple users to work together simultaneously, making it easier to collaborate and communicate in real-time. JavaScript, being the dominant language for web development, provides a variety of tools and frameworks to implement real-time collaboration seamlessly. In this article, we will explore different techniques and technologies to implement real-time collaboration in JavaScript applications. WebSockets WebSockets provide a bi-directional communication channel between a client and a server, enabling real-time data transfer. It allows the server to push updates to connected clients instantly, eliminating the need for continuous polling.Example  ...

Read More

Implementing Real-Time Chat Applications with Socket.io and JavaScript

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 391 Views

Real-time communication is a crucial aspect of many modern web applications. Whether it's an instant messaging platform, a collaborative tool, or a live support system, the ability to exchange messages in real-time enhances user experience and promotes efficient collaboration. Real-time chat applications allow users to engage in interactive conversations, share information, and stay connected with each other in real-time. Implementing real-time chat functionality in web applications traditionally involved complex and low-level protocols, such as WebSockets, that required deep understanding and implementation effort. However, with the advent of libraries like Socket.io, the process has become significantly simplified. Socket.io is a powerful ...

Read More

Implementing GraphQL Subscriptions for Real-Time Data Updates in JavaScript

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 261 Views

In today's fast-paced world, real-time data updates are becoming increasingly crucial for modern web applications. One popular solution for achieving real-time functionality is GraphQL subscriptions. In this article, we will explore how to implement GraphQL subscriptions in JavaScript, providing code examples, explanations, and a comprehensive understanding of the topic. Understanding GraphQL Subscriptions GraphQL is an open-source query language for APIs and a runtime for executing these queries with existing data. It allows clients to request specific data from the server, enabling efficient and flexible communication between the client and the server. While GraphQL queries and mutations are used for retrieving ...

Read More

Functional Programming with JavaScript Libraries: Ramda, Lodash, and Immutable.js

Mukul Latiyan
Mukul Latiyan
Updated on 25-Jul-2023 342 Views

Functional programming is a popular paradigm in JavaScript development, emphasising immutability, pure functions, and higher-order functions. It promotes writing clean, concise, and maintainable code. To facilitate advanced functional programming techniques, several JavaScript libraries have emerged, providing powerful tools and utilities. In this article, we will explore three such libraries: Ramda, Lodash, and Immutable.js. We will dive into code examples, explain their features, and showcase the benefits they bring to functional programming in JavaScript. Ramda: Functional Programming made Easy Ramda is a powerful library that promotes functional programming in JavaScript. It focuses on immutability and provides a wide range of functions ...

Read More
Showing 111–120 of 363 articles
« Prev 1 10 11 12 13 14 37 Next »
Advertisements