JP Hutchinsblog.jphutchins.com·Dec 17, 2024Enum Type Safety in CThe C standard allows the programmer to define new types, including enumerated types—or "enums"—that improve program readability and type safety. This article explores the specification for enumerated types, the compiler options that improve enum typ...C
Nitesh Singh codecrafters.hashnode.dev·Dec 15, 2024Chicken-and-egg problemEven compilers need to run on a machine. To run the compiler itself, its code must also be compiled or interpreted. This creates a chicken-and-egg problem: How does the very first compiler run? What is a Compiler? A compiler translates source code w...Write you own Interpreters.compiler
Pranav Bawgikarpranavbawg.hashnode.dev·Dec 15, 2024Peephole Optimization in Compiler Design[21] It is a simple and effective technique for locally improving target code. It is performed on the very small set of instructions in a segment of code. The small set of instructions or small part of code on which peephole optimization is performed...peeophole-optimization
SuperHumanfreshers-dev.hashnode.dev·Dec 2, 2024Understanding the Difference Between Compilers and InterpretersWhen we write code in a programming language, it is in a format that humans can understand. However, computers can only execute instructions in machine language, which consists of binary numbers (0s and 1s). To bridge this gap, we need a compiler or ...Beginners Guide To ProgrammingComputer Science
Arya M. Pathakarya2004.hashnode.dev·Nov 25, 2024Understanding the Go Compiler: From Source Code to ExecutionThe Go compiler is a critical tool that transforms human-readable Go source code into highly optimized machine code capable of running on various platforms. While the compilation process may seem like a mysterious conversion, it is actually a structu...179 likes·228 readsGo Deep: Mastering Golang Fundamentalsgolang
Abdur Rakibabdur-rakib.hashnode.dev·Nov 21, 2024Compiled vs. Interpreted Languages: What's the Difference?Understanding how programming languages are executed is fundamental for developers. This article explores the differences between compiled and interpreted languages, providing examples and diagrams to illustrate key concepts. Table of Contents Intr...complied
Tuanhdotnettuanhnet.hashnode.dev·Nov 9, 2024Strategies to Reduce the Startup Time and Memory Footprint of Your Java App by Up to 60%Source: Strategies to Reduce the Startup Time and Memory Footprint of Your Java App by Up to 60% 1. Understanding Java Application Startup Time and Memory Footprint Before we jump into the strategies, let's understand what startup time and mem...Java
Akshay Thakurblog.aksact.dev·Oct 26, 2024Building an Interpreter in Go - Chapter 1: Understanding the BasicsOverview Starting the journey of building an interpreter is like learning to be a translator between two worlds - the world of human-readable code and the world of machine instructions. This first chapter lays the foundation by explaining what an int...4 likes·152 readsgolang
Sawez Faisalsawezfaisal.hashnode.dev·Oct 20, 2024Understanding Parsers - Part 1 : TheoryMy introduction to parsers So, when the Lexer of Sodum got completed i was able to generate a stream of tokens from the incoming raw source code . Now WHAT!!! , what should i do with these tokens , How do i make sense out of it , How will the machine...The Sodum Project: Unraveling Programming Language Design and Implementationparser
Sawez Faisalsawezfaisal.hashnode.dev·Oct 15, 2024Lexer - First step to find meaning from a Raw fileSo, finally its time to do some coding . A lexer is nothing but a piece of software whose job is to take in an input ,in our case the source code of the language and return a series of predefined tokens that corresponds to each and every character in...The Sodum Project: Unraveling Programming Language Design and ImplementationProgramming Blogs