Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>LLM CompilerNew to Visual Studio Code? Get it now.
LLM Compiler

LLM Compiler

Tinghao

|
1,612 installs
| (0) | Free
a compiler that compile your any python repo into simplest rust version, with config and tutorial
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

llm-compiler README

Welcome to the "llm-compiler" extension! This tool is designed to convert Python code into highly optimized Rust code, complete with configuration and tutorial generation. Below you'll find detailed information about the features, requirements, and how to get started with this powerful extension.

Features

  • Code Conversion: Automatically convert Python files in your project to Rust, ensuring the Rust code is optimized for performance.
  • Tutorial Generation: Generates markdown files with detailed explanations and configurations needed to run the newly created Rust code.
  • Seamless Integration: Works within your VS Code environment, utilizing the power of OpenAI's models to ensure accurate and efficient code translation.

Requirements

This extension requires Visual Studio Code 1.86.1 or newer. Ensure you have an active internet connection to access OpenAI's API for code conversion.

Extension Settings

This extension contributes to the following settings in VS Code:

  • llm-compiler.enable: Enable or disable this extension.
  • llm-compiler.apiKey: Set your OpenAI API key here to use the conversion features.

Known Issues

No known issues at this time. Please report any issues you encounter on our GitHub issues page.

Release Notes

0.0.1

  • Initial release of llm-compiler.
  • Added feature to convert Python code to Rust.
  • Added feature to generate configuration and tutorial markdown files.

Following Extension Guidelines

We strive to adhere to the best practices as recommended in the Extension Guidelines.

Working with Markdown

You can edit this README directly within Visual Studio Code. Useful editor keyboard shortcuts include:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For More Information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy using llm-compiler!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft