Programming in XC
From XCore Exchange
XC is a C like language developed by XMOS that has a feature set to allow easy access to many of the XMOS architecture's novel aspects.
As part of this feature set XC has syntax for the direct use of channels, ports, timers without the need for calling complex (and ugly!) API functions.
XC is designed to be a 'safe' language to help the developer avoid many of the potential pitfalls associated with more 'less safe' languages such as C. Some of the safeguards include automatic array bounds checking and not allowing the use of pointers or shared memory within XC.
For a user's first interaction with XC XMOS recommends the tutorials that are part of the XMOS development environment (XDE) and for a more comprehensive look at the XC language XMOS have published Programming XC on XMOS Devices which is available for free download [1] or for purchase as a printed book [2].
