FastScript .NET

Uma biblioteca multiplataforma para scripts c# complexos em ambientes sem geração de código (Native AOT, WASM, iOS).

v. 2025.2.2

Libraries for executing complex scripts provide the ability to dynamically generate and execute code, which can be useful in various scenarios such as developing plugins, creating user scripts, and so on.

Características e benefícios FastScript .NET

Integrability in Projects
Install the necessary package from the NuGet repository or download the package from our website and add the required libraries to your project. No additional modules or special extensions are needed.
Unique Development
The FastScript .NET interpreter does not use CodeDOM and Roslyn platforms. This allows the script library to work seamlessly in environments without code generation such as Native AOT, WASM, and iOS.
Wide Capabilities
Supports scripts that conform to the C# 1.0 specification (with some limitations and additions), including features such as creating classes, structs, events, delegates, etc.
Memory Savings
With each script compilation, FastScript .NET does not create separate DLL assemblies; instead, it stores information in a cache. This saves memory on your device.
Security
FastScript .NET allows you to restrict the use of unsafe APIs, such as file system or network operations. You can limit access to entire assemblies, namespaces, or individual types.
Compactness
The small size of the library (just 300 KB) makes it convenient to use even in resource-constrained projects without overloading the system.
Working in Constrained Environments

Working in Constrained Environments

FastScript .NET is built on the classic "lexer-parser-interpreter" model. It does not use compilation to machine code, allowing it to operate in environments where code generation is restricted (NativeAOT, iOS, WASM). Its performance is comparable to other solutions that use interpretation (such as Lua and JavaScript), although it is slower than compiled C# code.

FastScript .NET supports script execution on various platforms, including iOS. This ensures flexibility and allows the library to be used in a variety of projects without being limited to a single platform. Compatibility with different platforms enhances its applicability and improves development efficiency.

C# as a Scripting Language

C# as a Scripting Language

FastScript .NET has full integration with the .NET platform and allows the use of all libraries, frameworks, and APIs. A unified code base in C# for scripts eliminates the need to maintain code in multiple languages.

Our library helps optimize resource usage, such as memory and CPU time. This is particularly important for mobile applications and other projects operating under constrained resource conditions.

Replacing Popular Solutions

Replacing Popular Solutions

The main tools for scripting in C# are CodeDOM (.NET Framework) and Roslyn (.NET). These solutions offer high performance and support all features of C#, but they have some limitations: they do not work in environments where code generation is prohibited, and there are no tools to restrict unsafe APIs.

FastScript .NET is designed specifically for those who want to bypass these limitations. During execution, our library does not create assemblies that remain in memory until the application terminates. Instead, it allocates structures in memory for the script, which are cleaned up by the garbage collector (GC) after the script instance is no longer in use.

This library is not sold separately, but is included in any version of the .NET report generators. Add to it a cross-platform tool for Avalonia reports, web reporting, FastReport .NET WinForms, WPF, Mono or the most complete of the product sets is FastReport .NET Ultimate.

In addition, in Ultimate .NET includes components for data visualization, namely a business graph with a set of diagrams, and OLAP products for fast processing of large amounts of data.

Artigos reenviados

Fast Reports
  • 800-985-8986 (English, US)
  • +31 97 01025-8466 (English, EU)
  • +49 30 56837-3928 (German, DE)
  • +55 19 98147-8148 (Portuguese, BR)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2025 Fast Reports Inc.