What is CUDA? Parallel programming for GPUs

CUDA is a parallel computing platform and programming model developed by NVIDIA for general computing on its own GPUs (graphics processing units). CUDA enables developers to speed up compute-intensive applications by harnessing the power of GPUs for the parallelizable part of the computation. While there have been other proposed APIs for GPUs, such as OpenCL, … Read more

7 Tips for Better Pair Programming | by Zachary Allegretti | Aug, 2022

Sometimes two heads are better than one Photo by Alvaro Reyes on Unsplash Effective collaboration is one of the core traits of any productive engineering team. Everyone thinks differently, so having a second set of eyes on a problem can offer multiple viewpoints and approaches that you might otherwise overlook. For software engineers, the most … Read more

To Be Effective at Programming, It Doesn’t Necessarily Mean You Have to Keep Writing Code | by Tural Ali | Aug, 2022

You eventually have to look beyond writing code Author, sitting behind his laptop at San Francisco Airport A few years ago, I was finding myself more and more in a flow state with coding until the last minutes before important life events. All these hustle-and-bustle style motivator videos over social networks made a workaholic out … Read more

What is an API? Application programming interfaces explained

The term API stands for application programming interface, a concept that applies everywhere from command-line tools to enterprise code, microservices, and cloud-native architectures. An API is an interface that software developers use to programmatically interact with software components or resources outside of their own code. An even simpler definition is that an API is the … Read more

Teaching Kids Programming – Four Algorithms to Validate a Binary Search Tree

Teaching Kids ProgrammingVideos on Data Structures and Algorithms Given a binary tree root, return whether it’s a binary search tree. A binary tree node is a binary search tree if : All nodes on its left subtree are smaller than node.valAll nodes on its right subtree are bigger than node.valAll nodes hold the properties.Constraintn ≤ … Read more

Teaching Kids Programming – Algorithms to Find the Lowest Common Ancestor of a Binary Search Tree

Teaching Kids ProgrammingVideos on Data Structures and Algorithms Given a binary search tree (BST), find the lowest common ancestor (LCA) node of two given nodes in the BST. According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two nodes p and q as the lowest node in T that … Read more

Why “Polyglot Programming” or “Do It Yourself Programming Languages” or “Language Oriented Programming” sucks?

Last year we saw the launch of a new Web programming language Dart – Structured Web Programming from Google. A very interesting approach to support web application development. Not so long after Go, Groovy, Ruby, Scala, >; we see Dart. Is it a good thing to have at least one programming language to solve one … Read more

What’s the Go programming language (Golang) really good for?

During its decade-plus years in the wild, Google’s Go language, aka Golang—with version 1.18 out as of March 2022—has evolved from being a curiosity for alpha geeks to being the battle-tested programming language behind some of the world’s most important cloud-centric projects. Why was Go chosen by the developers of such projects as Docker and … Read more

Teaching Kids Programming – Depth First/Limit Search and Iterative Deepening Search Algorithm on Unweighted Graph

Teaching Kids ProgrammingVideos on Data Structures and Algorithms Shipping and Receiving – Sum of Costs between Pair of Vertices in Unweighted Graph You are given a two-dimensional list of integers ports where ports[i] represents the list of ports that port i is connected to. You are also given another two-dimensional list of integers shipments where … Read more

Investigate Functional Programming Concepts in Go | by Dr. Carsten Leue | Aug, 2022

Applying the concepts Photo by Vino Li on Unsplash In this article, we will investigate how to leverage functional programming concepts in Go. We will touch on the possibilities opened by the introduction of generics in go 1.18 and some limitations. Functional programming style helps us write code that is easy to understand, maintainable and … Read more