LogoLogo
  • Overview
    • Intro
    • Fair Math Actor
      • Fair Math Controller
      • Fair Math VM
      • Setup an Actor
    • Hello (CIFAR) world!
  • FHE Computer
    • Overview
    • Architectural Layers
      • Application Layer
      • Orchestration Layer
      • Verification Layer
      • Execution Layer
      • Data Layer
    • ISA
      • fhe
      • arith
      • tensor
      • polycircuit
    • Operating System
      • Computer State
      • Application
        • Running Applications
        • External Functions
        • Interactive APPS
      • Execution Graph and Tasks
        • Atomic and Composite Instructions
        • Instruction Unrolling
        • Task Dependencies
        • Execution Graph
      • Process
        • Process lifecycle
        • Resource Allocation and Isolation
      • Order Book
        • Matching Mechanism
        • Task Complexity
        • Instruction Complexity
        • Task re-Delegation
      • Context
        • Context Structure
      • FHE Component Repository
    • Fair Math Actors
      • Task State Monitoring
      • Execution Pairs
      • Rewards and Penalties
    • Ethereum Endpoint
    • CIFAR10 App
  • Whitepapers
    • FHE Computer
    • FHERMA
  • FHERMA
  • Resources
    • Computer CLI
    • FHERMA
    • POLYCIRCUIT (CPP)
    • OpenFHE-rs
    • Talks and Podcasts
  • Social
    • Twitter
    • Linkedin
    • Website
    • Github
Powered by GitBook
LogoLogo
On this page
  1. FHE Computer
  2. Operating System

Application

An application in the Fair Math Computer consists of two main components:

  1. External Functions — These are functions that take input and return output. Each function performs a specific sequence of instructions and serves as an entry point to the application. Importantly, these functions cannot directly call other functions within the same application.

  2. Global Variables — These are variables available throughout the application's execution. They can have various types, such as integers, arrays, or ciphertexts.

By default, the application starts with the main function unless another function is explicitly specified. The main function acts as the primary entry point.

When an application is launched, a process is created. This process remains active until the application explicitly calls the exit function (or is terminated by the operating system). The process manages the application’s state, resources, and execution flow throughout its lifecycle.

PreviousComputer StateNextRunning Applications

Last updated 5 months ago

Page cover image