Have you ever wondered how difficult it would be to design and implement a simple compiled programming language completely from scratch - no parsing libraries, no LLVM for code generation (though I'll allow myself off-the-shelf assemblers and linkers)? I have. It's something I've been thinking about for a long time, and now I finally have enough time to actually try it. So here it is: a super simple, yet Turing complete, compiled programming language. It's loosely inspired by Rust, but it lacks most of Rust's features. The documentation is coming soon. As for performance — it's pretty bad. I'm missing virtually every code generation optimization you'd get from LLVM. But hey, it’s still faster than #Python. #Rust https://lnkd.in/gnN5hdWm
Designing a Simple Compiled Programming Language from Scratch
More Relevant Posts
-
𝐆𝐔𝐈 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐢𝐧𝐠 - 𝐓𝐡𝐞𝐨𝐫𝐲 Understanding GUI (Graphical User Interface) is essential for building modern, user-friendly applications. In this presentation, I’ve covered the core theoretical concepts behind GUI programming in a simple and structured way. What is GUI GUI vs CLI Core GUI components Event-driven programming Popular Python GUI frameworks This foundation helps developers design applications that are intuitive, interactive, and visually appealing. If you find this useful, feel free to like 👍, share 🔁, and connect with me for more content on Python and Full Stack Development. #Python #GUI #Programming #Tkinter #FullStack #Learning
To view or add a comment, sign in
-
I took the Binomial Distribution applet from the University of Iowa (https://lnkd.in/dcf9GA9S) and gave it a 2026 makeover (My web app link: https://lnkd.in/dNaB9M3f). ✅ Fully interactive ✅ Color-coded for skewness logic ✅ Built with pure Python Simple, sleek, and functional. Full documentation is live on my GitHub. Stay tuned for more AI and Data projects! 🛠️ #MachineLearning #Python #SoftwareEngineering #DataAnalytics #GitHub #WebDev #Stats #CodingCommunity #Programmer #TechTrends
To view or add a comment, sign in
-
Quant problems, financial modeling, and behavioral finance remain central to my work, but Python in Arch Linux has become a critical execution layer in the stack. It has materially strengthened how I search, test, and automate research around signals, sentiment, framing, and misdirection. #MVBPRO #BlumeyerInvestmentPartners #BehavioralFinance #Python
To view or add a comment, sign in
-
Day 4 of my 100 Days of Code challenge! 💻 Today I built a Rock Paper Scissors game in Python where the user plays against the computer. The program allows the user to choose between rock, paper, or scissors, while the computer randomly generates its choice. It then compares both and determines the winner. This project helped me practice working with lists, the random module, and building game logic using conditional statements. I’m starting to see how combining small concepts can turn into actual interactive programs, which has been really motivating. Learning in public and documenting my journey into software engineering. Check out the project here: https://lnkd.in/eNQhQkz3 #100DaysOfCode #Python #SoftwareEngineering #LearningInPublic #CodingJourney
To view or add a comment, sign in
-
The OOP vs. FP debate is fundamentally an illusion. Let me explain why. 🧵👇 As software engineers, we spend countless hours arguing about paradigms: Object-Oriented Programming, Functional Programming, Procedural. We debate inheritance, encapsulation, monads, and pure functions. But here is a fundamental truth of computer science: Paradigms are just UI for the human brain. They don’t actually exist. If you look at code through the eyes of a compiler, the "OOP suit" is immediately stripped away. A class method? It’s just a procedural function with a hidden this pointer. Encapsulation? It vanishes. The objective reality of any codebase—whether written in TypeScript, Python, or Haskell—is simply an Abstract Semantic Graph (Data Flow, Control Flow, and State Mutations). At the mathematical level, there is no OOP or FP. There are only data and transformations. #SoftwareEngineering #Compilers #TypeScript #Architecture #FunctionalProgramming #OOP #TechTalk
To view or add a comment, sign in
-
-
For the past few days I’ve been deep into #LangChain and solving #LeetCode problems. Today I took a small break and built something very serious and revolutionary: THE Python CaRd GaMe. 🃏 You press ENTER. You draw a card. The computer draws a card. Higher card wins the round. First to 3 points wins the game. That’s it. Somewhere between random.shuffle() and losing a round to the computer, I had a small reminder: Not every line of code has to change the world. Sometimes it's just about enjoying the process of building. Programming is still fun when you stop overthinking it and just build small things. Not every project needs 10 frameworks, a database, and a microservice architecture. Sometimes you just need Python, random.shuffle(), and a little bit of free time. 🐍🃏 #Python #Programming #SoftwareDevelopment #LangChain #LeetCode #BuildInPublic
To view or add a comment, sign in
-
🚀 Rock, Paper, Scissors Game in Python I built a simple Rock, Paper, Scissors game using Python to practice modular programming and function-based design. In this project, the program is divided into three main functions: 🔹 get_user_choice() – Takes the player's input. 🔹 get_computer_choice() – Generates a random choice for the computer using the random module. 🔹 determine_winner() – Compares both choices and decides the winner. ✨ This small project helped me understand: Function-based program structure Using Python's random module Basic game logic implementation Clean and readable code design Simple projects like this are a great way to strengthen programming fundamentals and logical thinking. 💬 What feature would you add next? Maybe score tracking or a GUI version? #Python #PythonProgramming #Coding #BeginnerProjects #RockPaperScissors #LearnToCode #Developers #AitmadPyDeveloper
To view or add a comment, sign in
-
-
* Day 14: Abstraction in Python Continuing my OOP journey, today I explored Abstraction one of the core pillars of Object-Oriented Programming. * Abstraction helps us hide complex implementation details and focus only on essential functionalities. It makes our code more secure, scalable, and easier to maintain. * Real-world systems like ATM machines are great examples we use them without knowing their internal working. * Key Takeaways: - Focus on "what" instead of "how" - Use Abstract Classes and Methods - Improves code structure and readability Consistency is the key learning something new every day #Python #OOP #Abstraction #CodingJourney #Day14 #LearningInPublic
To view or add a comment, sign in
-
Minimum K Bit Flips Find the minimum flips of a subarray of size k required to convert a binary array into all 1s. Each flip toggles all bits in the chosen window. A greedy left-to-right traversal is used. Whenever the current effective bit becomes 0, start a flip at that index. If a window of size k cannot be formed, return -1. #geekstreak60 #npci #python #datastructures #algorithms #codingchallenge #problemSolving #programming #tech #leetcode #geeksforgeeks
To view or add a comment, sign in
-
-
One of the interesting things that AI coding has enabled, is that programming language choice is largely irrelevant. Spiderweb's protocol written in Zig, now has Typescript, Python and Go with Rust coming by tomorrow. PiAi is a zig version of the typescript PiMono AI module #Ai
To view or add a comment, sign in
More from this author
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Ironically, I’ve also recently started a very similar project. Cool!