Scar Logo

Scar

Modern systems programming language that abstracts complex concurrency whilst maintaining power and performance.

Designed to make systems programming accessible without sacrificing performance.

Built-in Concurrency

Express parallel operations naturally with parallel blocks and automatic thread management.

Simple Syntax

Clean, readable syntax that doesn't get in your way. Focus on solving problems, not fighting the language.

Memory Safe

Built-in memory safety features prevent common bugs while maintaining systems-level performance.

High Performance

Compile to efficient native code with zero-cost abstractions and predictable performance characteristics.

Type Inference

Smart type inference reduces boilerplate while maintaining type safety and IDE support.

C Interop

Seamlessly integrate with existing C libraries and systems through raw code blocks and FFI.

Examples

Parallel Processing

# Process data in parallel automatically
parallel for i = 1 to 1000:
    result = heavy_computation(i)
    store_result(result)

print "All processing complete."
                    

Clean Classes

class WebServer:
    init(int port):
        this.port = port
        this.start_server()
    
    fn handle_request() -> string:
        return "Hello, World!"

var server = new WebServer(8080)
                    

Type Inference

# Types inferred automatically
var numbers = [1, 2, 3, 4, 5]
var message = "Hello, Scar!"
var pi = 3.14159

for num in numbers:
    print "Number: %d" | num