Skip to main content

Posts

Showing posts from April, 2025

How to install and code in Linea 2?

 Understanding the architecture of Linea 2 The Linea 2 has updated and revamped codebase, the old Linea 1.x was a single file interpreter, however the problem was that because it was single-file interpreter, it was large (around 75 MB), which took a lot of time to load, so I thought to split the core functions of Linea to a library/module called ` liblinea `. Initially in Linea 2 v2.0, the library was only limited to basic core functionalities, however in it's second update, v2.1.0, I added two more sub-libraries, ` liblinea_math ` and ` liblinea_weblet ` (initially, ` liblinea.math` and ` liblinea.weblet` ). The separation of main interpreter and it's standard library improved loading time by 7 seconds (1.x took around 16 seconds to load, while 2.x takes 9 seconds approx.*). I'm trying hard to make it even more faster to load. Architecture in Linea 1.x Linea (Interpreter with libraries linked) + Source Code (<file>.ln) --> 16 seconds (Load) + Output Architecture ...

Introducing Linea 2: Redefining Simplicity and Performance in Programming

As developers, we constantly strive to push boundaries and innovate. Today, I am thrilled to announce the release of Linea 2—the culmination of dedication, creativity, and a vision for a language that simplifies programming while enhancing efficiency. Linea 2, codenamed "Coconut," is a significant milestone in our journey. Building on the foundation of its predecessor, Linea 1.x, this version represents a complete revamp of the codebase, introducing powerful features and a refined syntax designed to cater to both beginners and experienced developers. Key Highlights of Linea 2 - Performance Boost : The codebase has undergone a full overhaul, ensuring optimized performance and improved maintainability. With Linea 2, coding is faster and more responsive than ever. - Enhanced Libraries:  The inclusion of math and weblet libraries in the core package empowers users to seamlessly integrate complex calculations and web functionalities into their projects. - Refined Syntax:  The new ...