User Tools

Site Tools


introduction_to_frc_programming

This is an old revision of the document!


View page as slide show

Introduction to FRC Programming

Java

What is Java?

  • Released by Sun Microsystems in 1995
  • High-Level, Class-Based, Object Oriented programming language
  • Code runs in a Virtual Machine
    • Java is compiled to ByteCode
    • Virtual machine converts ByteCode at runtime
  • Syntax is based off of C/C++
  • Strongly and Statically Typed

Why do we use Java?

  • Managed Language
    • Memory usage is tracked by Virtual Machine
    • Memory that is no longer used is freed by the Garbage Collector
    • Eliminates some common, and hard to debug, issues that can arise in code
  • Very Well Supported Language
    • Java is one of the most commonly used languages in the world
    • Java is the most commonly used language in FRC
    • Java is commonly taught in schools (including Birmingham)
introduction_to_frc_programming.1775671491.txt.gz · Last modified: by ztif33