Saul Hernandezsaul-lara.hashnode.dev·Feb 1, 2025Building a Lexical Analyzer for Theory of Computation: Part 3 - Developing the ParserIntroduction In this post, I will share the way I built a parser using python. The purpose of this post is to understand the tasks performed by a FSM. This post describes how I developed the Finite State Machine (FSM) to validate the syntax of the pr...Creating a Lexical Analyzer for Theory of Computationcompiler
Pedro Rojasswiftandtips.com·Jan 28, 2025How to Build & Customize Your Own Swift Compiler!In this article, I'll show you how to modify and compile your own version of Swift. This means diving into the actual Swift language codebase. As you may know, Swift is an open-source language, which means anyone can contribute and experiment with it...108 readsSwift Standard Library
Pravin Jadhavcodetocloud.hashnode.dev·Jan 26, 2025Compile Time vs. Runtime: Understanding the Two Phases of Program Execution1. Compile Time (The Static Phase): Definition: Compile time is the period during which source code is translated into an intermediate or executable form. This process occurs before the program is actually run. It's when static analysis, optimizatio...compiletime
Dhamodaran Pandiyandhamodaran.hashnode.dev·Jan 25, 2025Understanding Branch Prediction in C++: likely and unlikelyWhen writing performance-critical applications, understanding and optimizing branch prediction can lead to noticeable improvements. In this blog, we'll explore how branch prediction works and demonstrate its impact using C++ with likely and unlikely ...C++
MyCodingNotebookblog.mycodingnotebook.com·Jan 23, 2025Let's Talk CompilersIntroduction In modern software development, creating efficient, optimised code is crucial for building fast, scalable applications. To achieve this, developers rely on a variety of tools that help transform and optimise code before it reaches the br...12 likes·29 readsProgramming Blogs
Ishan Jainishanjain.hashnode.dev·Jan 21, 2025JS perfs tooling that came in clutchYesterday while walking down the road, I was discussing with my friend Vedant, whether JS is compiled or interpreted, which led me to burrow down into some rabbit holes. And here we are now, with me condensing down my thoughts and chrome history for ...6 likes·68 readsJavaScript
Hamza Telihteli1-spo600.hashnode.dev·Jan 20, 2025Week 2 - Data Representation & Computer ArchitectureWelcome again. In this article I will be discussing two broad yet very important topics for computers. Data representation and computer architecture. Data Representation Data representation is essentially how we represent data in computers. Computers...microarchitecture
Pranav Bawgikarpranavbawg.hashnode.dev·Jan 11, 2025Why Intermediate Code is the Compiler's best friend[29] Intermediate Code The task of compiler is to convert the source program into machine program. But, it is not always possible to generate such a machine code directly in one pass. Typically compilers generate an easy to represent form of source l...intermediate-code
Yuanbo Limy-tvm-from-scratch-1.hashnode.dev·Jan 4, 2025Setup the ONNX parserIn this blog, we’ll explore how to parse a simple ONNX model and print its operators. This step is an initial step for building a TVM-like compiler from scratch, as it introduces ONNX parsing and sets the stage for converting ONNX models into a custo...compiler
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...38 readsC