XMOS community, aka XMOS community, is an actively used programming language created in 2005. In computers, XC is a programming language for real-time embedded parallel processors, targeted at the XMOS XCore processor architecture.XC is an imperative language, based on the features for parallelism and communication in occam, and the syntax and sequential features of C. It provides primitive features that correspond to the various architectural resources provided, namely: channel ends, locks, ports and timers. In combination with XCore processors, XC is used to build embedded systems with levels of I/O, real-time performance and computational ability usually attributed to field-programmable gate arrays (FPGAs) or application-specific integrated circuit (ASIC) devices.. Read more on Wikipedia...

15Years Old 20Users ?Jobs
  • XMOS community ranks in the top 25% of languages
  • the XMOS community wikipedia page
  • XMOS community first appeared in 2005
  • file extensions for XMOS community include xc
  • See also: c, occam
  • Have a question about XMOS community not answered here? Email me and let me know how I can help.

Example code from Linguist:

int main()
{
  int x;
  chan c;
  par {
    c <: 0;
    c :> x;
  }
  return x;
}

Example code from Wikipedia:

#include <stdio.h>
#include <platform.h>

void hello(int id, chanend cin, chanend cout){
  if (id > 0) cin :> int;
  printf("Hello from core %d!", id);
  if (id < 3) cout <: 1;
}

int main(void) {
  chan c[3];
  par (int i=0; i<4; i++)
    on tile[i] : hello(i, c[i], c[(i+1)%4]);
  return 0;
}

Trending Repos

repo stars description

Last updated February 18th, 2020

Edit XMOS community on GitHub