Learning the Rust Programming Language

Object-Oriented Programming (OOP) is a way of modeling programs. The concept of an object originated from the Simula programming language in the 1960s. These objects influenced Alan Kay’s programming architecture, where objects communicate by passing messages to each other. He coined the term “object-oriented programming” in 1967. There are many conflicting definitions of what OOP … Read more

Is the Learning Curve of Rust Steep? A Deep Dive into the Productivity Dilemma of the Borrow Checker

Introduction As one of the most talked-about system programming languages in recent years, Rust has attracted many developers with its promise of “memory safety without garbage collection.” However, in practical engineering, especially when building modern web services, APIs, and cloud-native systems, the complexity tax of Rust has become a real issue that many teams must … Read more

The Ongoing Turmoil Within the Rust Community

↓Recommended Follow↓ Source: OSC Open Source Community (ID: oschina2013) Rust is a programming language developed by Mozilla, primarily aimed at providing a safe, concurrent, and efficient programming experience. Rust’s strong typing and ownership system can prevent common programming errors such as memory leaks and data races. These features make Rust a very safe programming language, … Read more

Why Quantitative Trading is Shifting from Python to Rust Instead of C++

Previous ArticlesHow Quantitative Models Connect to Real Trading Interfaces The Truth About Free Level-2 (L2) Depth Data for Quantitative Trading The Only Free and Compliant Real Trading Quantitative Trading API in China – miniQMT Click the blue text · to follow us Focused on research in the quantitative trading industry, sharing trading technology and industry … Read more

Microsoft CTO Discusses Successes, Challenges, and Commitment to Rust Programming Language at Rust Nation UK

Author | Bruno CouriolTranslator | Ma KeweiEditor | Tina Microsoft Azure Chief Technology Officer Mark Russinovich recently delved into the key factors driving the adoption of the Rust programming language at the Rust Nation UK conference. He showcased the application results of Rust through real-world examples from Microsoft products and elaborated on how to leverage … Read more

A Comprehensive Guide to Debugging Rust Asynchronous Applications with GDB

Introduction to GDB The GNU Project Debugger (GDB) is a long-standing program written by Richard Stallman in 1986, supporting multiple languages including C/C++ and modern languages like Rust. GDB is a command-line application, but there are many graphical user interface front-ends and IDE integrations available. For this tutorial, we will use the command-line interface as … Read more

Developing AI Agents with Python (Part Four)

The previous article introduced how to define prompt templates within the Langchain framework. This article will introduce a tool in the LangChain ecosystem called LangServe. 1. What is LangServe? LangServe is a tool in the LangChain ecosystem designed to help developers quickly deploy chains, agents, or other runnable objects developed with LangChain as REST API … Read more

A Comprehensive Guide to Lambda Functions in Python

1. Basic Syntax Structure 1. Core Structure of Lambda Functions Basic Syntax: lambda [parameters]: expression Word-by-Word Breakdown: <span>lambda</span>: The keyword to declare an anonymous function <span>parameters</span>: Input parameters (0 to many) <span>:</span>: The symbol that separates parameters from the expression <span>expression</span>: A single-line expression (the return value of the function) Example 1: Basic Lambda Function … Read more

Implementing LLM from Bigram Model with 200 Lines of Python Code

Introduction The previous article “Implementing LLM from Scratch with 200 Lines of Python” created a “poetry generator” starting from a “probabilistic” implementation, ultimately using PyTorch to realize a classic Bigram model. In the Bigram model, each character is only related to the previous character. Despite this, our <span>babygpt_v1.py</span> also outputs sentences like “Gradually realizing the … Read more